org.sonatype.guice.bean.locators
Class EntryListAdapter<K,V>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<V>
org.sonatype.guice.bean.locators.EntryListAdapter<K,V>
- All Implemented Interfaces:
- Iterable<V>, Collection<V>, List<V>
public final class EntryListAdapter<K,V>
- extends AbstractSequentialList<V>
List backed by an Iterable sequence of map entries.
EntryListAdapter
public EntryListAdapter(Iterable<? extends Map.Entry<K,V>> iterable)
iterator
public Iterator<V> iterator()
- Specified by:
iterator in interface Iterable<V>- Specified by:
iterator in interface Collection<V>- Specified by:
iterator in interface List<V>- Overrides:
iterator in class AbstractSequentialList<V>
listIterator
public ListIterator<V> listIterator(int index)
- Specified by:
listIterator in interface List<V>- Specified by:
listIterator in class AbstractSequentialList<V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection<V>- Specified by:
isEmpty in interface List<V>- Overrides:
isEmpty in class AbstractCollection<V>
size
public int size()
- Specified by:
size in interface Collection<V>- Specified by:
size in interface List<V>- Specified by:
size in class AbstractCollection<V>
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.