class StringMonoid extends Monoid[String] with Serializable
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringMonoid
- Serializable
- Serializable
- Monoid
- Semigroup
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new StringMonoid()
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[String]): String
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[String]): Option[String]
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: String, n: Int): String
Return
acombined with itselfntimes. -
def
combinenAboveOne(a: String, n: Int): String
- Attributes
- protected
- Definition Classes
- Semigroup
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
id: String
Return the identity element for this monoid.
Return the identity element for this monoid.
- Definition Classes
- StringMonoid → Monoid
-
def
isId(a: String)(implicit ev: Eq[String]): Boolean
Tests if
ais the identity.Tests if
ais the identity.- Definition Classes
- Monoid
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
op(x: String, y: String): String
- Definition Classes
- StringMonoid → Semigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )