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 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 HashMap<String,Integer>` | `keyHash`
`private Vector<String>` | `nameList`

Constructor Summary
`TranslTable()`

Method Summary
`void` | `add(String key, String value)`
`void` | `clear()`
`String` | `get(int pos)`
`String` | `get(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 HashMap<String,Integer> keyHash

### nameList

    private Vector<String> nameList

Constructor Detail

### TranslTable

    public TranslTable()

Method Detail

### add

    public void add(String key,
                    String value)

### size

    public int size()

### get

    public String get(int pos)

### get

    public String get(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