2.5.2 - A Boolean Object - JdlBoolean

John W. Campbell

2.5.2.1 Introduction

This is a simple class to store a boolean value. It may be used, for example, to return a boolean value from a method when such a data item is required in addition to the main return data from the method. The boolean value is accessible as the public field 'value'.

Constructor and Field:

Class Details
Accessible Fields
Constructor

2.5.2.2 Class Details

Package:
Jdl.JdlLib;
Class name:
JdlBoolean
Class definition:
public class JdlBoolean
Extends:
Object
Implements:
none
Actions:
none

2.5.2.3 Accessible Fields

The following accessible fields have been defined:

public boolean value
The boolean value.

2.5.2.4 Constructor

2.5.2.4.1 Introduction

A single constructor is available

Constructors:

Constructor 1

2.5.2.4.2 Constructor 1

Create a JdlBoolean object from a boolean value.

Constructor Definition:
public JdlBoolean(boolean b)
Parameters List:
b
The boolean value.

⇑ Up 2   ⇑ Up 1   ⇑ Top of this