T - The Type of the event.public class UnaryEvaluation<T> extends java.lang.Object implements CompositeEvent<T>
| Constructor and Description | 
|---|
UnaryEvaluation(T result,
               InstantEvent<T> operand)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object o)  | 
int | 
getCount()
Get the number of events that have been combined. 
 | 
InstantEvent<T> | 
getEvents(int index)
Get the event in the combination at the given index. 
 | 
T | 
getOf()
Get the underlying event or trigger. 
 | 
java.util.List<T> | 
getOfs()
Get all the ofs from all the events in this composite and
 it's children. 
 | 
InstantEvent<T> | 
getOperand()  | 
java.time.Instant | 
getTime()
Get the UTC time of the event. 
 | 
int | 
hashCode()  | 
java.util.stream.Stream<InstantEvent<? extends T>> | 
stream()
Return the combined events as a stream. 
 | 
java.lang.String | 
toString()  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitofofpublic UnaryEvaluation(T result, InstantEvent<T> operand)
public T getOf()
InstantEventgetOf in interface InstantEvent<T>public InstantEvent<T> getOperand()
public InstantEvent<T> getEvents(int index)
CompositeEventgetEvents in interface CompositeEvent<T>index - The index.public int getCount()
CompositeEventgetCount in interface CompositeEvent<T>public java.util.List<T> getOfs()
CompositeEventgetOfs in interface CompositeEvent<T>public java.util.stream.Stream<InstantEvent<? extends T>> stream()
CompositeEventstream in interface CompositeEvent<T>public java.time.Instant getTime()
InstantEventgetTime in interface InstantEvent<T>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object