Package

scales.utils

collection

Permalink

package collection

The collection pacakge provides the scales.utils.collection.Tree

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. collection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BuilderHelper[X, CC] extends AnyRef

    Permalink
  2. class CapturedIterator[A] extends Iterator[A]

    Permalink

    Array backed buffer, restart returns the captured data and then rejoins the original iterator

  3. trait ConcurrentMapUtils extends AnyRef

    Permalink

    Simple helper functions to get and remove ConcurrentLinkedQueues from a ConcurrentHashMap

  4. case class DuplicateFilter[T](orig: Iterable[T])(implicit predicate: Equal[T]) extends Iterable[T] with Product with Serializable

    Permalink

    Remove neighbouring duplicates based on a given predicate (defaults to _ eq _).

    Remove neighbouring duplicates based on a given predicate (defaults to _ eq _).

    For example (1,2,2,3) would be converted to (1,2,3)

  5. trait FlatMapImplicits extends AnyRef

    Permalink
  6. trait FlatMapIterator[+A] extends Iterator[A]

    Permalink

    Backwards compat for 2.8.1, its simply Iterator for 2.9.x

  7. trait ImmutableArrayProxy[+A] extends IndexedSeq[A] with IndexedSeqOptimized[A, ImmutableArrayProxy[A]] with GenericTraversableTemplate[A, ImmutableArrayProxy]

    Permalink

    Wraps behaviour of ImmutableArray like objects, when the array is greater than 31 it will be swapped to Vector.

  8. case class ImmutableArrayProxyBuilder[A]() extends Builder[A, ImmutableArrayProxy[A]] with Product with Serializable

    Permalink

    Build array first then vector as needed

  9. case class ImmutableArrayProxyLikeThing[Repr, A]()(implicit cbf: CanBuildFrom[Repr, A, ImmutableArrayProxy[A]]) extends SeqLikeThing[Repr, A, ImmutableArrayProxy] with Product with Serializable

    Permalink
  10. case class IndexedSeqLikeThing[Repr, A]()(implicit cbf: CanBuildFrom[Repr, A, IndexedSeq[A]]) extends SeqLikeThing[Repr, A, IndexedSeq] with Product with Serializable

    Permalink
  11. trait IterableUtils extends AnyRef

    Permalink
  12. trait IterableUtilsImplicits extends FlatMapImplicits

    Permalink
  13. case class ListSeqLikeThing[Repr, A]()(implicit cbf: CanBuildFrom[Repr, A, List[A]]) extends SeqLikeThing[Repr, A, List] with Product with Serializable

    Permalink
  14. class ListSet[A] extends Iterable[A] with Serializable

    Permalink

    Based on Scala ListSet, users provide the comparisom operator and comparisom type for lookups.

    Based on Scala ListSet, users provide the comparisom operator and comparisom type for lookups.

    Because the equality is defined outside of the object + always acts as add/replace

    A

    the type of the elements contained in this list set.

    Version

    1.0, 30/12/2010

  15. sealed trait Once[T] extends AnyRef

    Permalink

    Only created once and via calcOnce

  16. case class SectionWalk[Section](section: Section, hasChildren: Boolean = false, isStart: Boolean = true) extends Product with Serializable

    Permalink

    IF hasChildren then isStart indicates that this particular occurence is the start of the element or the end

  17. trait SeqLikeThing[Repr, A, X[_]] extends AnyRef

    Permalink

    2.13 removes seqlike etc.

    2.13 removes seqlike etc. so we need to behave like it, it also deprecates canbuild fromm. This interface represents the operations on a seq used by scales

  18. trait StackUtils extends AnyRef

    Permalink
  19. trait Tree[Item <: LeftLike[Item, Tree[Item, Section, CC]], Section, CC[_]] extends RightLike[Item, Tree[Item, Section, CC]]

    Permalink
  20. trait Trees extends AnyRef

    Permalink

Value Members

  1. object BuilderHelper

    Permalink
  2. object ImmutableArrayProxy extends SeqFactory[ImmutableArrayProxy]

    Permalink

    Starts an ImmutableArrayProxy and provides the CanBuildFrom

  3. object ImmutableArrayProxyBuilder extends Serializable

    Permalink
  4. object ListSet extends Serializable

    Permalink
  5. object SeqLikeThing

    Permalink
  6. object Tree

    Permalink
  7. package array

    Permalink
  8. package path

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped