org.apache.commons.classscan.util
Class NameSet<V extends HasName & HasResolve>
java.lang.Object
org.apache.commons.classscan.util.ReadOnlySet<V>
org.apache.commons.classscan.util.ResolveSet<V>
org.apache.commons.classscan.util.NameSet<V>
- All Implemented Interfaces:
- Iterable<V>, Collection<V>, Set<V>
- Direct Known Subclasses:
- AnnotationMap
public class NameSet<V extends HasName & HasResolve>
- extends ResolveSet<V>
Methods inherited from class org.apache.commons.classscan.util.ReadOnlySet |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, setValues, size, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameSet
public NameSet(V[] values)
NameSet
public NameSet(Class<V> clss,
Collection<? extends V> workValues)
getValue
public V getValue(String name)
emptyNameSet
public static <V extends HasName & HasResolve> NameSet<V> emptyNameSet()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.