public class BoundedLinkedHashSet<T> extends LinkedHashSet<T> implements BoundedSet<T>
Constructor and Description |
---|
BoundedLinkedHashSet(Iterable<T> contents,
String token) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getToken() |
int |
hashCode() |
String |
toString() |
add, clear, clone, contains, isEmpty, iterator, remove, size
removeAll
addAll, containsAll, retainAll, toArray, toArray
protected final String token
@Nullable public String getToken()
getToken
in interface BoundedSet<T>
public int hashCode()
hashCode
in interface Collection<T>
hashCode
in interface Set<T>
hashCode
in class AbstractSet<T>
public boolean equals(Object obj)
equals
in interface Collection<T>
equals
in interface Set<T>
equals
in class AbstractSet<T>
public String toString()
toString
in class AbstractCollection<T>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.