Package com.google.common.collect
Class Sets.CartesianSet<E>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<List<E>>
com.google.common.collect.Sets.CartesianSet<E>
- Enclosing class:
- Sets
private static final class Sets.CartesianSet<E>
extends ForwardingCollection<List<E>>
implements Set<List<E>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ImmutableList<ImmutableSet<E>>private final CartesianList<E> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCartesianSet(ImmutableList<ImmutableSet<E>> axes, CartesianList<E> delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected Collection<List<E>>delegate()Returns the backing delegate instance that methods are forwarded to.booleaninthashCode()Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArrayMethods inherited from class com.google.common.collect.ForwardingObject
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
-
axes
-
delegate
-
-
Constructor Details
-
CartesianSet
-
-
Method Details
-
create
-
delegate
Description copied from class:ForwardingObjectReturns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.- Specified by:
delegatein classForwardingCollection<List<E>>
-
contains
- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceSet<E>- Overrides:
containsin classForwardingCollection<List<E>>
-
equals
-
hashCode
public int hashCode()
-