Example usage for jdk.nashorn.internal.objects NativeBoolean getValue

List of usage examples for jdk.nashorn.internal.objects NativeBoolean getValue

Introduction

In this page you can find the example usage for jdk.nashorn.internal.objects NativeBoolean getValue.

Prototype

public boolean getValue() 

Source Link

Document

Get the value for this NativeBoolean

Usage

From source file:org.bson.jvm.nashorn.NativeBooleanCodec.java

License:Apache License

public void encode(BsonWriter writer, NativeBoolean nativeBoolean, EncoderContext encoderContext) {
    writer.writeBoolean(nativeBoolean.getValue());
}