Class ProxyArrayList<T>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
io.github.douira.glsl_transformer.ast.data.ProxyArrayList<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess
Direct Known Subclasses:
ChildNodeList, RemovalProxyArrayList

public abstract class ProxyArrayList<T> extends ArrayList<T>
An array list extension that calls a notification method whenever an element is added. The addition notification method should be idempotent and reversible with the removal notification method.
See Also:
  • Constructor Details

    • ProxyArrayList

      public ProxyArrayList()
    • ProxyArrayList

      public ProxyArrayList(int initialCapacity)
    • ProxyArrayList

      public ProxyArrayList(Collection<? extends T> c)
    • ProxyArrayList

      public ProxyArrayList(Collection<? extends T> c, boolean doNotification)
  • Method Details