Class ASTIntegerRange.IntegerRange

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Integer>, java.util.Collection<java.lang.Integer>, java.util.List<java.lang.Integer>
    Enclosing class:
    ASTIntegerRange

    public static class ASTIntegerRange.IntegerRange
    extends java.util.AbstractList<java.lang.Integer>
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegerRange​(int left, int right, int delta)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer get​(int index)  
      int indexOf​(java.lang.Object o)  
      java.util.Iterator<java.lang.Integer> iterator()  
      int lastIndexOf​(java.lang.Object o)  
      java.util.ListIterator<java.lang.Integer> listIterator()  
      java.util.ListIterator<java.lang.Integer> listIterator​(int index)  
      int size()  
      • Methods inherited from class java.util.AbstractList

        add, add, addAll, clear, equals, hashCode, remove, removeRange, set, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • IntegerRange

        public IntegerRange​(int left,
                            int right,
                            int delta)
    • Method Detail

      • iterator

        public java.util.Iterator<java.lang.Integer> iterator()
        Specified by:
        iterator in interface java.util.Collection<java.lang.Integer>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Integer>
        Specified by:
        iterator in interface java.util.List<java.lang.Integer>
        Overrides:
        iterator in class java.util.AbstractList<java.lang.Integer>
      • get

        public java.lang.Integer get​(int index)
        Specified by:
        get in interface java.util.List<java.lang.Integer>
        Specified by:
        get in class java.util.AbstractList<java.lang.Integer>
      • indexOf

        public int indexOf​(java.lang.Object o)
        Specified by:
        indexOf in interface java.util.List<java.lang.Integer>
        Overrides:
        indexOf in class java.util.AbstractList<java.lang.Integer>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object o)
        Specified by:
        lastIndexOf in interface java.util.List<java.lang.Integer>
        Overrides:
        lastIndexOf in class java.util.AbstractList<java.lang.Integer>
      • listIterator

        public java.util.ListIterator<java.lang.Integer> listIterator()
        Specified by:
        listIterator in interface java.util.List<java.lang.Integer>
        Overrides:
        listIterator in class java.util.AbstractList<java.lang.Integer>
      • listIterator

        public java.util.ListIterator<java.lang.Integer> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<java.lang.Integer>
        Overrides:
        listIterator in class java.util.AbstractList<java.lang.Integer>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Integer>
        Specified by:
        size in interface java.util.List<java.lang.Integer>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Integer>