Exemple #1
0
 @Override
 public void removeNumeric(NumericFx numeric) {
   final String metric_id = numeric.getMetric_id();
   for (Vital v : this) {
     if (v != null) {
       for (String x : v.getMetricIds()) {
         if (x.equals(metric_id)) {
           ListIterator<Value> li = v.listIterator();
           while (li.hasNext()) {
             if (numeric.equals(li.next().getNumeric())) {
               li.remove();
             }
           }
         }
       }
     }
   }
 }