Class Range

  • All Implemented Interfaces:
    java.io.Serializable

    public class Range
    extends java.lang.Object
    implements java.io.Serializable
    IP Address Range
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Range()  
      Range​(java.lang.String begin, java.lang.String end)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getBegin()
      Starting IP address of the range.
      java.lang.String getEnd()
      Ending IP address of the range.
      int hashCode()  
      void setBegin​(java.lang.String begin)  
      void setEnd​(java.lang.String end)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Range

        public Range()
      • Range

        public Range​(java.lang.String begin,
                     java.lang.String end)
    • Method Detail

      • getBegin

        public java.lang.String getBegin()
        Starting IP address of the range.
      • setBegin

        public void setBegin​(java.lang.String begin)
      • getEnd

        public java.lang.String getEnd()
        Ending IP address of the range.
      • setEnd

        public void setEnd​(java.lang.String end)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object