org.sonatype.guice.bean.locators
Class EntrySetAdapter<K,V>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<V>
org.sonatype.guice.bean.locators.EntrySetAdapter<K,V>
- All Implemented Interfaces:
- Iterable<V>, Collection<V>, Set<V>
public final class EntrySetAdapter<K,V>
- extends AbstractSet<V>
Set
backed by an Iterable
sequence of map entries.
EntrySetAdapter
public EntrySetAdapter(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 Set<V>
- Specified by:
iterator
in class AbstractCollection<V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<V>
- Specified by:
isEmpty
in interface Set<V>
- Overrides:
isEmpty
in class AbstractCollection<V>
size
public int size()
- Specified by:
size
in interface Collection<V>
- Specified by:
size
in interface Set<V>
- Specified by:
size
in class AbstractCollection<V>
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.