2.5.4 - A Float Object - JdlFloat

John W. Campbell

2.5.4.1 Introduction

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

Constructor and Field:

Class Details
Accessible Fields
Constructor

2.5.4.2 Class Details

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

2.5.4.3 Accessible Fields

The following accessible fields have been defined:

public float value
The float value.

2.5.4.4 Constructor

2.5.4.4.1 Introduction

A single constructor is available

Constructors:

Constructor 1

2.5.4.4.2 Constructor 1

Create a JdlFloat object from a float value.

Constructor Definition:
public JdlFloat(float f)
Parameters List:
f
The float value.

⇑ Up 2   ⇑ Up 1   ⇑ Top of this