public class MappingObservableList<T,S> extends TransformationList<T,S>
modCount| Constructor and Description |
|---|
MappingObservableList(ObservableList<? extends S> source,
Function<S,T> mapper) |
MappingObservableList(ObservableList<? extends S> source,
ObservableValue<Function<S,T>> mapper) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index) |
int |
getSourceIndex(int index) |
protected Function<S,T> |
resolveMapper() |
int |
size() |
protected void |
sourceChanged(ListChangeListener.Change<? extends S> c) |
getSource, getSourceIndexFor, isInTransformationChainaddAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll, setAlladd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, addListener, filtered, remove, removeAll, removeListener, retainAll, setAll, setAll, sorted, sortedadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamaddListener, removeListenerpublic MappingObservableList(@Nonnull ObservableList<? extends S> source, @Nonnull Function<S,T> mapper)
public MappingObservableList(@Nonnull ObservableList<? extends S> source, @Nonnull ObservableValue<Function<S,T>> mapper)
public int getSourceIndex(int index)
getSourceIndex in class TransformationList<T,S>public T get(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>protected void sourceChanged(ListChangeListener.Change<? extends S> c)
sourceChanged in class TransformationList<T,S>