Class BiIndex


  • public final class BiIndex
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int major  
      int minor  
    • Constructor Summary

      Constructors 
      Constructor Description
      BiIndex​(int major, int minor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BiIndex adjustMajor​(int adjustment)  
      BiIndex adjustMinor​(int adjustment)  
      <T> T map​(java.util.function.BiFunction<java.lang.Integer,​java.lang.Integer,​T> f)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • major

        public final int major
      • minor

        public final int minor
    • Constructor Detail

      • BiIndex

        public BiIndex​(int major,
                       int minor)
    • Method Detail

      • map

        public <T> T map​(java.util.function.BiFunction<java.lang.Integer,​java.lang.Integer,​T> f)
      • adjustMajor

        public BiIndex adjustMajor​(int adjustment)
      • adjustMinor

        public BiIndex adjustMinor​(int adjustment)
      • toString

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