APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.tools.jdi

public Class EventSetImpl

Additional top-level class in compilation unit: EventDestination.

extends ArrayList<Event>
implements EventSet
Class Inheritance
All Implemented Interfaces
com.sun.jdi.event.EventSet, java.util.Set, java.util.Collection, java.lang.Iterable, com.sun.jdi.Mirror
Imports
java.util.ArrayList, .Collection, .Iterator, .NoSuchElementException, .Spliterator, .Spliterators, com.sun.jdi.Field, .InternalException, .Locatable, .Location, .Method, .ObjectCollectedException, .ObjectReference, .ReferenceType, .ThreadReference, .VMDisconnectedException, .Value, .VirtualMachine, com.sun.jdi.event.AccessWatchpointEvent, .BreakpointEvent, .ClassPrepareEvent, .ClassUnloadEvent, .Event, .EventIterator, .EventSet, .ExceptionEvent, .MethodEntryEvent, .MethodExitEvent, .ModificationWatchpointEvent, .MonitorContendedEnterEvent, .MonitorContendedEnteredEvent, .MonitorWaitEvent, .MonitorWaitedEvent, .StepEvent, .ThreadDeathEvent, .ThreadStartEvent, .VMDeathEvent, .VMDisconnectEvent, .VMStartEvent, .WatchpointEvent, com.sun.jdi.request.EventRequest

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
public class
pack-priv abstract class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class

Field Summary

Modifier and TypeField and Description
private EventSetImpl
private Packet
private static final long
private byte
private VirtualMachineImpl

Constructor Summary

AccessConstructor and Description
pack-priv
EventSetImpl(VirtualMachine aVm, Packet pkt)

Events are constructed on the thread which reads all data from the transport.

pack-priv
EventSetImpl(VirtualMachine aVm, byte eventCmd)

Constructor for special events like VM disconnected

Method Summary

Modifier and TypeMethod and Description
public boolean
add(Event o)

Overrides java.util.ArrayList.add.

Implements java.util.Set.add, java.util.List.add, java.util.Collection.add.

Adds the specified element to this set if it is not already present (optional operation).

public boolean
addAll(Collection<? extends Event> coll)

Overrides java.util.ArrayList.addAll.

Implements java.util.Set.addAll, java.util.List.addAll, java.util.Collection.addAll.

Adds all of the elements in the specified collection to this set if they're not already present (optional operation).

private void
pack-priv synchronized void
public void
clear()

Overrides java.util.ArrayList.clear.

Implements java.util.Set.clear, java.util.List.clear, java.util.Collection.clear.

Removes all of the elements from this set (optional operation).

pack-priv EventSetImpl.EventImpl
public EventIterator
eventIterator()

Implements com.sun.jdi.event.EventSet.eventIterator.

Return an iterator specific to Event objects.

private ThreadReference
private static String
pack-priv EventSet
internalFilter()

Filter out user events.

public Iterator<Event>
iterator()

Overrides java.util.ArrayList.iterator.

Implements java.util.Set.iterator, java.util.List.iterator, java.util.Collection.iterator.

Returns an iterator over the elements in this set.

public boolean
remove(Object o)

Overrides java.util.ArrayList.remove.

Implements java.util.Set.remove, java.util.List.remove, java.util.Collection.remove.

Removes the specified element from this set if it is present (optional operation).

public boolean
removeAll(Collection<?> coll)

Overrides java.util.ArrayList.removeAll.

Implements java.util.Set.removeAll, java.util.List.removeAll, java.util.Collection.removeAll.

Removes from this set all of its elements that are contained in the specified collection (optional operation).

public void
resume()

Implements com.sun.jdi.event.EventSet.resume.

Resumes threads suspended by this event set.

public boolean
retainAll(Collection<?> coll)

Overrides java.util.ArrayList.retainAll.

Implements java.util.Set.retainAll, java.util.List.retainAll, java.util.Collection.retainAll.

Retains only the elements in this set that are contained in the specified collection (optional operation).

public Spliterator<Event>
spliterator()

Overrides java.util.ArrayList.spliterator.

Overrides default java.util.Set.spliterator, java.util.List.spliterator, java.util.Collection.spliterator.

Creates a Spliterator over the elements in this set.

public int
suspendPolicy()

Implements com.sun.jdi.event.EventSet.suspendPolicy.

Returns the policy used to suspend threads in the target VM for this event set.

public String
toString()

Overrides java.util.AbstractCollection.toString.

Implements com.sun.jdi.Mirror.toString.

Returns a String describing this mirror

pack-priv EventSet
userFilter()

Filter out internal events

public VirtualMachine
virtualMachine()

Implements com.sun.jdi.Mirror.virtualMachine.

Gets the VirtualMachine to which this Mirror belongs.

Inherited from java.util.ArrayList:
addaddAlladdFirstaddLastclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptylastIndexOflistIteratorlistIteratorremoveremoveFirstremoveIfremoveLastremoveRangereplaceAllsetsizesortsubListtoArraytoArraytrimToSize