package collection
The collection pacakge provides the scales.utils.collection.Tree
- Alphabetic
- By Inheritance
- collection
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait BuilderHelper[X, CC] extends AnyRef
- class CapturedIterator[A] extends Iterator[A]
Array backed buffer, restart returns the captured data and then rejoins the original iterator
- trait ConcurrentMapUtils extends AnyRef
Simple helper functions to get and remove ConcurrentLinkedQueues from a ConcurrentHashMap
- 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)
- trait FlatMapImplicits extends AnyRef
- trait FlatMapIterator[+A] extends Iterator[A]
Backwards compat for 2.8.1, its simply Iterator for 2.9.x
- trait ImmutableArrayProxy[+A] extends IndexedSeq[A]
Wraps behaviour of ImmutableArray like objects, when the array is greater than 31 it will be swapped to Vector.
- case class ImmutableArrayProxyBuilder[A]() extends Builder[A, ImmutableArrayProxy[A]] with Product with Serializable
Build array first then vector as needed
- case class ImmutableArrayProxyLikeThing[Repr, A]() extends SeqLikeThing[Repr, A, ImmutableArrayProxy] with Product with Serializable
- case class IndexedSeqLikeThing[Repr, A]() extends SeqLikeThing[Repr, A, IndexedSeq] with Product with Serializable
- trait IterableUtils extends AnyRef
- trait IterableUtilsImplicits extends FlatMapImplicits
- case class ListSeqLikeThing[Repr, A]() extends SeqLikeThing[Repr, A, List] with Product with Serializable
- 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
- sealed trait Once[T] extends AnyRef
Only created once and via calcOnce
- 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
- trait SeqLikeThing[Repr, A, X[_]] extends AnyRef
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
- trait StackUtils extends AnyRef
- trait Tree[Item <: LeftLike[Item, Tree[Item, Section, CC]], Section, CC[_]] extends RightLike[Item, Tree[Item, Section, CC]]
- trait Trees extends AnyRef
Value Members
- object BuilderHelper
- object ImmutableArrayProxy extends SeqFactory[ImmutableArrayProxy]
Starts an ImmutableArrayProxy and provides the CanBuildFrom
- object ImmutableArrayProxyBuilder extends Serializable
- object ListSet extends Serializable
- object SeqLikeThing
- object Tree