Traversable

org.encalmo.data.Traversable
See theTraversable companion object
trait Traversable[N]

Abstraction of the collection of items accessible mainly using the {foreach} method.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def foreach[U](f: N => U): Unit

Concrete methods

def contains(item: N): Boolean
def drop(count: Int): Traversable[N]
def exists(p: N => Boolean): Boolean
def filter(p: N => Boolean): Traversable[N]
def filterNot(p: N => Boolean): Traversable[N]
def find(p: N => Boolean): Option[N]
def foldLeft[R](initial: R)(f: (R, N) => R): R
def get(index: Int): N
def map[M](m: N => M): Traversable[M]
def maxBy[B](f: N => B)(implicit ord: Ordering[B]): N
def minBy[B](f: N => B)(implicit ord: Ordering[B]): N
inline def nonEmpty: Boolean
inline def sameElements[B >: N](that: IterableOnce[B]): Boolean
def size: Int
def sortedValuesOfGroupBy[K](f: N => K)(s: Iterable[N] => Int): Traversable[Traversable[N]]
def take(count: Int): Traversable[N]
def toHashSet: HashSet[N]
def toMutableSeq: Seq[N]
def toSeq: Seq[N]
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def withFilter(p: N => Boolean): Traversable[N]