Class

net.psforever.objects.guid.selector

SpecificSelector

Related Doc: package selector

Permalink

class SpecificSelector extends NumberSelector

Get a specific number from a pool of numbers.

Source
SpecificSelector.scala
Linear Supertypes
NumberSelector, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpecificSelector
  2. NumberSelector
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpecificSelector()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to any2stringadd[SpecificSelector] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SpecificSelector, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to ArrowAssoc[SpecificSelector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def Format(ary: Array[Int]): Unit

    Permalink

    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 the Array. Every other number is an invalid negative-one (-1). The selectionIndex is also set to an invalid negative-one, as per the requirements of the selector. The ret index is set to index zero.

    ary

    the Array of Int numbers

    Definition Classes
    SpecificSelectorNumberSelector
  7. def Get(ary: Array[Int]): Int

    Permalink

    Get the specified number and the specified number only.

    Get the specified number and the specified number only.

    ary

    the Array of Int numbers from which to draw a new number

    returns

    an Int number

    Definition Classes
    SpecificSelectorNumberSelector
  8. def Return(number: Int, ary: Array[Int]): Boolean

    Permalink

    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 so override where necessary.
    Return is under no obligation to leave its parameter Array 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 of Int numbers to which the number is to be returned

    returns

    true, if this return was successful; false, otherwise

    Definition Classes
    NumberSelector
  9. def ReturnIndex: Int

    Permalink
    Definition Classes
    NumberSelector
  10. def SelectionIndex: Int

    Permalink
    Definition Classes
    NumberSelector
  11. def SelectionIndex_=(number: Int): Unit

    Permalink

    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

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def ensuring(cond: (SpecificSelector) ⇒ Boolean, msg: ⇒ Any): SpecificSelector

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to Ensuring[SpecificSelector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (SpecificSelector) ⇒ Boolean): SpecificSelector

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to Ensuring[SpecificSelector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): SpecificSelector

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to Ensuring[SpecificSelector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): SpecificSelector

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to Ensuring[SpecificSelector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to StringFormat[SpecificSelector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. var ret: Int

    Permalink

    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
  29. var selectionIndex: Int

    Permalink

    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
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (SpecificSelector, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SpecificSelector to ArrowAssoc[SpecificSelector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from NumberSelector

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SpecificSelector to any2stringadd[SpecificSelector]

Inherited by implicit conversion StringFormat from SpecificSelector to StringFormat[SpecificSelector]

Inherited by implicit conversion Ensuring from SpecificSelector to Ensuring[SpecificSelector]

Inherited by implicit conversion ArrowAssoc from SpecificSelector to ArrowAssoc[SpecificSelector]

Ungrouped