Class SetWrapper<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>

    public class SetWrapper<T>
    extends SetWrapper<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      SetWrapper​(java.util.Set<T> delegate, IInternalAccess agent, jadex.rules.eca.EventType addevent, jadex.rules.eca.EventType remevent, jadex.rules.eca.EventType changeevent, MElement mbel)
      Create a new set wrapper.
    • Constructor Detail

      • SetWrapper

        public SetWrapper​(java.util.Set<T> delegate,
                          IInternalAccess agent,
                          jadex.rules.eca.EventType addevent,
                          jadex.rules.eca.EventType remevent,
                          jadex.rules.eca.EventType changeevent,
                          MElement mbel)
        Create a new set wrapper.
    • Method Detail

      • isInitWrite

        public boolean isInitWrite()
      • entryAdded

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

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

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