public interface ObservableList<T> extends ObservableValue<T>, Iterable<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T a) |
List<T> |
findAll(Predicate<T> a) |
int[] |
findAllIndexes(Predicate<T> a) |
T |
findFirst(Predicate<T> a) |
T |
findFirst(Predicate<T> a,
int from) |
T |
findFirst(Predicate<T> a,
int from,
int to) |
int |
findFirstIndex(Predicate<T> a) |
int |
findFirstIndex(Predicate<T> a,
int from) |
int |
findFirstIndex(Predicate<T> a,
int from,
int to) |
default int |
findFirstIndexOf(T a) |
default T |
first() |
T |
get()
convenient method to return the first element or null
|
T |
get(int index) |
default T |
last() |
ObservableList<T> |
readOnly() |
int |
size() |
default Stream<T> |
stream() |
List<T> |
toList() |
bindConvert, bindTarget, doNonNull, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, propertyClass, unbind, withValueevents, getChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withforEach, iterator, spliteratorT get()
get in interface GetValueModel<T>get in interface ObservableValue<T>T get(int index)
int size()
boolean contains(T a)
default int findFirstIndexOf(T a)
ObservableList<T> readOnly()
readOnly in interface ObservableValue<T>readOnly in interface Propertydefault T last()
default T first()
Copyright © 2022 vpc open source initiative. All rights reserved.