public class CodeWScope extends Code
| Constructor and Description |
|---|
CodeWScope(java.lang.String code,
BSONObject scope)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
BSONObject |
getScope()
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.
|
int |
hashCode() |
public CodeWScope(java.lang.String code,
BSONObject scope)
code - the codescope - the scopepublic BSONObject getScope()