| Modifier and Type | Field and Description |
|---|---|
private Map<String,Field> |
fieldsByName |
| Modifier | Constructor and Description |
|---|---|
private |
Set() |
private |
Set(Collection<Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
Field[] |
asArray()
Get the fields in this set as an array.
|
Field |
fieldWithName(String name)
Get the field with the given {Field#name() name}.
|
void |
forEachMissingDependent(Consumer<String> consumer)
Call the supplied function for each of this set's fields that have non-existent dependents.
|
void |
forEachTopLevelField(Consumer<Field> consumer)
Call the supplied function for each of this set's fields that are not included as dependents in other
fields.
|
Iterator<Field> |
iterator() |
Field.Set |
with(Field... fields)
Get a new set that contains the fields in this set and those supplied.
|
Field.Set |
with(Iterable<Field> fields)
Get a new set that contains the fields in this set and those supplied.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprivate Set()
private Set(Collection<Field> fields)
public Field fieldWithName(String name)
name - the name of the fieldnull if there is no field with the given namepublic Field[] asArray()
public void forEachMissingDependent(Consumer<String> consumer)
consumer - the function; may not be nullpublic void forEachTopLevelField(Consumer<Field> consumer)
consumer - the function; may not be nullpublic Field.Set with(Field... fields)
fields - the fields to include with this set's fieldsCopyright © 2020 JBoss by Red Hat. All rights reserved.