Packages

p

au.id.tmm.utilities

collection

package collection

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. trait CloseableIterator[+A] extends Iterator[A] with Closeable

    An Iterator that exposes a close() method which closes an underlying resource.

  3. 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 contains lookup.

  4. final class Flyweight[A, B] extends AnyRef

    A simple implementation of the flyweight pattern

  5. final case class Matrix[A](rows: Vector[Vector[A]]) extends Product with Serializable

    An extremely simple implementation of a two-dimensional array.

  6. class OrderedMap[K, +V] extends Map[K, V] with MapLike[K, V, OrderedMap[K, V]]

    A Map that retains insertion order when iterated over.

  7. 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

  8. class WrappingCloseableIterator[+A] extends CloseableIterator[A]

    An implementation of CloseableIterator, which combines an Iterator with a Closeable.

    An implementation of CloseableIterator, which combines an Iterator with a Closeable.

    A

    the element type

Value Members

  1. object BiMap
  2. object CloseableIterator
  3. object CollectionUtils
  4. object DupelessSeq extends IndexedSeqFactory[DupelessSeq]
  5. object Flyweight
  6. object IteratorUtils
  7. object Matrix extends Serializable
  8. object OrderedMap extends ImmutableMapFactory[OrderedMap]
  9. object Rank extends Serializable

Ungrouped