Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.3.0)

E80355-01

Boolean Class Reference

#include <coherence/lang/Boolean.hpp>

Inherits Primitive< bool >.

List of all members.


Detailed Description

An immutable boolean value.

Author:
jh 2008.04.01

Public Types

typedef spec::Handle Handle
 Boolean Handle definition.
typedef spec::View View
 Boolean View definition.
typedef spec::Holder Holder
 Boolean Holder definition.

Static Public Member Functions

static Handle valueOf (bool f)
 Get an instance of a Boolean that represents true or false.
static String::View toString (bool f)
 Return "true" or "false" for a given boolean value.

Member Function Documentation

static Handle valueOf ( bool  f  )  [static]

Get an instance of a Boolean that represents true or false.

Parameters:
f the instance of Boolean to return
Returns:
the instance of boolean that represents true or false based on f

static String::View toString ( bool  f  )  [static]

Return "true" or "false" for a given boolean value.

Parameters:
f the boolean value
Returns:
"true" or "false" based on f
Since:
12.2.1.3


The documentation for this class was generated from the following file:
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.