Class DeltaTriple<T>
- java.lang.Object
- 
- com.evolveum.midpoint.prism.delta.DeltaTriple<T>
 
- 
- All Implemented Interfaces:
- DebugDumpable,- Foreachable<T>
 
 public class DeltaTriple<T> extends Object implements DebugDumpable, Foreachable<T> Utility class for keeping things in three: plus, zero and minus.- Author:
- semancik
 
- 
- 
Field Summary- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
 
- 
 - 
Constructor SummaryConstructors Constructor Description DeltaTriple()DeltaTriple(Supplier<T> initializer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdebugDump(int indent)StringdebugDumpNoTitle(StringBuilder sb, int indent)booleanequals(Object obj)voidforeach(Processor<T> processor)Will call processor for every element in the instance.Tget(PlusMinusZero mode)TgetMinus()TgetPlus()TgetZero()inthashCode()voidsetMinus(T minus)voidsetPlus(T plus)voidsetZero(T zero)StringtoString()- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
 
- 
 
- 
- 
- 
Method Detail- 
getPluspublic T getPlus() 
 - 
setPluspublic void setPlus(T plus) 
 - 
getZeropublic T getZero() 
 - 
setZeropublic void setZero(T zero) 
 - 
getMinuspublic T getMinus() 
 - 
setMinuspublic void setMinus(T minus) 
 - 
getpublic T get(PlusMinusZero mode) 
 - 
foreachpublic void foreach(Processor<T> processor) Description copied from interface:ForeachableWill call processor for every element in the instance. This is NOT recursive. E.g. in case of collection of collections the processor will NOT be called for elements of the inner collections. If you need recursion please have a look at Visitor.- Specified by:
- foreachin interface- Foreachable<T>
 
 - 
debugDumppublic String debugDump(int indent) - Specified by:
- debugDumpin interface- DebugDumpable
 
 - 
debugDumpNoTitlepublic String debugDumpNoTitle(StringBuilder sb, int indent) 
 
- 
 
-