Orderable

com.phasmidsoftware.lascala.values.Orderable
See theOrderable companion trait
object Orderable

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Orderable.type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
trait Orderable[Boolean]
trait Ordering[Boolean]
trait PartialOrdering[Boolean]
trait Equiv[Boolean]
trait Serializable
trait Comparator[Boolean]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableBoolean extends Orderable[Boolean]

The following trait is somewhat experimental... no unit tests as of now

The following trait is somewhat experimental... no unit tests as of now

Attributes

Companion
object
Supertypes
trait Orderable[Boolean]
trait Ordering[Boolean]
trait PartialOrdering[Boolean]
trait Equiv[Boolean]
trait Serializable
trait Comparator[Boolean]
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Orderable[Double]
trait Ordering[Double]
trait PartialOrdering[Double]
trait Equiv[Double]
trait Serializable
trait Comparator[Double]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableDouble extends Orderable[Double]

Attributes

Companion
object
Supertypes
trait Orderable[Double]
trait Ordering[Double]
trait PartialOrdering[Double]
trait Equiv[Double]
trait Serializable
trait Comparator[Double]
class Object
trait Matchable
class Any
Show all
Known subtypes
class OrderableException(s: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object OrderableInt extends OrderableInt

Attributes

Companion
trait
Supertypes
trait OrderableInt
trait Orderable[Int]
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Serializable
trait Comparator[Int]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableInt extends Orderable[Int]

Attributes

Companion
object
Supertypes
trait Orderable[Int]
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Serializable
trait Comparator[Int]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait ValuableInt
object ValuableInt
object OrderableInt
trait IntCounter
object intCounter
Show all

Attributes

Companion
trait
Supertypes
trait Orderable[LocalDate]
trait Ordering[LocalDate]
trait PartialOrdering[LocalDate]
trait Equiv[LocalDate]
trait Serializable
trait Comparator[LocalDate]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableLocalDate extends Orderable[LocalDate]

Attributes

Companion
object
Supertypes
trait Orderable[LocalDate]
trait Ordering[LocalDate]
trait PartialOrdering[LocalDate]
trait Equiv[LocalDate]
trait Serializable
trait Comparator[LocalDate]
class Object
trait Matchable
class Any
Show all
Known subtypes
object OrderableLong extends OrderableLong

Attributes

Companion
trait
Supertypes
trait Orderable[Long]
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Serializable
trait Comparator[Long]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableLong extends Orderable[Long]

Attributes

Companion
object
Supertypes
trait Orderable[Long]
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Serializable
trait Comparator[Long]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait ValuableLong
object ValuableLong
object OrderableLong
trait LongCounter
object longCounter
Show all

Attributes

Companion
trait
Supertypes
trait Ordering[LongRational]
trait PartialOrdering[LongRational]
trait Equiv[LongRational]
trait Serializable
trait Comparator[LongRational]
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
object
Supertypes
trait Ordering[LongRational]
trait PartialOrdering[LongRational]
trait Equiv[LongRational]
trait Serializable
trait Comparator[LongRational]
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Supertypes
trait Orderable[String]
trait Ordering[String]
trait PartialOrdering[String]
trait Equiv[String]
trait Serializable
trait Comparator[String]
class Object
trait Matchable
class Any
Show all
Self type
trait OrderableString extends Orderable[String]

Attributes

Companion
object
Supertypes
trait Orderable[String]
trait Ordering[String]
trait PartialOrdering[String]
trait Equiv[String]
trait Serializable
trait Comparator[String]
class Object
trait Matchable
class Any
Show all
Known subtypes

Value members

Concrete methods

def apply[X : Orderable]: Orderable[X]
def comparison(op: String, x: Any, y: Any): Try[Boolean]
def comparisonTyped[X](op: String, x: Try[X], y: Try[X])(implicit ev: Orderable[X]): Try[Boolean]
def parse[X](x: String)(implicit evidence$1: Orderable[X], pattern: String): Try[X]

Method to convert a String into an Orderable

Method to convert a String into an Orderable

Value parameters

pattern

(implicit) the pattern (template) of the String, for example, when parsing a date string, do we put year, month or day first?

x

a String

Attributes

Returns

a Try[X]