Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## info.bioinfweb.treegraph.document.io.nexus
Class TranslTable

    java.lang.Object
      info.bioinfweb.treegraph.document.io.nexus.TranslTable

    public class TranslTable

extends java.lang.Object

Stores the content of a taxon table in a nexus document. It is possible to access taxon names by their identifier or their position.

Author:
  Ben Stöver

Field Summary
`private java.util.HashMap<java.lang.String,java.lang.Integer>` | `keyHash`
`private java.util.Vector<java.lang.String>` | `nameList`

Constructor Summary
`TranslTable()`

Method Summary
`void` | `add(java.lang.String key, java.lang.String value)`
`void` | `clear()`
`java.lang.String` | `get(int pos)`
`java.lang.String` | `get(java.lang.String key)`
`int` | `size()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### keyHash

    private java.util.HashMap<java.lang.String,java.lang.Integer> keyHash

### nameList

    private java.util.Vector<java.lang.String> nameList

Constructor Detail

### TranslTable

    public TranslTable()

Method Detail

### add

    public void add(java.lang.String key,
                    java.lang.String value)

### size

    public int size()

### get

    public java.lang.String get(int pos)

### get

    public java.lang.String get(java.lang.String key)

### clear

    public void clear()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD