Package org.eclipse.sisu.wire
Class EntrySetAdapter<V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<V>
-
- org.eclipse.sisu.wire.EntrySetAdapter<V>
-
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,Set<V>
public final class EntrySetAdapter<V> extends AbstractSet<V>
-
-
Constructor Summary
Constructors Constructor Description EntrySetAdapter(Iterable<? extends Map.Entry<?,V>> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
Iterator<V>
iterator()
int
size()
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, remove, retainAll, toArray, toArray, 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
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection<V>
- Specified by:
isEmpty
in interfaceSet<V>
- Overrides:
isEmpty
in classAbstractCollection<V>
-
size
public int size()
- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in interfaceSet<V>
- Specified by:
size
in classAbstractCollection<V>
-
-