Top Fields Constructors Methods
org.reactfx.collection

pack-priv Class ValAsList<T>

extends LiveListBase<T>
implements UnmodifiableByDefaultLiveList<T>
Class Inheritance
All Implemented Interfaces
org.reactfx.collection.UnmodifiableByDefaultLiveList, org.reactfx.collection.UnmodifiableByDefaultList, org.reactfx.collection.AccessorListMethods, java.util.List, java.util.SequencedCollection, java.util.Collection, java.lang.Iterable, javafx.collections.ObservableList, javafx.beans.Observable
Imports
javafx.beans.value.ObservableValue, org.reactfx.Subscription, org.reactfx.util.Lists, org.reactfx.value.Val

Field Summary

Modifier and TypeField and Description
private final ObservableValue<T>

Constructor Summary

AccessConstructor and Description
pack-priv
ValAsList(ObservableValue<T> underlying)

Method Summary

Modifier and TypeMethod and Description
public T
get(int index)

Implements java.util.List.get.

Returns the element at the specified position in this list.

protected Subscription
observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any.

public int
size()

Implements java.util.List.size.

Returns the number of elements in this list.

Field Detail

underlyingback to summary
private final ObservableValue<T> underlying

Constructor Detail

ValAsListback to summary
pack-priv ValAsList(ObservableValue<T> underlying)

Method Detail

getback to summary
public T get(int index)

Implements java.util.List.get.

Doc from java.util.List.get.

Returns the element at the specified position in this list.

Annotations
@Override
observeInputsback to summary
protected Subscription observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Doc from org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called before newObserver(Object) is called for the first observer.

Annotations
@Override
sizeback to summary
public int size()

Implements java.util.List.size.

Doc from java.util.List.size.

Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

Annotations
@Override