Class Segment


  • public class Segment
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Segment.Builder  
    • Method Summary

      Modifier and Type Method Description
      static Segment.Builder builder()  
      Segment.Builder buildUpon()  
      boolean equals​(java.lang.Object o)  
      long getD()  
      java.lang.Long getN()  
      java.lang.Long getR()  
      java.lang.Long getT()  
      int hashCode()  
      static Segment of​(long t, long d)  
      static Segment of​(long t, long d, long r)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • getT

        public java.lang.Long getT()
      • getN

        public java.lang.Long getN()
      • getD

        public long getD()
      • getR

        public java.lang.Long getR()
      • 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
      • toString

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

        public static Segment of​(long t,
                                 long d,
                                 long r)
      • of

        public static Segment of​(long t,
                                 long d)