PolygonOrdering

io.github.scala_tessella.tessella.RegularPolygon.PolygonOrdering
object PolygonOrdering extends Ordering[Polygon]

Polygons ordered by ascending number of sides

Attributes

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

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def compare(a: Polygon, b: Polygon): Int

Inherited methods

override def equiv(x: Polygon, y: Polygon): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from:
Ordering
override def gt(x: Polygon, y: Polygon): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def gteq(x: Polygon, y: Polygon): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean

Attributes

Inherited from:
Ordering
override def lt(x: Polygon, y: Polygon): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def lteq(x: Polygon, y: Polygon): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def max[U <: Polygon](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: Polygon](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => Polygon): Ordering[U]

Attributes

Inherited from:
Ordering
def orElse(other: Ordering[Polygon]): Ordering[Polygon]

Attributes

Inherited from:
Ordering
def orElseBy[S](f: Polygon => S)(implicit ord: Ordering[S]): Ordering[Polygon]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[Polygon]

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def reversed(): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: Polygon <: <FromJavaObject>, _ <: U]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: Polygon <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: Polygon <: <FromJavaObject>]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: Polygon <: <FromJavaObject>]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: Polygon <: <FromJavaObject>]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: Polygon <: <FromJavaObject>]): Comparator[Polygon]

Attributes

Inherited from:
Comparator
def tryCompare(x: Polygon, y: Polygon): Some[Int]

Attributes

Inherited from:
Ordering

Implicits

Inherited implicits

implicit def mkOrderingOps(lhs: Polygon): OrderingOps

Attributes

Inherited from:
Ordering