Ableverse™
Platform 6.0

av.util
Class IntQueue

java.lang.Object
  extended by av.util.IntQueue

public class IntQueue
extends Object

This class is a queue for int values, it has the same functionalities of a Queue with the Integer value type, this class exists only for performance.

This class is synchronized by a ReentrantReadWriteLock.

Author:
compl

Field Summary
 int NULL_VALUE
           
 
Constructor Summary
IntQueue(int nullValue)
           
IntQueue(int nullValue, int initCapacity)
           
 
Method Summary
 int dequeue()
           
 void enqueue(int o)
           
 void ensureCapacity(int minCapacity)
           
 boolean isEmpty()
           
 int peek()
           
 void precede(int o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_VALUE

public final int NULL_VALUE
Constructor Detail

IntQueue

public IntQueue(int nullValue,
                int initCapacity)

IntQueue

public IntQueue(int nullValue)
Method Detail

ensureCapacity

public void ensureCapacity(int minCapacity)

enqueue

public void enqueue(int o)

precede

public void precede(int o)

peek

public int peek()

dequeue

public int dequeue()

isEmpty

public boolean isEmpty()

size

public int size()

Ableverse™
Platform 6.0

Copyright© 2006 Ableverse Platform. All rights reserved.