Class/Object

core3.database.containers

ContainerRef

Related Docs: object ContainerRef | package containers

Permalink

final class ContainerRef[A] extends AnyRef

Container for containers.

Note: Only useful in caching / memory optimization scenarios and should probably be avoided for anything else.

A

concrete container type/class

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

Instance Constructors

  1. new ContainerRef(container: Option[A])

    Permalink

    container

    the container to be referenced

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def contains[B >: A](x: B): Boolean

    Permalink
  7. def drop(containerRemoved: Boolean): Unit

    Permalink

    Drops the reference to the stored container, if any.

    Drops the reference to the stored container, if any.

    containerRemoved

    set to true, if the container has been deleted; set to false if it exists in a database and has only been evicted from a cache.

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def exists(f: (A) ⇒ Boolean): Boolean

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatMap[B](f: (A) ⇒ ContainerRef[B]): ContainerRef[B]

    Permalink
  13. def get: A

    Permalink

    Directly retrieves the container from the underlying Option.

    Directly retrieves the container from the underlying Option.

    returns

    the stored container

    Exceptions thrown

    NoSuchElementException if the underlying option is empty

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getOrElse[B >: A](default: ⇒ B): B

    Permalink
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def isDefined: Boolean

    Permalink
  18. def isEmpty: Boolean

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def iterator: Iterator[A]

    Permalink
  21. def map[B](f: (A) ⇒ B): ContainerRef[B]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def nonEmpty: Boolean

    Permalink
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def replace(replacement: A): Unit

    Permalink

    Replaces the stored container, if any, with the supplied container.

    Replaces the stored container, if any, with the supplied container.

    replacement

    the container to use as a replacement

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

    Permalink
    Definition Classes
    AnyRef
  28. def toIterable: Iterable[A]

    Permalink
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def wasRemoved: Boolean

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped