class SpecificSelector extends NumberSelector
- Alphabetic
- By Inheritance
- SpecificSelector
- NumberSelector
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SpecificSelector()
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 Format(ary: Array[Int]): Unit
Accept the indexing pool from which numbers are selected and returned.
Accept the indexing pool from which numbers are selected and returned. Correct its format to suit the current
NumberSelector
algorithms.
All of the numbers are sorted to their proper indexed position in theArray
. Every other number is an invalid negative-one (-1). TheselectionIndex
is also set to an invalid negative-one, as per the requirements of the selector. Theret
index is set to index zero.- ary
the
Array
ofInt
numbers
- Definition Classes
- SpecificSelector → NumberSelector
- def Get(ary: Array[Int]): Int
Get the specified number and the specified number only.
Get the specified number and the specified number only.
- ary
the
Array
ofInt
numbers from which to draw a new number- returns
an
Int
number
- Definition Classes
- SpecificSelector → NumberSelector
- def Return(number: Int, ary: Array[Int]): Boolean
Give a number back to a specific collection following the principles of this selector.
By default, a simple policy for returning numbers has been provided.Give a number back to a specific collection following the principles of this selector.
By default, a simple policy for returning numbers has been provided. This will not be sufficient for all selection actions that can be implemented sooverride
where necessary.
returnNumber
is under no obligation to leave its parameterArray
unmodified. In fact, it should modify it by default to provide additional feedback of its process. Pass a copy if data mutation is a concern.- number
the number to be returned
- ary
the
Array
ofInt
numbers to which the number is to be returned- returns
true
, if this return was successful;false
, otherwise
- Definition Classes
- NumberSelector
- def ReturnIndex: Int
- Definition Classes
- NumberSelector
- def SelectionIndex: Int
- Definition Classes
- NumberSelector
- def SelectionIndex_=(number: Int): Unit
Change the future selection index to match the number the user wants.
Change the future selection index to match the number the user wants. Call
Get
to complete process.- number
the number
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- 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()
- var ret: Int
The index for the selector when performing a number return action, then modified for the "next" index.
The index for the selector when performing a number return action, then modified for the "next" index.
- Attributes
- protected
- Definition Classes
- NumberSelector
- var selectionIndex: Int
The index for the selector when performing a number selection action, then modified to the "next" index.
The index for the selector when performing a number selection action, then modified to the "next" index.
- Attributes
- protected
- Definition Classes
- NumberSelector
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()