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:
java.lang.Iterable<V>
,java.util.Collection<V>
,java.util.List<V>
public final class EntryListAdapter<V> extends java.util.AbstractSequentialList<V>
List
backed by anIterable
sequence of map entries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
EntryListAdapter.ValueIterator<V>
ValueIterator
backed by a Key:ValueIterator
.private static class
EntryListAdapter.ValueListIterator<V>
ValueListIterator
backed by a cached Key:ValueIterator
.
-
Constructor Summary
Constructors Constructor Description EntryListAdapter(java.lang.Iterable<? extends java.util.Map.Entry<?,V>> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
java.util.Iterator<V>
iterator()
java.util.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
-
-
-
-
Field Detail
-
iterable
private final java.lang.Iterable<? extends java.util.Map.Entry<?,V>> iterable
-
-
Constructor Detail
-
EntryListAdapter
public EntryListAdapter(java.lang.Iterable<? extends java.util.Map.Entry<?,V>> iterable)
-
-