org.decisiondeck.xmcda_oo.utils
Class ThresholdsUtils

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.utils.ThresholdsUtils

public class ThresholdsUtils
extends Object


Constructor Summary
ThresholdsUtils()
           
 
Method Summary
static boolean allEmpty(Map<DecisionMaker,ICriteriaWithThresholds> allThresholds)
           
static boolean equivalent(ICriteriaWithThresholds t1, ICriteriaWithThresholds t2)
           
static
<T> Equivalence<ICriteriaWithThresholds>
getThresholdEquivalence()
           
static boolean merge(ICriteriaWithThresholds source, ICriteriaWithThresholds target)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdsUtils

public ThresholdsUtils()
Method Detail

merge

public static boolean merge(ICriteriaWithThresholds source,
                            ICriteriaWithThresholds target)
Parameters:
source - not null.
target - not null.
Returns:
true iff the call changed the state of the target object.

equivalent

public static boolean equivalent(ICriteriaWithThresholds t1,
                                 ICriteriaWithThresholds t2)

getThresholdEquivalence

public static <T> Equivalence<ICriteriaWithThresholds> getThresholdEquivalence()

allEmpty

public static boolean allEmpty(Map<DecisionMaker,ICriteriaWithThresholds> allThresholds)


Copyright © 2011. All Rights Reserved.