org.apache.fontbox.cff

Class CharStringCommand

public class CharStringCommand extends Object

This class represents a CharStringCommand.

Version: $Revision$

Author: Villu Russmann

Nested Class Summary
static classCharStringCommand.Key
A static class to hold one or more int values as key.
Field Summary
static Map<CharStringCommand.Key,String>TYPE1_VOCABULARY
A map with the Type1 vocabulary.
static Map<CharStringCommand.Key,String>TYPE2_VOCABULARY
A map with the Type2 vocabulary.
Constructor Summary
CharStringCommand(int b0)
Constructor with one value.
CharStringCommand(int b0, int b1)
Constructor with two values.
CharStringCommand(int[] values)
Constructor with an array as values.
Method Summary
booleanequals(Object object)
CharStringCommand.KeygetKey()
The key of the CharStringCommand.
inthashCode()
StringtoString()

Field Detail

TYPE1_VOCABULARY

public static final Map<CharStringCommand.Key,String> TYPE1_VOCABULARY
A map with the Type1 vocabulary.

TYPE2_VOCABULARY

public static final Map<CharStringCommand.Key,String> TYPE2_VOCABULARY
A map with the Type2 vocabulary.

Constructor Detail

CharStringCommand

public CharStringCommand(int b0)
Constructor with one value.

Parameters: b0 value

CharStringCommand

public CharStringCommand(int b0, int b1)
Constructor with two values.

Parameters: b0 value1 b1 value2

CharStringCommand

public CharStringCommand(int[] values)
Constructor with an array as values.

Parameters: values array of values

Method Detail

equals

public boolean equals(Object object)
{@inheritDoc }

getKey

public CharStringCommand.Key getKey()
The key of the CharStringCommand.

Returns: the key

hashCode

public int hashCode()
{@inheritDoc }

toString

public String toString()
{@inheritDoc }
Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.