public class DuplicateChannelNameCounter extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Hashtable<String,Integer> |
mChannelCountryNames |
(package private) Hashtable<String,Integer> |
mChannelNames |
Constructor and Description |
---|
DuplicateChannelNameCounter(Channel[] channels)
Construct the Counter
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDuplicate(Channel channel)
Check if a channel is a duplicate
|
boolean |
isDuplicateIncludingCountry(Channel channel)
Check if a channel is a duplicate, including the country name
|
public DuplicateChannelNameCounter(Channel[] channels)
channels
- use channels in this Listpublic boolean isDuplicate(Channel channel)
channel
- Channel to checkpublic boolean isDuplicateIncludingCountry(Channel channel)
channel
- Channel to checkTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)