18#ifndef _DECAF_LANG_BOOLEAN_H_
19#define _DECAF_LANG_BOOLEAN_H_
103 return this->value == b.value;
135 return this->value == b;
virtual bool operator<(const Boolean &value) const
Compares this object to another and returns true if this object is considered to be less than the one...
virtual int compareTo(const bool &b) const
Compares this Boolean instance with another.
static Boolean valueOf(const String &value)
static const Boolean _FALSE
The Class object representing the primitive false boolean.
Definition Boolean.h:41
virtual bool operator<(const bool &value) const
Compares this object to another and returns true if this object is considered to be less than the one...
virtual int compareTo(const Boolean &b) const
Compares this Boolean instance with another.
Boolean(const String &value)
bool equals(const bool &b) const
Definition Boolean.h:134
static Boolean valueOf(bool value)
virtual bool operator==(const bool &value) const
Compares equality between this object and the one passed.
static std::string toString(bool value)
Converts the bool to a String representation.
bool booleanValue() const
Definition Boolean.h:65
static bool parseBoolean(const String &value)
Parses the String passed and extracts an bool.
bool equals(const Boolean &b) const
Definition Boolean.h:102
virtual ~Boolean()
Definition Boolean.h:60
static const Boolean _TRUE
The Class object representing the primitive type boolean.
Definition Boolean.h:46
virtual bool operator==(const Boolean &value) const
Compares equality between this object and the one passed.
std::string toString() const
This interface imposes a total ordering on the objects of each class that implements it.
Definition Comparable.h:33
An immutable sequence of characters.
Definition String.h:57
#define DECAF_API
Definition Config.h:29
Definition ThreadingTypes.h:31
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25