Package com.google.common.collect
Class Sets.SubSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- com.google.common.collect.Sets.SubSet<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
- Enclosing class:
- Sets
private static final class Sets.SubSet<E> extends java.util.AbstractSet<E>
-
-
Field Summary
Fields Modifier and Type Field Description private ImmutableMap<E,java.lang.Integer>
inputSet
private int
mask
-
Constructor Summary
Constructors Constructor Description SubSet(ImmutableMap<E,java.lang.Integer> inputSet, int mask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(java.lang.Object o)
java.util.Iterator<E>
iterator()
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
inputSet
private final ImmutableMap<E,java.lang.Integer> inputSet
-
mask
private final int mask
-
-
Constructor Detail
-
SubSet
SubSet(ImmutableMap<E,java.lang.Integer> inputSet, int mask)
-
-
Method Detail
-
iterator
public java.util.Iterator<E> iterator()
-
size
public int size()
-
-