This class represents a CFF operator.
Method from org.apache.fontbox.cff.CFFOperator Detail: |
public boolean equals(Object object) {
if (object instanceof CFFOperator)
{
CFFOperator that = (CFFOperator) object;
return getKey().equals(that.getKey());
}
return false;
}
|
public Key getKey() {
return operatorKey;
}
|
public String getName() {
return operatorName;
}
The name of the operator. |
public static CFFOperator getOperator(Key key) {
return keyMap.get(key);
}
Returns the operator corresponding to the given key. |
public static CFFOperator getOperator(String name) {
return nameMap.get(name);
}
Returns the operator corresponding to the given name. |
public int hashCode() {
return getKey().hashCode();
}
|
public String toString() {
return getName();
}
|