public class CodeWScope extends Code
Constructor and Description |
---|
CodeWScope(String code,
BSONObject scope)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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(String code, BSONObject scope)
code
- the codescope
- the scopepublic BSONObject getScope()
Copyright © 2016. All rights reserved.