class AnyOrdering[N] extends Ordering[N]
Ordering for Any with the following rules: numerical > string > any other reference type. If a reference type is not a subclass of Ordered, it will be ordered according to its toString value.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnyOrdering
- Ordering
- PartialOrdering
- Equiv
- Serializable
- Serializable
- Comparator
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AnyOrdering()
Type Members
-
sealed
case class
FloatType(value: RichDouble) extends Type with Product with Serializable
- Attributes
- protected
-
sealed
case class
IntegerType(value: RichLong) extends Type with Product with Serializable
- Attributes
- protected
-
class
Ops extends AnyRef
- Definition Classes
- Ordering
-
sealed
case class
RefType(value: AnyRef) extends Type with Product with Serializable
- Attributes
- protected
-
sealed
case class
StringType(value: WrappedString) extends Type with Product with Serializable
- Attributes
- protected
-
sealed
trait
Type extends AnyRef
- Attributes
- protected
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to any2stringadd[AnyOrdering[N]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AnyOrdering[N], B)
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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
- @native() @throws( ... )
-
def
compare(a: N, b: N): Int
- Definition Classes
- AnyOrdering → Ordering → Comparator
-
def
ensuring(cond: (AnyOrdering[N]) ⇒ Boolean, msg: ⇒ Any): AnyOrdering[N]
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AnyOrdering[N]) ⇒ Boolean): AnyOrdering[N]
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AnyOrdering[N]
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AnyOrdering[N]
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
equiv(x: N, y: N): Boolean
- Definition Classes
- Ordering → PartialOrdering → Equiv
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to StringFormat[AnyOrdering[N]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
gt(x: N, y: N): Boolean
- Definition Classes
- Ordering → PartialOrdering
-
def
gteq(x: N, y: N): Boolean
- Definition Classes
- Ordering → PartialOrdering
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lt(x: N, y: N): Boolean
- Definition Classes
- Ordering → PartialOrdering
-
def
lteq(x: N, y: N): Boolean
- Definition Classes
- Ordering → PartialOrdering
-
def
max(x: N, y: N): N
- Definition Classes
- Ordering
-
def
min(x: N, y: N): N
- Definition Classes
- Ordering
-
implicit
def
mkOrderingOps(lhs: N): Ops
- Definition Classes
- Ordering
-
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()
-
def
on[U](f: (U) ⇒ N): Ordering[U]
- Definition Classes
- Ordering
-
def
reverse: Ordering[N]
- Definition Classes
- Ordering → PartialOrdering
-
def
reversed(): Comparator[N]
- Definition Classes
- Comparator
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
thenComparing[U <: Comparable[_ >: U]](arg0: Function[_ >: N, _ <: U]): Comparator[N]
- Definition Classes
- Comparator
-
def
thenComparing[U](arg0: Function[_ >: N, _ <: U], arg1: Comparator[_ >: U]): Comparator[N]
- Definition Classes
- Comparator
-
def
thenComparing(arg0: Comparator[_ >: N]): Comparator[N]
- Definition Classes
- Comparator
-
def
thenComparingDouble(arg0: ToDoubleFunction[_ >: N]): Comparator[N]
- Definition Classes
- Comparator
-
def
thenComparingInt(arg0: ToIntFunction[_ >: N]): Comparator[N]
- Definition Classes
- Comparator
-
def
thenComparingLong(arg0: ToLongFunction[_ >: N]): Comparator[N]
- Definition Classes
- Comparator
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryCompare(x: N, y: N): Some[Int]
- Definition Classes
- Ordering → PartialOrdering
-
def
typeOf(x: Any): Product with Serializable with Type
- Attributes
- protected
-
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
- @native() @throws( ... )
-
def
→[B](y: B): (AnyOrdering[N], B)
- Implicit
- This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.