org.feijoas.mango.common.collect.DiscreteDomain

LongDomain

Related Doc: package DiscreteDomain

implicit object LongDomain extends DiscreteDomain[Long] with Serializable

Returns the discrete domaipppn for values of type Long.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, DiscreteDomain[Long], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LongDomain
  2. Serializable
  3. Serializable
  4. DiscreteDomain
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def distance(start: Long, end: Long): Long

    Returns a signed value indicating how many nested invocations of #next (if positive) or #previous (if negative) are needed to reach end starting from start.

    Returns a signed value indicating how many nested invocations of #next (if positive) or #previous (if negative) are needed to reach end starting from start. For example, if end = next(next(next(start))), then distance(start, end) == 3 and distance(end, start) == -3. As well, distance(a, a) is always zero.

    Note that this function is necessarily well-defined for any discrete type.

    returns

    the distance as described above, or Long#MIN_VALUE or Long#MAX_VALUE if the distance is too small or too large, respectively.

    Definition Classes
    LongDomainDiscreteDomain
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  13. def maxValue(): Some[Long]

    Returns a Some with the maximum value of type C, if it has one.

    Returns a Some with the maximum value of type C, if it has one. The maximum value is the unique value for which Ordering#compare(this,that) never returns a negative value for any input of type C.

    The default implementation returns None.

    returns

    a Some with the maximum value of type C or None if there is none

    Definition Classes
    LongDomainDiscreteDomain
  14. def minValue(): Some[Long]

    Returns a Some with the minimum value of type C, if it has one.

    Returns a Some with the minimum value of type C, if it has one. The minimum value is the unique value for which Ordering#compare(this,that) never returns a positive value for any input of type C.

    The default implementation returns None.

    returns

    a Some with the minimum value of type C or None if there is none

    Definition Classes
    LongDomainDiscreteDomain
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def next(value: Long): Option[Long]

    Returns a Some wiht the unique least value of type C that is greater than value, or None if none exists.

    Returns a Some wiht the unique least value of type C that is greater than value, or None if none exists. Inverse operation to #previous.

    value

    any value of type C

    returns

    Some with the least value greater than value, or None if value is maxValue()

    Definition Classes
    LongDomainDiscreteDomain
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def previous(value: Long): Option[Long]

    Returns a Some with the unique greatest value of type C that is less than value, or None if none exists.

    Returns a Some with the unique greatest value of type C that is less than value, or None if none exists. Inverse operation to #next.

    value

    any value of type C

    returns

    Some with the greatest value less than value, or None if value is minValue()

    Definition Classes
    LongDomainDiscreteDomain
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    LongDomain → AnyRef → Any
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from DiscreteDomain[Long]

Inherited from AnyRef

Inherited from Any

Ungrouped