Package com.adobe.xfa

Class EventManager.EventTable

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Dispatcher>, java.util.Collection<Dispatcher>, java.util.List<Dispatcher>, java.util.RandomAccess
    Enclosing class:
    EventManager

    public static final class EventManager.EventTable
    extends java.util.ArrayList<Dispatcher>
    Represents a collection of Dispatchers associated with a particular Obj. In the C++ implementation, the SortedArray used a Integer keys and Object (Dispatcher) values in a sort of Map structure. Since we know that we only contain Dispatcher instances and that a Dispatcher contains its own event id, we can simplify this to an ArrayList. Typically, we expect this list to be very short - perhaps only a single item.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EventTable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, Dispatcher element)  
      boolean add​(Dispatcher dispatcher)  
      boolean addAll​(int index, java.util.Collection<? extends Dispatcher> eventTable)  
      boolean addAll​(java.util.Collection<? extends Dispatcher> eventTable)  
      Dispatcher set​(int index, Dispatcher element)  
      • Methods inherited from class java.util.ArrayList

        clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • EventTable

        public EventTable()
    • Method Detail

      • add

        public boolean add​(Dispatcher dispatcher)
        Specified by:
        add in interface java.util.Collection<Dispatcher>
        Specified by:
        add in interface java.util.List<Dispatcher>
        Overrides:
        add in class java.util.ArrayList<Dispatcher>
      • add

        public void add​(int index,
                        Dispatcher element)
        Specified by:
        add in interface java.util.List<Dispatcher>
        Overrides:
        add in class java.util.ArrayList<Dispatcher>
      • addAll

        public boolean addAll​(java.util.Collection<? extends Dispatcher> eventTable)
        Specified by:
        addAll in interface java.util.Collection<Dispatcher>
        Specified by:
        addAll in interface java.util.List<Dispatcher>
        Overrides:
        addAll in class java.util.ArrayList<Dispatcher>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends Dispatcher> eventTable)
        Specified by:
        addAll in interface java.util.List<Dispatcher>
        Overrides:
        addAll in class java.util.ArrayList<Dispatcher>