Packages

object Bounds extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bounds
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Bound[T](value: Option[T], inclusive: Boolean) extends Product with Serializable

    Single bound (lower or upper).

    Single bound (lower or upper).

    Bound may be unbounded, in which case value is None. Note by convention unbounded bounds are exclusive

    value

    value of this bound, if bounded

    inclusive

    whether the bound is inclusive or exclusive. for example, 'foo < 5' is exclusive, 'foo <= 5' is inclusive

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def everything[T]: Bounds[T]
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def intersection[T](left: Bounds[T], right: Bounds[T]): Option[Bounds[T]]

    Takes the intersection of two bounds.

    Takes the intersection of two bounds. If they are disjoint, will return None.

    T

    type parameter

    left

    first bounds

    right

    second bounds

    returns

    intersection

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def largerLowerBound[T](bound1: Bound[T], bound2: Bound[T]): Bound[T]

    Gets the larger value between two upper bounds, taking into account exclusivity.

    Gets the larger value between two upper bounds, taking into account exclusivity. If the bounds are equal, the first bound will always be returned

    bound1

    first bound

    bound2

    second bound

    returns

    larger bound

  14. def largerUpperBound[T](bound1: Bound[T], bound2: Bound[T]): Bound[T]

    Gets the larger value between two upper bounds, taking into account exclusivity.

    Gets the larger value between two upper bounds, taking into account exclusivity. If the bounds are equal, the first bound will always be returned

    bound1

    first bound

    bound2

    second bound

    returns

    larger bound

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def smallerLowerBound[T](bound1: Bound[T], bound2: Bound[T]): Bound[T]

    Gets the smaller value between two lower bounds, taking into account exclusivity.

    Gets the smaller value between two lower bounds, taking into account exclusivity. If the bounds are equal, the first bound will always be returned

    bound1

    first bound

    bound2

    second bound

    returns

    smaller bound

  19. def smallerUpperBound[T](bound1: Bound[T], bound2: Bound[T]): Bound[T]

    Gets the smaller value between two upper bounds, taking into account exclusivity.

    Gets the smaller value between two upper bounds, taking into account exclusivity. If the bounds are equal, the first bound will always be returned

    bound1

    first bound

    bound2

    second bound

    returns

    smaller bound

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def union[T](left: Seq[Bounds[T]], right: Seq[Bounds[T]]): Seq[Bounds[T]]

    Takes the union of two bound sequences.

    Takes the union of two bound sequences.

    T

    type parameter

    left

    first bounds

    right

    second bounds

    returns

    union

  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( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. object Bound extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped