public boolean exceedsPreferences (Task t, AspectValue [] aspectValues) { int[] aspectarray = new int[aspectValues.length]; double[] resultsarray = new double[aspectValues.length]; for (int i = 0; i < aspectValues.length; i++) { aspectarray  [i] = aspectValues[i].getAspectType (); resultsarray [i] = aspectValues[i].getValue (); } return exceedsPreferences (t, aspectarray, resultsarray);
public boolean exceedsPreferences (Task t, Date start, Date end, double cost) { if (logger.isDebugEnabled()) logger.debug ("Checking for task " + t.getUID () + " against start " + start + " end " + end + " and cost " + cost); return exceedsPreferences (t, getAspects (start, end, cost));
  public boolean exceedsPreferences (Task t, AspectValue [] aspectValues) {    int[] aspectarray = new int[aspectValues.length];    double[] resultsarray = new double[aspectValues.length];    for (int i = 0; i < aspectValues.length; i++) {      aspectarray  [i] = aspectValues[i].getAspectType ();      resultsarray [i] = aspectValues[i].getValue ();    }    return exceedsPreferences (t, aspectarray, resultsarray);  }