V
- value class.public class BlockMap<V> extends Object implements MutableMapping<Block<?,?>,V>
The storage and lookup are performed in constant time.
Constructor and Description |
---|
BlockMap(MinimizationResult<?,?> minResult)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
V |
get(Block<?,?> block)
Retrieves a value.
|
V |
put(Block<?,?> block,
V value)
Stores a value.
|
Collection<V> |
values()
Retrieves all values that are stored in this map.
|
public BlockMap(MinimizationResult<?,?> minResult)
minResult
- the result structure.public V put(Block<?,?> block, V value)
put
in interface MutableMapping<Block<?,?>,V>
block
- the associated block.value
- the value.public Collection<V> values()
Copyright © 2020. All rights reserved.