Serializable, Cloneable, Iterable<FieldInfo>, Collection<FieldInfo>, List<FieldInfo>, RandomAccesspublic class FieldInfoList extends ArrayList<FieldInfo>
FieldInfo objects.| Modifier and Type | Class | Description |
|---|---|---|
static interface |
FieldInfoList.FieldInfoFilter |
Filter an
FieldInfoList using a predicate mapping an FieldInfo object to a boolean, producing
another FieldInfoList for all items in the list for which the predicate is true. |
modCount| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsName(String fieldName) |
|
FieldInfoList |
filter(FieldInfoList.FieldInfoFilter filter) |
Find the subset of the
FieldInfo objects in this list for which the given filter predicate is true. |
FieldInfo |
get(String fieldName) |
|
List<String> |
getAsStrings() |
|
List<String> |
getNames() |
containsAll, toStringequals, hashCodeadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeparallelStream, streamcontainsAll, equals, hashCodepublic List<String> getNames()
FieldInfo.getName() for each item in the
list.public List<String> getAsStrings()
FieldInfo.toString() for each item in the list.public boolean containsName(String fieldName)
fieldName - The name of a field.public FieldInfo get(String fieldName)
fieldName - The name of a field.FieldInfo object in the list with the given name, or null if not found.public FieldInfoList filter(FieldInfoList.FieldInfoFilter filter)
FieldInfo objects in this list for which the given filter predicate is true.filter - The FieldInfoList.FieldInfoFilter to apply.FieldInfo objects in this list for which the given filter predicate is
true.Copyright © 2018. All rights reserved.