Modifier and Type | Method and Description |
---|---|
FieldList |
add(Collection<String> fieldNames)
Appends all the fields in the specified collection to the end of this list.
|
FieldList |
add(String... fieldNames)
Appends all the specified fields to the end of this list.
|
FieldList |
clear()
Removes all the fields from this list.
|
FieldList |
clone()
Returns a new FieldList that is a copy of this FieldList.
|
boolean |
containedWithin(List<String> fieldNames)
Returns
true if the supplied fieldNames contains all the fields names in this list. |
boolean |
containedWithin(String... fieldNames)
Returns
true if the supplied fieldNames contains all the fields names in this list. |
boolean |
contains(List<String> fieldNames)
Returns
true if the supplied fieldNames all are existing in this list. |
boolean |
contains(String... fieldNames)
Returns
true if the supplied fieldNames all are existing in this list. |
boolean |
equals(Object o) |
void |
forEach(Consumer<? super String> consumer)
Performs the given action for each field in this record.
|
String |
get(int index) |
FieldPath |
getFieldPath(int index) |
List<String> |
getList() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
boolean |
isTabular()
Indicates if all the fields match against a flat record (i.e.
|
Iterator<String> |
iterator()
Returns an iterator over the fields in this list.
|
Stream<String> |
parallelStream()
Returns a parallel Stream of the fields in this list.
|
FieldList |
remove(FieldList fieldList)
Removes all the fields in the specified
fieldList from this list. |
FieldList |
remove(String... fieldNames)
Removes all the specified fields from this list.
|
int |
size() |
Stream<String> |
stream()
Returns a sequential Stream of the fields in this list.
|
String[] |
toArray() |
String |
toString() |
String |
toString(String fieldSeparator) |
String |
toString(String elementFormat,
String fieldSeparator) |
finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
public FieldList(String... fieldNames)
public FieldList clone()
public FieldList add(String... fieldNames)
public FieldList add(Collection<String> fieldNames)
public FieldList remove(String... fieldNames)
public FieldList remove(FieldList fieldList)
fieldList
from this list.public FieldList clear()
public boolean contains(String... fieldNames)
true
if the supplied fieldNames all are existing in this list.public boolean contains(List<String> fieldNames)
true
if the supplied fieldNames all are existing in this list.public boolean containedWithin(String... fieldNames)
true
if the supplied fieldNames contains all the fields names in this list.public boolean containedWithin(List<String> fieldNames)
true
if the supplied fieldNames contains all the fields names in this list.public boolean isEmpty()
public boolean isNotEmpty()
public int size()
public String get(int index)
public FieldPath getFieldPath(int index)
public String[] toArray()
public void forEach(Consumer<? super String> consumer)
public Stream<String> parallelStream()
public boolean isTabular()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.