Package gw.util.perf.objectsize
Class UnmodifiableSizeTwoSet<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
gw.util.perf.objectsize.UnmodifiableSizeTwoSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
UnmodifiableSizeTwoSet
-
-
Method Details
-
iterator
-
contains
- Specified by:
containsin interfaceCollection<T>- Specified by:
containsin interfaceSet<T>- Overrides:
containsin classAbstractCollection<T>
-
size
public final int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceSet<T>- Specified by:
sizein classAbstractCollection<T>
-