Class Strings.Range

  • Enclosing class:
    Strings

    public static class Strings.Range
    extends java.lang.Object
    Represents a range between two integers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int begin
      The beginning of the range.
      int end
      The end of the range.
    • Constructor Summary

      Constructors 
      Constructor Description
      Range()
      Default constructor.
      Range​(int begin, int end)
      Construct a new range.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • begin

        public int begin
        The beginning of the range.
      • end

        public int end
        The end of the range.
    • Constructor Detail

      • Range

        public Range​(int begin,
                     int end)
        Construct a new range.
        Parameters:
        begin - The beginning of the range.
        end - The end of the range.
      • Range

        public Range()
        Default constructor.