object Bounds extends Serializable
- Alphabetic
- By Inheritance
- Bounds
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
-
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def everything[T]: Bounds[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Bound extends Serializable
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated