public class HeapNode<StateT extends LatticeAbstractState<StateT>> extends java.lang.Object implements java.util.Map<java.lang.String,StateT>, LatticeAbstractState<HeapNode<StateT>>
Constructor and Description |
---|
HeapNode(MapAbstractState<java.lang.String,StateT> fieldToAbstractState)
Create a heap node form a map abstract state.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
HeapNode<StateT> |
copy()
Creates a copy of itself.
|
@NotNull java.util.Set<java.util.Map.Entry<java.lang.String,StateT>> |
entrySet() |
boolean |
equals(java.lang.Object obj) |
StateT |
get(java.lang.Object key) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isLessOrEqual(HeapNode<StateT> abstractState)
Compares itself to the
abstractState . |
HeapNode<StateT> |
join(HeapNode<StateT> abstractState)
Computes a join over itself and the
abstractState . |
@NotNull java.util.Set<java.lang.String> |
keySet() |
void |
merge(java.lang.String descriptor,
StateT value)
Joins the field value with the input
value . |
StateT |
put(java.lang.String key,
StateT value) |
void |
putAll(@NotNull java.util.Map<? extends java.lang.String,? extends StateT> m) |
StateT |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<StateT> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
isLess
getPrecision, getStateByName
public HeapNode(MapAbstractState<java.lang.String,StateT> fieldToAbstractState)
public int size()
size
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public StateT get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
@Nullable public StateT put(java.lang.String key, StateT value)
put
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public StateT remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public void putAll(@NotNull @NotNull java.util.Map<? extends java.lang.String,? extends StateT> m)
putAll
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public void clear()
clear
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
@NotNull public @NotNull java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public java.util.Collection<StateT> values()
values
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
@NotNull public @NotNull java.util.Set<java.util.Map.Entry<java.lang.String,StateT>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
public HeapNode<StateT> join(HeapNode<StateT> abstractState)
LatticeAbstractState
abstractState
.join
in interface LatticeAbstractState<HeapNode<StateT extends LatticeAbstractState<StateT>>>
public boolean isLessOrEqual(HeapNode<StateT> abstractState)
LatticeAbstractState
abstractState
.isLessOrEqual
in interface LatticeAbstractState<HeapNode<StateT extends LatticeAbstractState<StateT>>>
public HeapNode<StateT> copy()
AbstractState
copy
in interface AbstractState
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
equals
in interface AbstractState
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map<java.lang.String,StateT extends LatticeAbstractState<StateT>>
hashCode
in interface AbstractState
hashCode
in class java.lang.Object
public void merge(java.lang.String descriptor, StateT value)
value
.