Class IntList

java.lang.Object
org.postgresql.util.IntList

public final class IntList extends 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 Details

    • IntList

      public IntList()
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object