trait MountableSpace[A <: MountableEntity] extends AnyRef
- Alphabetic
- By Inheritance
- MountableSpace
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def definition: MountableSpaceDefinition[A]
The information that establishes the underlying characteristics of this mountable space.
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bailable: Boolean
Does this mountable space count as being "bailable", a condition whereupon it can be unmounted under duress? The conditions of the duress do not matter at the moment; this is only a test of possibility.
- def canBeOccupied: Boolean
Can something be mounted? Use this method as a test for "availability".
- def canBeOccupiedBy(target: A): Boolean
Is this specific entity allowed to be mounted in this space? Utiltizes restriction tests, but not "availability" tests.
Is this specific entity allowed to be mounted in this space? Utiltizes restriction tests, but not "availability" tests.
- See also
MountableDefinition[A].restriction
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOccupied: Boolean
Is anything be seated? Do not use this method as a test for "availability".
- def isOccupiedBy(target: A): Boolean
Is this specific entity currently mounted?
- def mount(target: Option[A]): Option[A]
Attempt to mount the target entity in this space.
- def mount(target: A): Option[A]
Attempt to mount the target entity in this space.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def occupant: Option[A]
A single mounted entity.
A single mounted entity.
- returns
one mounted entity at most, or
None
- def occupants: List[A]
A collection of any mounted entity.
A collection of any mounted entity. Useful for compiling all seated users using
flatMap
.- returns
all mounted entities
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def testToMount(target: A): Boolean
Tests whether the target is allowed to be mounted.
Tests whether the target is allowed to be mounted.
- Attributes
- protected
- See also
MountableSpace[A].canBeOccupiedBy(A)
- def testToUnmount(target: A): Boolean
Tests whether the target is capable of being unmounted from this place.
Tests whether the target is capable of being unmounted from this place.
- Attributes
- protected
- See also
MountableSpace[A].isOccupiedBy(A)
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unmount(target: Option[A], bailType: types.BailType.Value): Option[A]
Attempt to dismount the target entity from this space.
Attempt to dismount the target entity from this space.
- returns
the current seat occupant, which should be
None
if the operation was successful
- def unmount(target: Option[A]): Option[A]
Attempt to dismount the target entity from this space.
- def unmount(target: A, bailType: types.BailType.Value): Option[A]
Attempt to dismount the target entity from this space.
- def unmount(target: A): Option[A]
Attempt to dismount the target entity from this space.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()