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
ConstructorsModifierConstructorDescriptionprivate
CartesianSet
(ImmutableList<ImmutableSet<E>> axes, CartesianList<E> delegate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected Collection
<List<E>> delegate()
Returns the backing delegate instance that methods are forwarded to.boolean
int
hashCode()
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, toArray
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:ForwardingObject
Returns 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:
delegate
in classForwardingCollection<List<E>>
-
contains
- Specified by:
contains
in interfaceCollection<E>
- Specified by:
contains
in interfaceSet<E>
- Overrides:
contains
in classForwardingCollection<List<E>>
-
equals
-
hashCode
public int hashCode()
-