Class DeltaMapTripleImpl<K,V>
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.delta.DeltaMapTripleImpl<K,V>
-
- All Implemented Interfaces:
DeltaMapTriple<K,V>,SimpleVisitable<Map.Entry<K,V>>,DebugDumpable,Serializable
public class DeltaMapTripleImpl<K,V> extends Object implements DeltaMapTriple<K,V>
- Author:
- Radovan Semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description DeltaMapTripleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllToMap(PlusMinusZero destination, Map<K,V> map)voidaddAllToMinusMap(Map<K,V> map)voidaddAllToPlusMap(Map<K,V> map)voidaddAllToZeroMap(Map<K,V> map)voidaddToMinusMap(K key, V value)voidaddToPlusMap(K key, V value)voidaddToZeroMap(K key, V value)voidclearMinusMap()voidclearPlusMap()voidclearZeroMap()DeltaMapTriple<K,V>clone(Cloner<Map.Entry<K,V>> cloner)protected voidcopyValues(DeltaMapTripleImpl<K,V> clone, Cloner<Map.Entry<K,V>> cloner)StringdebugDump(int indent)Map<K,V>getMap(PlusMinusZero plusMinusZero)@NotNull Map<K,V>getMinusMap()@NotNull Map<K,V>getPlusMap()@NotNull Map<K,V>getZeroMap()booleanhasMinusMap()booleanhasPlusMap()booleanhasZeroMap()booleanisEmpty()booleanisZeroOnly()voidmerge(DeltaMapTriple<K,V> triple)voidsimpleAccept(SimpleVisitor<Map.Entry<K,V>> visitor)intsize()StringtoString()Collection<K>unionKeySets()Returns all values, regardless of the internal sets.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.delta.DeltaMapTriple
clear
-
-
-
-
Method Detail
-
getZeroMap
@NotNull public @NotNull Map<K,V> getZeroMap()
- Specified by:
getZeroMapin interfaceDeltaMapTriple<K,V>
-
getPlusMap
@NotNull public @NotNull Map<K,V> getPlusMap()
- Specified by:
getPlusMapin interfaceDeltaMapTriple<K,V>
-
getMinusMap
@NotNull public @NotNull Map<K,V> getMinusMap()
- Specified by:
getMinusMapin interfaceDeltaMapTriple<K,V>
-
getMap
public Map<K,V> getMap(PlusMinusZero plusMinusZero)
- Specified by:
getMapin interfaceDeltaMapTriple<K,V>
-
hasPlusMap
public boolean hasPlusMap()
- Specified by:
hasPlusMapin interfaceDeltaMapTriple<K,V>
-
hasZeroMap
public boolean hasZeroMap()
- Specified by:
hasZeroMapin interfaceDeltaMapTriple<K,V>
-
hasMinusMap
public boolean hasMinusMap()
- Specified by:
hasMinusMapin interfaceDeltaMapTriple<K,V>
-
isZeroOnly
public boolean isZeroOnly()
- Specified by:
isZeroOnlyin interfaceDeltaMapTriple<K,V>
-
addToPlusMap
public void addToPlusMap(K key, V value)
- Specified by:
addToPlusMapin interfaceDeltaMapTriple<K,V>
-
addToMinusMap
public void addToMinusMap(K key, V value)
- Specified by:
addToMinusMapin interfaceDeltaMapTriple<K,V>
-
addToZeroMap
public void addToZeroMap(K key, V value)
- Specified by:
addToZeroMapin interfaceDeltaMapTriple<K,V>
-
addAllToPlusMap
public void addAllToPlusMap(Map<K,V> map)
- Specified by:
addAllToPlusMapin interfaceDeltaMapTriple<K,V>
-
addAllToMinusMap
public void addAllToMinusMap(Map<K,V> map)
- Specified by:
addAllToMinusMapin interfaceDeltaMapTriple<K,V>
-
addAllToZeroMap
public void addAllToZeroMap(Map<K,V> map)
- Specified by:
addAllToZeroMapin interfaceDeltaMapTriple<K,V>
-
addAllToMap
public void addAllToMap(PlusMinusZero destination, Map<K,V> map)
- Specified by:
addAllToMapin interfaceDeltaMapTriple<K,V>
-
clearPlusMap
public void clearPlusMap()
- Specified by:
clearPlusMapin interfaceDeltaMapTriple<K,V>
-
clearMinusMap
public void clearMinusMap()
- Specified by:
clearMinusMapin interfaceDeltaMapTriple<K,V>
-
clearZeroMap
public void clearZeroMap()
- Specified by:
clearZeroMapin interfaceDeltaMapTriple<K,V>
-
size
public int size()
- Specified by:
sizein interfaceDeltaMapTriple<K,V>
-
merge
public void merge(DeltaMapTriple<K,V> triple)
- Specified by:
mergein interfaceDeltaMapTriple<K,V>
-
unionKeySets
public Collection<K> unionKeySets()
Returns all values, regardless of the internal sets.- Specified by:
unionKeySetsin interfaceDeltaMapTriple<K,V>
-
clone
public DeltaMapTriple<K,V> clone(Cloner<Map.Entry<K,V>> cloner)
- Specified by:
clonein interfaceDeltaMapTriple<K,V>
-
copyValues
protected void copyValues(DeltaMapTripleImpl<K,V> clone, Cloner<Map.Entry<K,V>> cloner)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceDeltaMapTriple<K,V>
-
simpleAccept
public void simpleAccept(SimpleVisitor<Map.Entry<K,V>> visitor)
- Specified by:
simpleAcceptin interfaceSimpleVisitable<K>
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
-