Package org.onosproject.cluster
Class ControllerNodeToNodeId
- java.lang.Object
 - 
- org.onosproject.cluster.ControllerNodeToNodeId
 
 
- 
- All Implemented Interfaces:
 com.google.common.base.Function<ControllerNode,NodeId>,Function<ControllerNode,NodeId>
public final class ControllerNodeToNodeId extends Object implements com.google.common.base.Function<ControllerNode,NodeId>
Function to convert ControllerNode to NodeId. 
- 
- 
Constructor Summary
Constructors Constructor Description ControllerNodeToNodeId() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeIdapply(ControllerNode input)static ControllerNodeToNodeIdtoNodeId()Returns a Function to convert ControllerNode to NodeId. 
 - 
 
- 
- 
Method Detail
- 
apply
public NodeId apply(ControllerNode input)
- Specified by:
 applyin interfacecom.google.common.base.Function<ControllerNode,NodeId>- Specified by:
 applyin interfaceFunction<ControllerNode,NodeId>
 
- 
toNodeId
public static ControllerNodeToNodeId toNodeId()
Returns a Function to convert ControllerNode to NodeId.- Returns:
 - ControllerNodeToNodeId instance.
 
 
 - 
 
 -