Top Description Inners Fields Constructors Methods
org.apache.fontbox.cff

public Class CharStringCommand

extends Object
Class Inheritance
Imports
java.util.EnumMap, .HashMap, .Map, .Objects

This class represents a CharStringCommand.
Author
Villu Ruusmann

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
public static enum
CharStringCommand.Type1KeyWord

Enum of all valid type1 key words

public static enum
CharStringCommand.Type2KeyWord

Enum of all valid type2 key words

Field Summary

Modifier and TypeField and Description
private static final Map<Integer, CharStringCommand>
public static final CharStringCommand
public static final CharStringCommand
public static final CharStringCommand
public static final CharStringCommand
public static final CharStringCommand
public static final CharStringCommand
private static final CharStringCommand
public static final CharStringCommand
private static final int
private final CharStringCommand.Type1KeyWord
private final CharStringCommand.Type2KeyWord

Constructor Summary

AccessConstructor and Description
private
CharStringCommand(CharStringCommand.Key
the key of the char string command
key
)

Constructor with the CharStringCommand key as value.

private
CharStringCommand(int
value1
b0
,
int
value2
b1
)

Constructor with two values.

Method Summary

Modifier and TypeMethod and Description
private static Map<Integer, CharStringCommand>
public boolean
equals(Object
the reference object with which to compare.
object
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

public static CharStringCommand

Returns:

CharStringCommand represented by the given value
getInstance
(int
value
b0
)

Get an instance of the CharStringCommand represented by the given value.

public static CharStringCommand

Returns:

CharStringCommand represented by the given two values
getInstance
(int
value1
b0
,
int
value2
b1
)

Get an instance of the CharStringCommand represented by the given two values.

public static CharStringCommand

Returns:

CharStringCommand represented by the given values
getInstance
(int[]
array of values
values
)

Get an instance of the CharStringCommand represented by the given array.

private static int
getKeyHashValue(int b0, int b1)

public CharStringCommand.Type1KeyWord

Returns:

the type1 key word
getType1KeyWord
()

Return the underlying type1 key word.

public CharStringCommand.Type2KeyWord

Returns:

the type2 key word
getType2KeyWord
()

Return the underlying type2 key word.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this object.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait