Package gw.util.perf.objectsize
Class UnmodifiableSizeTwoSet<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
gw.util.perf.objectsize.UnmodifiableSizeTwoSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>
-
Field Summary
Fields -
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
-
Field Details
-
_o1
-
_o2
-
-
Constructor Details
-
UnmodifiableSizeTwoSet
-
-
Method Details
-
iterator
-
contains
- Specified by:
containsin interfaceCollection<T>- Specified by:
containsin interfaceSet<T>- Overrides:
containsin classAbstractCollection<T>
-
eq
-
size
public final int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceSet<T>- Specified by:
sizein classAbstractCollection<T>
-