Package org.tensorics.core.expressions
Class LatestOfExpression<T>
- java.lang.Object
-
- org.tensorics.core.tree.domain.AbstractDeferredExpression<T>
-
- org.tensorics.core.iterable.expressions.PickExpression<T>
-
- org.tensorics.core.expressions.LatestOfExpression<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
java.io.Serializable
,Expression<T>
,Node
public class LatestOfExpression<T> extends PickExpression<T>
Expression that given anExpression
ofList
of T, it gets the latest. Especially usefull for buffers.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.tensorics.core.iterable.expressions.PickExpression
PickExpression.Mode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
static <T> LatestOfExpression<T>
latestOf(Expression<? extends java.lang.Iterable<T>> source)
java.lang.String
toString()
-
Methods inherited from class org.tensorics.core.iterable.expressions.PickExpression
fromFirst, fromLast, getChildren, iterableExpression, mode, offset
-
Methods inherited from class org.tensorics.core.tree.domain.AbstractDeferredExpression
get, isResolved
-
-
-
-
Method Detail
-
latestOf
public static <T> LatestOfExpression<T> latestOf(Expression<? extends java.lang.Iterable<T>> source)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPickExpression<T>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classPickExpression<T>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classPickExpression<T>
-
-