org.scaladebugger.api.virtualmachines
ScalaVirtualMachineManager
Companion object ScalaVirtualMachineManager
class ScalaVirtualMachineManager extends AnyRef
Represents a manager of virtual machines, providing a variety of means to look up a virtual machine.
- Alphabetic
- By Inheritance
- ScalaVirtualMachineManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScalaVirtualMachineManager()
Type Members
- type ID = String
- type SVM = ScalaVirtualMachine
- type VM = VirtualMachine
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add[T <: SVM](scalaVirtualMachine: T): T
Adds a new Scala virtual machine to be managed.
Adds a new Scala virtual machine to be managed. Ignores SVMs already added to this manager.
- scalaVirtualMachine
The new Scala virtual machine instance
- returns
The added Scala virtual machine
- Annotations
- @throws( ... )
- Exceptions thrown
IllegalArgumentException
When the Scala virtual machine is null
-
def
apply(virtualMachine: VM): SVM
Looks up a Scala virtual machine by its virtual machine.
Looks up a Scala virtual machine by its virtual machine.
- virtualMachine
The low-level virtual machine that the Scala virtual machine wraps
- returns
The associated Scala virtual machine
- Annotations
- @throws( ... )
- Exceptions thrown
IllegalStateException
When no Scala virtual machine found
-
def
apply(uniqueId: ID): SVM
Looks up a Scala virtual machine by its unique id.
Looks up a Scala virtual machine by its unique id.
- uniqueId
The unique id of the Scala virtual machine to retrieve
- returns
The associated Scala virtual machine
- Annotations
- @throws( ... )
- Exceptions thrown
IllegalStateException
When no Scala virtual machine found
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
Clears the manager of all Scala virtual machine references.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(virtualMachine: VM): Option[SVM]
Looks up a Scala virtual machine by its virtual machine.
Looks up a Scala virtual machine by its virtual machine.
- virtualMachine
The low-level virtual machine that the Scala virtual machine wraps
- returns
Some Scala virtual machine if found, otherwise None
-
def
get(uniqueId: ID): Option[SVM]
Looks up a Scala virtual machine by its unique id.
Looks up a Scala virtual machine by its unique id.
- uniqueId
The unique id of the Scala virtual machine to retrieve
- returns
Some Scala virtual machine if found, otherwise None
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
remove[T <: SVM](scalaVirtualMachine: T): Option[T]
Removes the Scala virtual machine from the manager.
Removes the Scala virtual machine from the manager.
- scalaVirtualMachine
The Scala virtual machine to remove
- returns
Some Scala virtual machine representing the removed virtual machine if found and removed, otherwise None
- Annotations
- @throws( ... )
- Exceptions thrown
IllegalArgumentException
When the Scala virtual machine is null
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSVMs: Seq[ScalaVirtualMachine]
Returns the Scala virtual machines held by this manager.
Returns the Scala virtual machines held by this manager.
- returns
The collection of Scala virtual machines
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toUniqueIds: Seq[ID]
Returns the unique ids of the Scala virtual machines held by this manager.
Returns the unique ids of the Scala virtual machines held by this manager.
- returns
The collection of unique ids
-
def
toVMs: Seq[VirtualMachine]
Returns the virtual machines of the Scala virtual machines held by this manager.
Returns the virtual machines of the Scala virtual machines held by this manager.
- returns
The collection of virtual machines
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )