|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.module.spi.ExportList<T>
public class ExportList<T extends Export>
A list of Export instances that can be retrieved using an ExportMatcher or
by name and scope.
| Constructor Summary | |
|---|---|
ExportList(java.util.List<T> exports)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.List<T> |
asList()
Returns the exports as a List. |
boolean |
contains(ExportMatcher matcher)
Returns true if this list has an entry that matches
the specified matcher. |
T |
get(ExportMatcher matcher)
Returns the first entry that matches the specified matcher or null if none. |
T |
get(ScopedName.Scope scope,
java.lang.String name)
Returns the first entry that matches the specified scope and name or null if none. |
java.util.List<T> |
getAll(ExportMatcher matcher)
Returns all entries that match the specified matcher. |
boolean |
isEmpty()
Returns true if this list has no entries. |
int |
size()
Returns the number of entries in this list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportList(java.util.List<T> exports)
exports - The list of exports.| Method Detail |
|---|
public int size()
public boolean isEmpty()
true if this list has no entries.
true if this list has no entries.public boolean contains(ExportMatcher matcher)
true if this list has an entry that matches
the specified matcher.
matcher - The matcher.
true if this list has an entry that matches
the specified matcher.public T get(ExportMatcher matcher)
null if none.
matcher - The matcher.
null if none.public java.util.List<T> getAll(ExportMatcher matcher)
matcher - The matcher.
public T get(ScopedName.Scope scope,
java.lang.String name)
null if none.
scope - The scope.name - The name
null if none.public java.util.List<T> asList()
List.
|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||