18 #ifndef _DECAF_LANG_BOOLEAN_H_ 19 #define _DECAF_LANG_BOOLEAN_H_ 57 Boolean(
const std::string& value);
71 std::string toString()
const;
81 virtual int compareTo(
const Boolean& b)
const;
96 virtual bool operator<(
const Boolean& value)
const;
102 return this->value == b.value;
113 virtual int compareTo(
const bool& b)
const;
120 virtual bool operator==(
const bool& value)
const;
128 virtual bool operator<(
const bool& value)
const;
134 return this->value == b;
146 static Boolean valueOf(
bool value);
154 static Boolean valueOf(
const std::string& value);
163 static bool parseBoolean(
const std::string& value);
172 static std::string toString(
bool value);
static const Boolean _FALSE
The Class object representing the primitive false boolean.
Definition: Boolean.h:40
static const Boolean _TRUE
The Class object representing the primitive type boolean.
Definition: Boolean.h:45
bool equals(const Boolean &b) const
Definition: Boolean.h:101
virtual ~Boolean()
Definition: Boolean.h:59
#define DECAF_API
Definition: Config.h:29
bool equals(const bool &b) const
Definition: Boolean.h:133
bool booleanValue() const
Definition: Boolean.h:64
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25