Class FlowId


  • public final class FlowId
    extends org.onlab.util.Identifier<java.lang.Long>
    Representation of a Flow ID.
    • Field Summary

      • Fields inherited from class org.onlab.util.Identifier

        identifier
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      long value()
      Gets the flow ID value.
      static FlowId valueOf​(long id)
      Creates a flow ID from a long value.
      • Methods inherited from class org.onlab.util.Identifier

        equals, hashCode, id
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • valueOf

        public static FlowId valueOf​(long id)
        Creates a flow ID from a long value.
        Parameters:
        id - long value
        Returns:
        flow ID
      • value

        public long value()
        Gets the flow ID value.
        Returns:
        flow ID value as long
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.onlab.util.Identifier<java.lang.Long>