public abstract class AbstractFunctionBuffer<B,F> extends LockingExpression<F> implements DoubleBuffer<B,F>
Constructor and Description |
---|
AbstractFunctionBuffer(AbstractFunctionBuffer<B,F> doubleBuffer) |
AbstractFunctionBuffer(B back,
java.util.function.Function<? super B,? extends F> function) |
AbstractFunctionBuffer(F front,
B back,
java.util.function.BiFunction<? super F,? super B,? extends F> operation) |
AbstractFunctionBuffer(F front,
B back,
java.util.function.Function<? super B,? extends F> function) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
protected F |
evaluate() |
B |
getBack() |
Expression<B> |
getBackExpression() |
F |
getFront() |
java.util.function.BiFunction<? super F,? super B,? extends F> |
getOperation() |
int |
hashCode() |
boolean |
isFlat() |
void |
push() |
B |
setBack(B back) |
F |
setFront(F front) |
java.lang.String |
toString() |
beginWrite, createObservable, endWrite, fireChange, getReadLock, getValue, getWriteLock, read
addDependency, getValueImpl
cancelChange, invalidations, isChanging, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
invalidateBack, set, set
anonymize, decoupleValue, getValue, immutable, invalidations, over, over
public AbstractFunctionBuffer(F front, B back, java.util.function.BiFunction<? super F,? super B,? extends F> operation)
public AbstractFunctionBuffer(F front, B back, java.util.function.Function<? super B,? extends F> function)
public AbstractFunctionBuffer(B back, java.util.function.Function<? super B,? extends F> function)
public AbstractFunctionBuffer(AbstractFunctionBuffer<B,F> doubleBuffer)
protected final F evaluate()
evaluate
in class DependentExpression<F>
Expression
as derived from the dependency
Expression
s.public Expression<B> getBackExpression()
getBackExpression
in interface DoubleBuffer<B,F>
public F getFront()
getFront
in interface DoubleBuffer<B,F>
public B getBack()
getBack
in interface DoubleBuffer<B,F>
public void push()
push
in interface DoubleBuffer<B,F>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isFlat()
isFlat
in interface DoubleBuffer<B,F>
public java.lang.String toString()
toString
in class java.lang.Object