Class DoubleBufferedList<T>
java.lang.Object
com.ardor3d.extension.terrain.util.DoubleBufferedList<T>
- Type Parameters:
T
- type of the instances put into the list
Utility class used by the mailbox update system.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The add method can be called at any point.The switchAndGet call and its returned list has to be accessed sequencially.
-
Constructor Details
-
DoubleBufferedList
public DoubleBufferedList()
-
-
Method Details
-
add
The add method can be called at any point.- Parameters:
t
- the instance to add
-
switchAndGet
The switchAndGet call and its returned list has to be accessed sequencially.- Returns:
- the list has to be accessed sequencially
-