Package

eu.shiftforward.apso

collection

Permalink

package collection

Provides new types of collections and utility classes and methods for handling and extending existing ones.

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. final class DeboxMap[A, B] extends (A) ⇒ B with Serializable

    Permalink

    An hash map optimized for performance, not incurring in boxing while storing primitive values.

    An hash map optimized for performance, not incurring in boxing while storing primitive values.

    A

    the type of the keys

    B

    the type of the values

  2. class InvalidSizes extends Exception

    Permalink

    Exception thrown when a DeboxMap factory is called with a different number of keys and values.

  3. class MapOverflow extends Exception

    Permalink

    Exception thrown when a DeboxMap factory is called requiring an invalid preallocated size.

  4. class NotFound extends Exception

    Permalink

    Exception thrown when trying to access a non-existent key in a DeboxMap.

  5. case class Trie[K, V](value: Option[V] = None, nodes: Map[K, Trie[K, V]] = Map[K, Trie[K, V]]()) extends Product with Serializable

    Permalink

    An immutable implementation of a Trie (https://en.wikipedia.org/wiki/Trie).

    An immutable implementation of a Trie (https://en.wikipedia.org/wiki/Trie).

    K

    the type param of keys in the nodes

    V

    the type param of values stored in the trie

    value

    the optional value of this node

    nodes

    the descendants of this node

  6. class Typed[A] extends AnyRef

    Permalink
  7. class TypedMap[T] extends AnyRef

    Permalink

    Typed map that associates types with values.

    Typed map that associates types with values. Based on http://stackoverflow.com/a/7337610/4243494

  8. class HMap[KeyType[_] <: HMapKey[_]] extends AnyRef

    Permalink

    A map containing keys of heterogeneous values.

    A map containing keys of heterogeneous values. The keys in this map must implement HMapKey[V], where V is the type of its associated key.

    KeyType

    the type of keys used in this map

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  9. class HMapKey[V] extends AnyRef

    Permalink

    A key of an HMap.

    A key of an HMap.

    V

    the type of the value associated with this key

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

Value Members

  1. object DeboxMap extends Serializable

    Permalink

    Object containing factory methods for DeboxMaps.

  2. object HMap

    Permalink

    Object containing factory methods for HMaps.

  3. object Typed

    Permalink
  4. object TypedMap

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped