Class PortInfo


  • public class PortInfo
    extends java.lang.Object
    Contains information about a port (port number and a collection of tags).
    • Constructor Summary

      Constructors 
      Constructor Description
      PortInfo​(int port, java.util.Collection<java.lang.String> tags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getPort()  
      java.util.Collection<java.lang.String> getTags()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortInfo

        public PortInfo​(int port,
                        java.util.Collection<java.lang.String> tags)
    • Method Detail

      • getPort

        public int getPort()
      • getTags

        public java.util.Collection<java.lang.String> getTags()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object