Class DoubleBufferedList<T>

java.lang.Object
com.ardor3d.extension.terrain.util.DoubleBufferedList<T>
Type Parameters:
T - type of the instances put into the list

public class DoubleBufferedList<T> extends Object
Utility class used by the mailbox update system.
  • Constructor Details

    • DoubleBufferedList

      public DoubleBufferedList()
  • Method Details

    • add

      public void add(T t)
      The add method can be called at any point.
      Parameters:
      t - the instance to add
    • switchAndGet

      public List<T> switchAndGet()
      The switchAndGet call and its returned list has to be accessed sequencially.
      Returns:
      the list has to be accessed sequencially