package collection
- Alphabetic
- Public
- All
Type Members
-
class
BiMap[K, V] extends Map[K, V] with PartialFunction[K, V]
An implementation of a bidirectional map, backed by an instance of com.google.common.collect.ImmutableBiMap.
An implementation of a bidirectional map, backed by an instance of com.google.common.collect.ImmutableBiMap.
- K
the key type
- V
the value type
-
trait
CloseableIterator[+A] extends Iterator[A] with Closeable
An
Iteratorthat exposes aclose()method which closes an underlying resource. -
class
DupelessSeq[A] extends AbstractSeq[A] with IndexedSeq[A] with GenericTraversableTemplate[A, DupelessSeq] with IndexedSeqLike[A, DupelessSeq[A]]
A sequence without duplicates, and a constant-time
containslookup. -
final
class
Flyweight[A, B] extends AnyRef
A simple implementation of the flyweight pattern
-
final
case class
Matrix[A](rows: Vector[Vector[A]]) extends Product with Serializable
An extremely simple implementation of a two-dimensional array.
-
class
OrderedMap[K, +V] extends Map[K, V] with MapLike[K, V, OrderedMap[K, V]]
A
Mapthat retains insertion order when iterated over. -
final
case class
Rank(ordinal: Int, totalCount: Int, rankIsShared: Boolean) extends Product with Serializable
A rank, indicating the ordinal of an element, the total number of elements, and whether more than one element shares the rank.
A rank, indicating the ordinal of an element, the total number of elements, and whether more than one element shares the rank. Examples of this concept include things like "first of ten" and "equal-sixth of 20".
- ordinal
The rank (zero-indexed)
- totalCount
The total number of records
- rankIsShared
True if more than one element shared this ordinal rank
-
class
WrappingCloseableIterator[+A] extends CloseableIterator[A]
An implementation of
CloseableIterator, which combines anIteratorwith aCloseable.An implementation of
CloseableIterator, which combines anIteratorwith aCloseable.- A
the element type
Value Members
- object BiMap
- object CloseableIterator
- object CollectionUtils
- object DupelessSeq extends IndexedSeqFactory[DupelessSeq]
- object Flyweight
- object IteratorUtils
- object Matrix extends Serializable
- object OrderedMap extends ImmutableMapFactory[OrderedMap]
- object Rank extends Serializable