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, readaddDependency, getValueImplcancelChange, invalidations, isChanging, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitinvalidateBack, set, setanonymize, decoupleValue, getValue, immutable, invalidations, over, overpublic 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
Expressions.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isFlat()
isFlat in interface DoubleBuffer<B,F>public java.lang.String toString()
toString in class java.lang.Object