Package org.postgresql.util
Class IntList
- java.lang.Object
-
- org.postgresql.util.IntList
-
public final class IntList extends java.lang.ObjectA specialized class to store a list ofintvalues, 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 voidadd(int i)voidclear()intget(int i)intsize()int[]toArray()Returns an array containing all the elements in this list.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-