choco.kernel.common.util.objects
Class IntList

java.lang.Object
  extended by choco.kernel.common.util.objects.IntList

public class IntList
extends Object

A list over integers


Nested Class Summary
protected static class IntList.IntListIterator
           
 
Field Summary
protected  int[] content
           
protected  int currentIdx
           
protected  int size
           
 
Constructor Summary
IntList(int size)
           
IntList(int[] content, int size)
           
 
Method Summary
 void add(int v)
           
 IntList copy()
           
 int getFirst()
           
 int getSize()
           
 DisposableIntIterator iterator()
           
 void reInit()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected final int[] content

size

protected int size

currentIdx

protected int currentIdx
Constructor Detail

IntList

public IntList(int size)

IntList

public IntList(int[] content,
               int size)
Method Detail

copy

public IntList copy()

getFirst

public int getFirst()

getSize

public int getSize()

reInit

public void reInit()

add

public void add(int v)

toString

public String toString()
Overrides:
toString in class Object

iterator

public final DisposableIntIterator iterator()


Copyright © 2012. All Rights Reserved.