class UnitAlgebra extends UnitAbGroup with UnitOrder with Serializable
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- UnitAlgebra
- UnitOrder
- Serializable
- Serializable
- Order
- PartialOrder
- Eq
- UnitAbGroup
- AbGroup
- CMonoid
- CSemigroup
- Group
- Monoid
- Semigroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new UnitAlgebra()
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
combine(as: TraversableOnce[Unit]): Unit
Given a sequence of
as, combine them using the monoid and return the total.Given a sequence of
as, combine them using the monoid and return the total.- Definition Classes
- Monoid
-
def
combineOption(as: TraversableOnce[Unit]): Option[Unit]
Given a sequence of
as, combine them using the semigroup and return the total.Given a sequence of
as, combine them using the semigroup and return the total.If the sequence is empty, returns None. Otherwise, returns Some(total).
- Definition Classes
- Semigroup
-
def
combinen(a: Unit, n: Int): Unit
Return
acombined with itselfntimes. -
def
combinenAboveOne(a: Unit, n: Int): Unit
- Attributes
- protected
- Definition Classes
- Semigroup
- def compare(x: Unit, y: Unit): Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eqv(x: Unit, y: Unit): Boolean
Returns
trueifxandyare equivalent,falseotherwise.Returns
trueifxandyare equivalent,falseotherwise.- Definition Classes
- UnitOrder → Order → PartialOrder → Eq
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
gt(x: Unit, y: Unit): Boolean
- Definition Classes
- UnitOrder → Order → PartialOrder
-
def
gteqv(x: Unit, y: Unit): Boolean
- Definition Classes
- UnitOrder → Order → PartialOrder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
id: Unit
Return the identity element for this monoid.
Return the identity element for this monoid.
- Definition Classes
- UnitAbGroup → Monoid
-
def
inverse(a: Unit): Unit
Return the inverse of
a.Return the inverse of
a.- Definition Classes
- UnitAbGroup → Group
-
def
isId(a: Unit)(implicit ev: Eq[Unit]): Boolean
Tests if
ais the identity.Tests if
ais the identity.- Definition Classes
- Monoid
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lt(x: Unit, y: Unit): Boolean
- Definition Classes
- UnitOrder → Order → PartialOrder
-
def
lteqv(x: Unit, y: Unit): Boolean
- Definition Classes
- UnitOrder → Order → PartialOrder
- def max(x: Unit, y: Unit): Unit
- def min(x: Unit, y: Unit): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neqv(x: Unit, y: Unit): Boolean
Returns
falseifxandyare equivalent,trueotherwise. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
on[B](f: (B) ⇒ Unit): Order[B]
Defines an order on
Bby mappingBtoAusingfand usingAs order to orderB.Defines an order on
Bby mappingBtoAusingfand usingAs order to orderB.- Definition Classes
- Order → PartialOrder → Eq
-
def
op(x: Unit, y: Unit): Unit
- Definition Classes
- UnitAbGroup → Semigroup
-
def
opInverse(a: Unit, b: Unit): Unit
Combine
awith the inverse ofb.Combine
awith the inverse ofb.- Definition Classes
- Group
-
def
partialCompare(x: Unit, y: Unit): Double
Result of comparing
xwithy.Result of comparing
xwithy. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iffx < y- zero iffx === y- positive iffx > y- Definition Classes
- Order → PartialOrder
-
def
pmax(x: Unit, y: Unit): Option[Unit]
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
- Definition Classes
- PartialOrder
-
def
pmin(x: Unit, y: Unit): Option[Unit]
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
- Definition Classes
- PartialOrder
-
def
reverse: Order[Unit]
Defines an ordering on
Awhere all arrows switch direction.Defines an ordering on
Awhere all arrows switch direction.- Definition Classes
- Order → PartialOrder
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryCompare(x: Unit, y: Unit): Option[Int]
Result of comparing
xwithy.Result of comparing
xwithy. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iffx < y- zero iffx == y- positive iffx > y- Definition Classes
- PartialOrder
-
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( ... )