org.jaudiotagger.tag.datatype
Class AbstractValuePair

java.lang.Object
  extended by org.jaudiotagger.tag.datatype.AbstractValuePair
Direct Known Subclasses:
AbstractIntStringValuePair, AbstractStringStringValuePair

public abstract class AbstractValuePair
extends java.lang.Object

A two way mapping between an id and a value


Constructor Summary
AbstractValuePair()
           
 
Method Summary
 java.util.List getAlphabeticalValueList()
          Get list in alphabetical order
 java.util.Map getIdToValueMap()
           
 int getSize()
           
 java.util.Map getValueToIdMap()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractValuePair

public AbstractValuePair()
Method Detail

getAlphabeticalValueList

public java.util.List getAlphabeticalValueList()
Get list in alphabetical order


getIdToValueMap

public java.util.Map getIdToValueMap()

getValueToIdMap

public java.util.Map getValueToIdMap()

getSize

public int getSize()
Returns:
the number of elements in the mapping