org.omnaest.utils.structure.hierarchy.nodemap
Interface NodeMap<K,M>

Type Parameters:
K - key
M - model
All Superinterfaces:
Map<K,NodeMap<K,M>>

public interface NodeMap<K,M>
extends Map<K,NodeMap<K,M>>

A NodeMap allows to specify a structure using a Map hierarchy where all NodeMap instance can hold a special model which should be accessed by traversing a structure path.

Author:
Omnaest
See Also:
getModel(), setModel(Object)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 M getModel()
           
 void setModel(M model)
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getModel

M getModel()

setModel

void setModel(M model)


Copyright © 2013. All Rights Reserved.