internal.util

QueueUtils

Related Doc: package util

object QueueUtils

Generic Queue ordering utility.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueueUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copy[T](q: Queue[T]): Queue[T]

    Simply copies a Queue.

    Simply copies a Queue.

    q

    the Queue to copy.

    returns

    a new Queue containing all elements of q.

  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hasPath[T](from: (T) ⇒ Boolean, to: (T) ⇒ Boolean, in: Seq[T]): Boolean

    Checks if the given Queue 'in' of type T contains a chain (non-empty queue) starting with an element matching constraint 'from' and ending with one matching 'to'.

    Checks if the given Queue 'in' of type T contains a chain (non-empty queue) starting with an element matching constraint 'from' and ending with one matching 'to'.

    from

    the starting constraint

    to

    the end constraint

    in

    the queue to check

    returns

    true if the given Seq 'in' of type T contains a chain (non-empty seq) starting with an element matching constraint 'from' and ending with one matching 'to', false otherwise.

  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def remove[T](elem: T, q: Queue[T]): Queue[T]

    Removes an element of type T from the given Queue.

    Removes an element of type T from the given Queue.

    elem

    the element to remove

    q

    the queue to remove the element from.

    returns

    a new Queue with all elements of q except elem.

  18. def swap[T](l: Queue[T], a: T, b: T): Queue[T]

    Swap to Elements of type T ind the given Queue l.

    Swap to Elements of type T ind the given Queue l.

    l

    The queue to swap the elements in it.

    a

    Element a that gets swapped with b.

    b

    Element b that gets swapped with a.

    returns

    a new Queue containing all elements of l but element a and b swapped.

  19. def swapWithOrder[T](l: Queue[T], t: (T, T)): Queue[T]

    The same as swap but only swaps of element a and b are occurring in that exact order like given with parameter t.

    The same as swap but only swaps of element a and b are occurring in that exact order like given with parameter t.

    l

    The queue to swap the elements in it.

    t

    A tuple containing element a (as ._1) and b (as ._2) in the necessary order.

    returns

    a new Queue containing all elements of l but element a and b swapped if they were found in the order given with t.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped