Class ObservableValueFromObservableCollection<T,U>

java.lang.Object
org.aksw.commons.collection.observable.ObservableValueFromObservableCollection<T,U>
Type Parameters:
T -
All Implemented Interfaces:
SingleValuedAccessor<T>, ObservableValue<T>

public class ObservableValueFromObservableCollection<T,U> extends Object implements ObservableValue<T>
Getter/setter view over an observable collection. If that collection has a single item then get() method returns it. Otherwise, if there are no or multiple items then the method returns null.
Author:
raven