Code example for LinkedHashSet

Methods: contains

0
    public final LinkedHashSet<Uri> getFeedsWithPresence() {
        return mActiveFeeds;
    } 
 
    public boolean isPresent(Uri feedUri) {
        return mActiveFeeds.contains(feedUri);
    } 
 
    @Override 
    public String toString() {
        return getName(); 
    } 
 
    public boolean isActive() { 
        return true; 
    } 
}