DispatchQuery

scroll.internal.dispatch.DispatchQuery
See theDispatchQuery companion object
case class DispatchQuery(from: From, to: To, through: Through, bypassing: Bypassing, var _sortedWith: Option[(AnyRef, AnyRef) => Boolean] = ...)

Composed dispatch query, i.e., applying the composition of all dispatch queries the given set of edges. All provided queries must be side-effect free!

Value parameters

bypassing

query specifying all elements to be left out for the role dispatch query

from

query selecting the starting element for the role dispatch query

through

query specifying intermediate elements for the role dispatch query

to

query selecting the end element for the role dispatch query

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

infix def Bypassing(sel: Selector): DispatchQuery
Extension method from DispatchQuery
infix def From(sel: Selector): DispatchQuery
Extension method from DispatchQuery
infix def Through(sel: Selector): DispatchQuery
Extension method from DispatchQuery
infix def To(sel: Selector): DispatchQuery
Extension method from DispatchQuery
def filter(anys: Seq[AnyRef]): Seq[AnyRef]

Applies the composition filters and sorting function to the given set of objects.

Applies the composition filters and sorting function to the given set of objects.

Value parameters

anys

The Seq of objects to filter and sort

Attributes

Returns

the filtered and sorted Seq of objects

def sortedWith(f: PartialFunction[(AnyRef, AnyRef), Boolean]): DispatchQuery

Set the function to later sort all dynamic extensions during DispatchQuery.filter.

Set the function to later sort all dynamic extensions during DispatchQuery.filter.

Value parameters

f

the sorting function

Attributes

Returns

this

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product