Class CodePointMap.Range

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int end  
      private int start  
      private int value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Range()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getEnd()  
      int getStart()  
      int getValue()  
      void set​(int start, int end, int value)
      Sets the range.
      • Methods inherited from class java.lang.Object

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

      • start

        private int start
      • end

        private int end
      • value

        private int value
    • Constructor Detail

      • Range

        public Range()
        Constructor. Sets start and end to -1 and value to 0.
    • Method Detail

      • getStart

        public int getStart()
        Returns:
        the start code point
      • getEnd

        public int getEnd()
        Returns:
        the (inclusive) end code point
      • getValue

        public int getValue()
        Returns:
        the range value
      • set

        public void set​(int start,
                        int end,
                        int value)
        Sets the range. When using CodePointMap.iterator(), iteration will resume after the newly set end.
        Parameters:
        start - new start code point
        end - new end code point
        value - new value