org.omnaest.utils.structure.table.adapter
Class RowToMapAdapter<E>

java.lang.Object
  extended by org.omnaest.utils.structure.map.MapAbstract<Object,E>
      extended by org.omnaest.utils.structure.table.adapter.RowToMapAdapter<E>
Type Parameters:
E -
All Implemented Interfaces:
Map<Object,E>

public class RowToMapAdapter<E>
extends MapAbstract<Object,E>

Adapter to use a given Table.Rows as Map

Author:
Omnaest

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  Table.Row<E> row
           
 
Constructor Summary
RowToMapAdapter(Table.Row<E> row)
           
 
Method Summary
 E get(Object key)
           
 Set<Object> keySet()
           
 E put(Object key, E value)
           
 E remove(Object key)
           
 Collection<E> values()
           
 
Methods inherited from class org.omnaest.utils.structure.map.MapAbstract
clear, containsKey, containsValue, entrySet, isEmpty, putAll, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

row

protected Table.Row<E> row
Constructor Detail

RowToMapAdapter

public RowToMapAdapter(Table.Row<E> row)
Parameters:
row -
Method Detail

get

public E get(Object key)

put

public E put(Object key,
             E value)

remove

public E remove(Object key)

keySet

public Set<Object> keySet()

values

public Collection<E> values()


Copyright © 2011. All Rights Reserved.