Class IntList


  • public final class IntList
    extends java.lang.Object
    A specialized class to store a list of int values, so it does not need auto-boxing. Note: this is a driver-internal class, and it is not intended to be used outside the driver.
    • Constructor Summary

      Constructors 
      Constructor Description
      IntList()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int i)  
      void clear()  
      int get​(int i)  
      int size()  
      int[] toArray()
      Returns an array containing all the elements in this list.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • IntList

        public IntList()
    • Method Detail

      • add

        public void add​(int i)
      • size

        public int size()
      • get

        public int get​(int i)
      • clear

        public void clear()
      • toArray

        public int[] toArray()
        Returns an array containing all the elements in this list. The modifications of the returned array will not affect this list.
        Returns:
        an array containing all the elements in this list
      • toString

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