case class Cleared[A](next: Env, key: Key[A]) extends Env with Product with Serializable
An environment without key
. Lookups for other keys
are forwarded to next
.
- Alphabetic
- By Inheritance
- Cleared
- Serializable
- Serializable
- Product
- Equals
- Env
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[B](key: Key[B]): B
Retrieve the current definition of a key.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bound[A](key: Key[A], value: A): Env
Create a derived environment where
key
is bound tovalue
; previous bindings ofkey
are shadowed.Create a derived environment where
key
is bound tovalue
; previous bindings ofkey
are shadowed.- Definition Classes
- Env
-
final
def
cleared(key: Key[_]): Env
Clear the binding for the given key.
Clear the binding for the given key. Lookups for
key
will be negative in the returned environment.- Definition Classes
- Env
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
contains[B](key: Key[B]): Boolean
Tells whether
key
is defined in this environment. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get[B](key: Key[B]): Option[B]
Retrieve the current definition of a key, but only if it is defined.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getOrElse[B](key: Key[B], orElse: () ⇒ B): B
Retrieve the current definition of a key if it is defined.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: Key[A]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val next: Env
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Cleared → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )