public class AllTop<V> extends java.lang.Object implements EdgeFunction<V>
| Modifier and Type | Method and Description |
|---|---|
EdgeFunction<V> |
composeWith(EdgeFunction<V> secondFunction)
Composes this function with the secondFunction, effectively returning
a summary function that maps sources to targets exactly as if
first this function had been applied and then the secondFunction.
|
V |
computeTarget(V source)
Computes the value resulting from applying this function to source.
|
boolean |
equalTo(EdgeFunction<V> other)
Returns true is this function represents exactly the same
source to target mapping as other.
|
EdgeFunction<V> |
joinWith(EdgeFunction<V> otherFunction)
Returns a function that represents that (element-wise) join
of this function with otherFunction.
|
java.lang.String |
toString() |
public AllTop(V topElement)
public V computeTarget(V source)
EdgeFunctioncomputeTarget in interface EdgeFunction<V>public EdgeFunction<V> composeWith(EdgeFunction<V> secondFunction)
EdgeFunctioncomposeWith in interface EdgeFunction<V>public EdgeFunction<V> joinWith(EdgeFunction<V> otherFunction)
EdgeFunctionjoinWith in interface EdgeFunction<V>JoinLattice.join(Object, Object)public boolean equalTo(EdgeFunction<V> other)
EdgeFunctionequalTo in interface EdgeFunction<V>public java.lang.String toString()
toString in class java.lang.Object