javax.media.j3d
Class MemoryFreeList
java.lang.Object
javax.media.j3d.MemoryFreeList
- Direct Known Subclasses:
- IntegerFreeList
class MemoryFreeList
- extends java.lang.Object
Class for storing various free lists. This class must be
synchronized because different threads may try to access the lists.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementData
java.util.ArrayList elementData
size
int size
currBlockSize
int currBlockSize
currBlock
java.lang.Object[] currBlock
currBlockIndex
int currBlockIndex
spaceUsed
int spaceUsed
numBlocks
int numBlocks
capacity
int capacity
minBlockSize
int minBlockSize
justShrunk
boolean justShrunk
initcap
int initcap
minSize
int minSize
c
java.lang.Class c
MemoryFreeList
MemoryFreeList(java.lang.String className)
MemoryFreeList
MemoryFreeList(java.lang.String className,
int initialCapacity)
size
int size()
add
boolean add(java.lang.Object o)
removeLastElement
protected java.lang.Object removeLastElement()
shrink
void shrink()
ensureCapacity
void ensureCapacity(int minCapacity)
rangeCheck
void rangeCheck(int index)
clear
public void clear()
getObject
java.lang.Object getObject()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.