Package org.apache.fontbox.cff
Class CFFOperator
java.lang.Object
org.apache.fontbox.cff.CFFOperator
This class represents a CFF operator.
- Author:
- Villu Ruusmann
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class is a holder for a key value. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()The key of the operator.getName()The name of the operator.static CFFOperatorgetOperator(String name) Returns the operator corresponding to the given name.static CFFOperatorReturns the operator corresponding to the given key.inthashCode()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
-