org.apache.fontbox.cff
Class CFFOperator.Key

java.lang.Object
  extended by org.apache.fontbox.cff.CFFOperator.Key
Enclosing class:
CFFOperator

public static class CFFOperator.Key
extends java.lang.Object

This class is a holder for a key value. It consists of one or two bytes.

Author:
Villu Russmann

Constructor Summary
CFFOperator.Key(int b0)
          Constructor.
CFFOperator.Key(int b0, int b1)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int[] getValue()
          Returns the value of the key.
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CFFOperator.Key

public CFFOperator.Key(int b0)
Constructor.

Parameters:
b0 - the one byte value

CFFOperator.Key

public CFFOperator.Key(int b0,
                       int b1)
Constructor.

Parameters:
b0 - the first byte of a two byte value
b1 - the second byte of a two byte value
Method Detail

getValue

public int[] getValue()
Returns the value of the key.

Returns:
the value

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class java.lang.Object


Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.