Version16Dot16

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Cloneable

public class Version16Dot16 implements Cloneable

Represents Version16Dot16 datatype

Constructors

ConstructorDescription
Version16Dot16()Constructor
Version16Dot16(int majorNumber, int minorNumber)Constructor

Methods

MethodDescription
clone()Create a copy of Version16Dot16 object.
equals(Object arg0)
getClass()
getMajorNumber()Gets major version number.
getMinorNumber()Gets minor version number.
getRawBytes()Gets all raw bits for Version16Dot16 version number as byte array with size 4 bytes.
hashCode()
notify()
notifyAll()
setMajorNumber(int value)Sets major version number.
setMinorNumber(int value)Sets minor version number.
toString()Return version value as a formated string For example “0.5”, “1.1”, “3.0” etc.
wait()
wait(long arg0)
wait(long arg0, int arg1)

Version16Dot16()

public Version16Dot16()

Constructor

Version16Dot16(int majorNumber, int minorNumber)

public Version16Dot16(int majorNumber, int minorNumber)

Constructor

Parameters:

ParameterTypeDescription
majorNumberintMajor version number
minorNumberintMinor version number

clone()

public Object clone()

Create a copy of Version16Dot16 object.

Returns: java.lang.Object - Object of type Version16Dot16

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMajorNumber()

public int getMajorNumber()

Gets major version number. Value has sense only in hexademical notation, for example version 0.5 for ‘maxp’ in actual font files is 4 bytes: {0, 0, 80, 0}, what has hexademical representation 0x00005000. After reading this version from font file, Major and minor numbers for object Version16Dot16 will be 0 and 20480 respectively. And these values in hexademical form are 0x0000 and 0x5000.

Returns: int - Major version number.

getMinorNumber()

public int getMinorNumber()

Gets minor version number. Value has sense only in hexademical notation, for example version 0.5 for ‘maxp’ in actual font files is 4 bytes: {0, 0, 80, 0}, what has hexademical representation 0x00005000. After reading this version from font file, Major and minor numbers for object Version16Dot16 will be 0 and 20480 respectively. And these values in hexademical form are 0x0000 and 0x5000.

Returns: int - Minor version number.

getRawBytes()

public byte[] getRawBytes()

Gets all raw bits for Version16Dot16 version number as byte array with size 4 bytes.

Returns: byte[] - All raw bits for Version16Dot16 version number as byte array with size 4 bytes.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setMajorNumber(int value)

public void setMajorNumber(int value)

Sets major version number. Value has sense only in hexademical notation, for example version 0.5 for ‘maxp’ in actual font files is 4 bytes: {0, 0, 80, 0}, what has hexademical representation 0x00005000. After reading this version from font file, Major and minor numbers for object Version16Dot16 will be 0 and 20480 respectively. And these values in hexademical form are 0x0000 and 0x5000.

Parameters:

ParameterTypeDescription
valueintMajor version number.

setMinorNumber(int value)

public void setMinorNumber(int value)

Sets minor version number. Value has sense only in hexademical notation, for example version 0.5 for ‘maxp’ in actual font files is 4 bytes: {0, 0, 80, 0}, what has hexademical representation 0x00005000. After reading this version from font file, Major and minor numbers for object Version16Dot16 will be 0 and 20480 respectively. And these values in hexademical form are 0x0000 and 0x5000.

Parameters:

ParameterTypeDescription
valueintMinor version number.

toString()

public String toString()

Return version value as a formated string For example “0.5”, “1.1”, “3.0” etc.

Returns: java.lang.String - Object of String type

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int