public abstract static class Networks.TypeSafeNodeFunction<NodeT,T extends NodeT>
extends java.lang.Object
implements java.util.function.Function<NodeT,NodeT>
Applies typedApply(T)
to all instances of type
. Otherwise returns the existing
Node
unmodified.
Constructor and Description |
---|
TypeSafeNodeFunction(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
NodeT |
apply(NodeT input) |
abstract NodeT |
typedApply(T input) |