com.sun.jmx.remote.opt.internal
Class ArrayQueue

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by com.sun.jmx.remote.opt.internal.ArrayQueue
All Implemented Interfaces:
Iterable, Collection, List

public class ArrayQueue
extends AbstractList


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ArrayQueue(int capacity)
           
 
Method Summary
 boolean add(Object o)
           
 Object get(int i)
           
 Object remove(int i)
           
 void resize(int newcapacity)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ArrayQueue

public ArrayQueue(int capacity)
Method Detail

resize

public void resize(int newcapacity)

add

public boolean add(Object o)
Specified by:
add in interface Collection
Specified by:
add in interface List
Overrides:
add in class AbstractList

remove

public Object remove(int i)
Specified by:
remove in interface List
Overrides:
remove in class AbstractList

get

public Object get(int i)
Specified by:
get in interface List
Specified by:
get in class AbstractList

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List
Specified by:
size in class AbstractCollection


Copyright © 2014 Terracotta, Inc.. All rights reserved.