org.extex.font.format.xtf.tables
Class XtfTableMap

java.lang.Object
  extended by org.extex.font.format.xtf.tables.XtfTableMap

public class XtfTableMap
extends java.lang.Object

Map for a TTF/OTF table.

Version:
$Revision: 6604 $
Author:
Michael Niedermair

Constructor Summary
XtfTableMap()
          Create a new object.
 
Method Summary
 void clear()
          Clear the table.
 boolean containsKey(int key)
          Check, if the table contains the table.
 XtfTable get(int key)
          Returns the table.
 int[] getKeys()
          Returns the keys in an array
 XtfTable[] getTables()
          Returns a TTFTable array from the map.
 void put(int key, XtfTable table)
          Store a table.
 int size()
          Returns the size of the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtfTableMap

public XtfTableMap()
Create a new object.

Method Detail

clear

public void clear()
Clear the table.


size

public int size()
Returns the size of the table.

Returns:
Returns the size of the table.

containsKey

public boolean containsKey(int key)
Check, if the table contains the table.

Parameters:
key - The key of the table.
Returns:
Returns true, if the map has the table, otherwise false.

get

public XtfTable get(int key)
Returns the table.

Parameters:
key - The key of the table.
Returns:
Returns the table.

put

public void put(int key,
                XtfTable table)
Store a table.

Parameters:
key - The key of the table.
table - The table

getKeys

public int[] getKeys()
Returns the keys in an array

Returns:
Returns the keys in an array

getTables

public XtfTable[] getTables()
Returns a TTFTable array from the map.

Returns:
Returns a TTFTable array from the map.