Class ListWrapper<T>

java.lang.Object
jadex.collection.CollectionWrapper<T>
jadex.collection.ListWrapper<T>
jadex.bdi.runtime.wrappers.ListWrapper<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>

public class ListWrapper<T> extends jadex.collection.ListWrapper<T>
  • Field Details

  • Constructor Details

    • ListWrapper

      public ListWrapper(List<T> delegate, jadex.core.IComponent agent, jadex.rules.eca.EventType addevent, jadex.rules.eca.EventType remevent, jadex.rules.eca.EventType changeevent, MElement melem)
      Create a new list wrapper.
  • Method Details

    • setAgent

      public void setAgent(jadex.core.IComponent agent)
    • isInitWrite

      public boolean isInitWrite()
    • entryAdded

      public void entryAdded(T value, int index)
      An entry was added to the collection.
      Specified by:
      entryAdded in class jadex.collection.CollectionWrapper<T>
    • entryRemoved

      public void entryRemoved(T value, int index)
      An entry was removed from the collection.
      Specified by:
      entryRemoved in class jadex.collection.CollectionWrapper<T>
    • entryChanged

      public void entryChanged(T oldvalue, T newvalue, int index)
      An entry was changed in the collection.
      Specified by:
      entryChanged in class jadex.collection.CollectionWrapper<T>