List of usage examples for jdk.nashorn.internal.objects NativeBoolean constructor
@Constructor(arity = 1) public static Object constructor(final boolean newObj, final Object self, final Object value)
From source file:org.bson.jvm.nashorn.NativeBooleanCodec.java
License:Apache License
public NativeBoolean decode(BsonReader reader, DecoderContext decoderContext) { return (NativeBoolean) NativeBoolean.constructor(true, null, reader.readBoolean()); }