com.nicta.scoobi.core

Association1

Related Docs: object Association1 | package core

sealed trait Association1[+K, +V] extends AnyRef

An association of a key to 1 or many values.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Association1
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val key: K

    The key.

  2. abstract val values: Iterable1[V]

    One or many values.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def ***[KK >: K, W](w: Association1[KK, W])(implicit S: Semigroup[KK]): Association1[KK, (V, W)]

    Zip the values of this association with the given association to produce an iterable of pairs.

    Zip the values of this association with the given association to produce an iterable of pairs. Alias for zip.

  4. def :->[W](f: (V) ⇒ W): Association1[K, W]

    Map a function on the association.

    Map a function on the association. Synonym for map.

  5. def <*>:[KK >: K, W](f: Association1[KK, (V) ⇒ W])(implicit S: Semigroup[KK]): Association1[KK, W]

    Zip the given association with this association, appending on keys and values.

    Zip the given association with this association, appending on keys and values. Alias for ap.

  6. def <-:[L](f: (K) ⇒ L): Association1[L, V]

    Run a function on the key to a new key.

    Run a function on the key to a new key. Synonym for mapKey.

  7. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def ap[KK >: K, W](f: Association1[KK, (V) ⇒ W])(implicit S: Semigroup[KK]): Association1[KK, W]

    Zip the given association with this association, appending on keys and values.

    Zip the given association with this association, appending on keys and values. Alias for <*>:.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def bimap[W, L](f: (K) ⇒ L, g: (V) ⇒ W): Association1[L, W]

    Map two functions on the key and values (binary map).

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def exists(p: (V) ⇒ Boolean): Boolean

    True if any values of the association satisfy the given predicate.

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def find(p: (V) ⇒ Boolean): Option[V]

    Return the first element in the values satisfying the given predicate.

  17. def firstValue: V

    Return the first value in the associated values.

  18. def forall(p: (V) ⇒ Boolean): Boolean

    True if all values of the association satisfy the given predicate.

  19. def foreach[W](f: (V) ⇒ Unit): Unit

    Run an effect on each value.

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def iterator: Iterator1[V]

    Return an iterator on the values.

  24. def map[W](f: (V) ⇒ W): Association1[K, W]

    Map a function on the association.

    Map a function on the association. Synonym for :->.

  25. def mapKey[L](f: (K) ⇒ L): Association1[L, V]

    Run a function on the key to a new key.

    Run a function on the key to a new key. Synonym for <-:.

  26. def mapValues[W](f: (Iterable1[V]) ⇒ Iterable1[W]): Association1[K, W]

    Run a function on the values to new values.

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def nvalues: Int

    Return the number of values in the association.

  31. def productKey[L, VV >: V](w: Association1[L, VV]): Association1[(K, L), VV]

    Zip the key of this association with the given association to produce an iterable of pairs.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    Association1 → AnyRef → Any
  34. def traverseKey[F[_], L, VV >: V](f: (K) ⇒ F[L])(implicit arg0: Functor[F]): F[Association1[L, VV]]

    Traverse this association with the given function on an arbitrary functor.

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def zip[KK >: K, W](w: Association1[KK, W])(implicit S: Semigroup[KK]): Association1[KK, (V, W)]

    Zip the values of this association with the given association to produce an iterable of pairs.

    Zip the values of this association with the given association to produce an iterable of pairs. Alias for ***.

Inherited from AnyRef

Inherited from Any

Ungrouped