Package org.eclipse.sisu.wire
Class EntryListAdapter<V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<V>
-
- org.eclipse.sisu.wire.EntryListAdapter<V>
-
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,List<V>
public final class EntryListAdapter<V> extends AbstractSequentialList<V>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description EntryListAdapter(Iterable<? extends Map.Entry<?,V>> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
Iterator<V>
iterator()
ListIterator<V>
listIterator(int index)
int
size()
-
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, 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
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
listIterator
public ListIterator<V> listIterator(int index)
- Specified by:
listIterator
in interfaceList<V>
- Specified by:
listIterator
in classAbstractSequentialList<V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection<V>
- Specified by:
isEmpty
in interfaceList<V>
- Overrides:
isEmpty
in classAbstractCollection<V>
-
size
public int size()
- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in interfaceList<V>
- Specified by:
size
in classAbstractCollection<V>
-
-