final case class Finite(value: Int) extends UpperBound with Product with Serializable
Represents a finite upper bound. The maximum allowed value is 'value', inclusive. It must positive.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Finite
- Serializable
- Serializable
- Product
- Equals
- UpperBound
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Finite(value: Int)
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
>=(min: Int): Boolean
True if and only if the given value meets this bound.
True if and only if the given value meets this bound.
- Definition Classes
- Finite → UpperBound
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decrement: Finite
If this bound is zero or Infinite,
decrement
returns this bound.If this bound is zero or Infinite,
decrement
returns this bound. Otherwise, this bound is finite and greater than zero anddecrement
returns the bound that is one less than this bound.- Definition Classes
- Finite → UpperBound
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isInfinite: Boolean
True if and only if this is unbounded.
True if and only if this is unbounded.
- Definition Classes
- Finite → UpperBound
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOne: Boolean
True if and only if this bound is one.
True if and only if this bound is one.
- Definition Classes
- Finite → UpperBound
-
def
isZero: Boolean
True if and only if this bound is zero.
True if and only if this bound is zero.
- Definition Classes
- Finite → UpperBound
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Finite → AnyRef → Any
- val value: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()