org.jclouds.atmos.domain.internal
Class BoundedLinkedHashSet<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<T>
org.jclouds.atmos.domain.internal.BoundedLinkedHashSet<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>, BoundedSet<T>
public class BoundedLinkedHashSet<T>
- extends LinkedHashSet<T>
- implements BoundedSet<T>
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
token
protected final String token
BoundedLinkedHashSet
public BoundedLinkedHashSet(Iterable<T> contents,
@Nullable
String token)
getToken
@Nullable
public String getToken()
- Specified by:
getToken
in interface BoundedSet<T>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<T>
- Specified by:
hashCode
in interface Set<T>
- Overrides:
hashCode
in class AbstractSet<T>
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection<T>
- Specified by:
equals
in interface Set<T>
- Overrides:
equals
in class AbstractSet<T>
toString
public String toString()
- Overrides:
toString
in class AbstractCollection<T>
Copyright © 2009-2011 jclouds. All Rights Reserved.