Save This Page
Home » openjdk-7 » » event » [javadoc | source]
abstract public class: AbstractEventSet [javadoc | source]

All Implemented Interfaces:
    EventSet, Serializable

Direct Known Subclasses:
    ExceptionEventSet, VMDeathEventSet, ThreadStartEventSet, LocationTriggerEventSet, ModificationWatchpointEventSet, WatchpointEventSet, VMDisconnectEventSet, VMStartEventSet, ThreadDeathEventSet, AccessWatchpointEventSet, ClassUnloadEventSet, ClassPrepareEventSet, LocatableEventSet

Field Summary
final  Event oneEvent     
Fields inherited from java.util.EventObject:
 AbstractEventSet(EventSet jdiEventSet) 
Method from Summary:
add,   addAll,   clear,   contains,   containsAll,   eventIterator,   getSuspendPolicy,   getVirtualMachine,   isEmpty,   iterator,   notify,   remove,   removeAll,   resume,   retainAll,   size,   suspendPolicy,   suspendedAll,   suspendedEventThread,   suspendedNone,   toArray,   toArray,   toSpecificEventSet,   virtualMachine
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public boolean add(Event e) 
 public boolean addAll(Collection<Event> coll) 
 public  void clear() 
 public boolean contains(Object o) 
    Returns true if this set contains the specified element. More formally, returns true if and only if this set contains an element e such that (o==null ? e==null : o.equals(e)).
 public boolean containsAll(Collection<?> c) 
    Returns true if this set contains all of the elements of the specified collection. If the specified collection is also a set, this method returns true if it is a subset of this set.
 public EventIterator eventIterator() 
    Return an iterator specific to Event objects.
 public int getSuspendPolicy() 
    Returns the policy used to suspend threads in the target VM for this event set. This policy is selected from the suspend policies for each event's request. The one that suspends the most threads is chosen when the event occurs in the target VM and that policy is returned here. See com.sun.jdi.request.EventRequest for the possible policy values.
 public VirtualMachine getVirtualMachine() 
 public boolean isEmpty() 
    Returns true if this set contains no elements.
 public Iterator<Event> iterator() 
    Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
 abstract public  void notify(JDIListener listener)
 public boolean remove(Object o) 
 public boolean removeAll(Collection<?> coll) 
 public  void resume() 
 public boolean retainAll(Collection<?> coll) 
 public int size() 
    Returns the number of elements in this set (its cardinality). If this set contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.
 public int suspendPolicy() 
 public boolean suspendedAll() 
 public boolean suspendedEventThread() 
 public boolean suspendedNone() 
 public Object[] toArray() 
    Returns an array containing all of the elements in this set. Obeys the general contract of the Collection.toArray method.
 public T[] toArray(T[] a) 
    Returns an array containing all of the elements in this set whose runtime type is that of the specified array. Obeys the general contract of the Collection.toArray(Object[]) method.
 public static AbstractEventSet toSpecificEventSet(EventSet jdiEventSet) 
 public VirtualMachine virtualMachine()