Class ObservableListBase<E>

java.lang.Object
io.github.somesourcecode.someguiapi.collections.ObservableListBase<E>
Type Parameters:
E - the type of elements in the list
All Implemented Interfaces:
ObservableList<E>, Iterable<E>, Collection<E>, List<E>

public class ObservableListBase<E> extends Object implements ObservableList<E>
A base implementation of an ObservableList.

This class works as a wrapper around any List and fires change events whenever elements are added or removed.

  • Constructor Details

    • ObservableListBase

      public ObservableListBase(List<E> baseList)
      Constructs a new observable list with the specified base list.
      Parameters:
      baseList - the base list
  • Method Details