Skip to content
Reference > Classes

Byte

Definition

Byte var = .... ;

Extends

Extended By

None

Description

A number of type Byte

Method Summary

Owner Name Return Type Description
Byte constructor(value) Object Initialize a Byte object with the supplied numerical value.
Object getClassName() String Returns the string name of this object's class type.
Object toJson() String Returns a string of a json representation of this object.

Method Definitions


constructor(value)

Byte byte = new Byte(Byte value)

Description

Initialize a Byte object with the supplied numerical value.

Parameter Definition

Name Type Description
value Byte  a byte value

Example 1

1
2
3
Byte b = 1b;

// b = 1

getClassName()

String Object::getClassName()

Description

Returns the string name of this object's class type.

Example 4

1
2
3
4
Byte b = 1b;
b.getClassName();

// b.getClassName() = Byte

toJson()

String Object::toJson()

Description

Returns a string of a json representation of this object.

Example 4

1
2
3
4
Byte b = 1b;
b.toJson();

// b.toJson() = 1