scales.utils

collection

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ArraySet[A] extends Iterable[A]

    ArraySet is an array backed set, with both the space savings and hit on performance.

    ArraySet is an array backed set, with both the space savings and hit on performance. The data is compared on the basis of the Equal type class instance provided only (no hashCodes etc).

  2. trait ArraySetsFactory[A] extends AnyRef

    This mechanism exists to drop the outer pointer and class manifest instance.

    This mechanism exists to drop the outer pointer and class manifest instance. Creates instances of ArraySet of varying size.

  3. class CapturedIterator[A] extends Iterator[A]

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

  4. trait ConcurrentMapUtils extends AnyRef

    Simple helper functions to get and remove ConcurrentLinkedQueues from a ConcurrentHashMap

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

    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)

  6. trait FlatMapImplicits extends AnyRef

  7. trait FlatMapIterator[+A] extends Iterator[A]

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

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

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

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

    Build array first then vector as needed

  10. trait IterableUtils extends AnyRef

  11. trait IterableUtilsImplicits extends FlatMapImplicits

  12. class ListSet[A] extends Iterable[A] with Serializable

    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

  13. sealed trait Once[T] extends AnyRef

    Only created once and via calcOnce

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

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

  15. trait StackUtils extends AnyRef

  16. trait Tree[Item <: LeftLike[Item, Tree[Item, Section, CC]], Section, CC[C] <: IndexedSeqLike[C, CC[C]]] extends RightLike[Item, Tree[Item, Section, CC]]

  17. trait Trees extends AnyRef

Value Members

  1. object ArraySet

  2. object ImmutableArrayProxy extends SeqFactory[ImmutableArrayProxy]

    Starts an ImmutableArrayProxy and provides the CanBuildFrom

  3. object ImmutableArrayProxyBuilder extends Serializable

  4. object ListSet extends Serializable

  5. object Tree

  6. package array

  7. package path

Inherited from AnyRef

Inherited from Any

Ungrouped