org.qtunes.db
Class FieldMap
java.lang.Object
org.qtunes.db.FieldMap
public final class FieldMap
- extends java.lang.Object
A simple Map of Fields->Values. Created by the TrackReader
when a file is
parsed, and given to the Database.updateTrack(int, org.qtunes.db.FieldMap)
method to update the
fields on a Track
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FieldMap
public FieldMap()
put
public <T> void put(Field<T> key,
T value)
putUntyped
public java.lang.Object putUntyped(Field<?> key,
java.lang.Object value)
get
public <T> T get(Field<T> key)
containsKey
public boolean containsKey(Field<?> key)
entrySet
public java.util.Set<java.util.Map.Entry<Field<?>,java.lang.Object>> entrySet()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
putAll
public void putAll(FieldMap fieldmap)
remove
public java.lang.Object remove(Field field)
size
public int size()
isEmpty
public boolean isEmpty()