- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Drawable>
,Collection<Drawable>
,List<Drawable>
,RandomAccess
Container for Drawables. Optimized to cache Instances of Drawables
- Author:
- shi
- See Also:
-
Field Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
DrawableContainer
public DrawableContainer()
-
-
Method Details
-
add
public void add(GLSLRenderable shape, Shader s, GLSLMaterial sh, boolean asNode, int layer, Matrix4d worldTransform, Matrix4d cachedWorldTransform) -
size
public int size() -
lastElement
- Overrides:
lastElement
in classVector<Drawable>
-
isEmpty
public boolean isEmpty() -
init
public void init() -
cleanup
public void cleanup() -
toString
-