c

com.cra.figaro.library.collection

ContainerElement

class ContainerElement[Index, Value] extends AnyRef

Represents an element whose value is a container.

Elements that are created by operations are put in the same universe as this element.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContainerElement
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContainerElement(element: Element[Container[Index, Value]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregate[Value2](start: ⇒ Value2)(seqop: (Value2, Value) ⇒ Value2, combop: (Value2, Value2) ⇒ Value2): Element[Value2]

    Aggregate the results of applying an operator to each element.

  5. def apply(i: Index): Element[Value]

    Creates an element whose value is the value at the corresponding index of the value of the process element.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def chain[Value2](f: (Value) ⇒ Element[Value2]): ContainerElement[Index, Value2]

    Chain the given function pointwise through the value of the container element.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def count(f: (Value) ⇒ Boolean): Element[Int]

    Returns an element representing the number of elements in the container whose values satisfy the predicate.

  10. val element: Element[Container[Index, Value]]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def exists(pred: (Value) ⇒ Boolean): Element[Boolean]

    Returns an element representing whether the value of any element in the container satisfies the predicate.

  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def foldLeft[Value2](start: Value2)(f: (Value2, Value) ⇒ Value2): Element[Value2]

    Produce the element over values obtained by selecting a particular container and folding through its values.

  16. def foldRight[Value2](start: Value2)(f: (Value, Value2) ⇒ Value2): Element[Value2]

    Produce the element over values obtained by selecting a particular container and folding through its values.

  17. def forall(pred: (Value) ⇒ Boolean): Element[Boolean]

    Returns an element representing whether the values of all elements in the container satisfy the predicate.

  18. def get(i: Index): Element[Option[Value]]

    Creates an element whose value is the value at the corresponding index in the value of the container element, if the index is in range, None otherwise.

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def length: Element[Int]

    Returns an element representing the length of the container.

  23. def map[Value2](f: (Value) ⇒ Value2): ContainerElement[Index, Value2]

    Map the given function pointwise through the value of the container element.

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def randomElement(): Element[Value]

    Select a random element from the container.

    Select a random element from the container. Ensures that no IndexOutOfRange exception should be thrown.

  28. def reduce(f: (Value, Value) ⇒ Value): Element[Value]

    Produce the element over values obtained by selecting a particular container and reducing through its values.

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped