com.healthmarketscience.jackcess.impl
Class RowImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Object>
              extended by com.healthmarketscience.jackcess.impl.RowImpl
All Implemented Interfaces:
Row, Serializable, Cloneable, Map<String,Object>

public class RowImpl
extends LinkedHashMap<String,Object>
implements Row

A row of data as column->value pairs.

Note that the AbstractMap.equals(java.lang.Object) and AbstractMap.hashCode() methods work on the row contents only (i.e. they ignore the id).

Author:
James Ahlborn
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RowImpl(Row row)
           
RowImpl(RowIdImpl id)
           
RowImpl(RowIdImpl id, int expectedSize)
           
 
Method Summary
 RowIdImpl getId()
           
 String toString()
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

RowImpl

public RowImpl(RowIdImpl id)

RowImpl

public RowImpl(RowIdImpl id,
               int expectedSize)

RowImpl

public RowImpl(Row row)
Method Detail

getId

public RowIdImpl getId()
Specified by:
getId in interface Row
Returns:
the id of this row

toString

public String toString()
Overrides:
toString in class AbstractMap<String,Object>


Copyright © 2005-2013 Health Market Science. All Rights Reserved.