Package org.apache.fontbox.cff
Class CFFOperator
java.lang.Object
org.apache.fontbox.cff.CFFOperator
This class represents a CFF operator.
- Version:
- $Revision: 1.0 $
- Author:
- Villu Ruusmann
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class is a holder for a key value. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
The key of the operator.getName()
The name of the operator.static CFFOperator
getOperator
(String name) Returns the operator corresponding to the given name.static CFFOperator
Returns the operator corresponding to the given key.int
hashCode()
toString()
-
Method Details
-
getKey
The key of the operator.- Returns:
- the key
-
getName
The name of the operator.- Returns:
- the name
-
toString
-
hashCode
public int hashCode() -
equals
-
getOperator
Returns the operator corresponding to the given key.- Parameters:
key
- the given key- Returns:
- the corresponding operator
-
getOperator
Returns the operator corresponding to the given name.- Parameters:
name
- the given name- Returns:
- the corresponding operator
-