org.expasy.jpl.commons.collection.symbol
Interface DataSymbolRegister<T>
- All Superinterfaces:
- AlphabetView<T>, Serializable
- All Known Implementing Classes:
- AbstractDataSymbolRegister
public interface DataSymbolRegister<T>
- extends AlphabetView<T>, Serializable
A symbol manager makes the link between symbols and T-typed data.
- Version:
- 1.0
- Author:
- nikitin
lookupData
T lookupData(Symbol<T> symbol)
- Returns:
- the T-data mapped by the terminal symbol
lookupData
T lookupData(char name)
- Returns:
- the T-data mapped by the terminal named symbol
createDataMap
Map<Character,T> createDataMap()
- Returns:
- a map data char -> T-data object
link
void link(Symbol<T> symbol,
T data)
- link a symbol to its data
Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.