@Test public void getValuesTest() { Objectives objectives0 = new Objectives(); objectives0.add(new Objective("a"), 0); objectives0.add(new Objective("b"), 1); Assert.assertEquals(2, objectives0.getValues().size()); Assert.assertTrue(objectives0.getValues().contains(new IntegerValue(0))); Assert.assertTrue(objectives0.getValues().contains(new IntegerValue(1))); }
public Collection<Value<?>> getValues() { return map.values(); }
Objectives implements Iterable<Entry<Objective, Value<?>>> { public Collection<Value<?>> getValues() { return map.values(); } }
Objectives implements Iterable<Entry<Objective, Value<?>>> { public Collection<Value<?>> getValues() { return map.values(); }  }
Objectives implements Iterable<Entry<Objective, Value<?>>> { public Collection<Value<?>> getValues() { return map.values(); }  @Override Iterator<Entry<Objective, Value<?>>> iterator(); double[] array(); int size(); Collection<Objective> getKeys(); Collection<Value<?>> getValues(); Value<?> get(Objective objective); Objective get(Value<?> value); void add(Objective objective, Value<?> value); void add(String name, Sign sign, Value<?> value); void add(Objective objective, double value); void add(String name, Sign sign, double value); void add(Objective objective, int value); void add(String name, Sign sign, int value); void addAll(Objectives objectives); boolean weaklyDominates(Objectives opponent); boolean dominates(Objectives opponent); boolean isEqual(Objectives opponent); double distance(Objectives other); @Override String toString(); }
Objectives implements Iterable<Entry<Objective, Value<?>>> { public Collection<Value<?>> getValues() { return map.values(); }  @Override Iterator<Entry<Objective, Value<?>>> iterator(); double[] array(); int size(); Collection<Objective> getKeys(); Collection<Value<?>> getValues(); Value<?> get(Objective objective); Objective get(Value<?> value); void add(Objective objective, Value<?> value); void add(String name, Sign sign, Value<?> value); void add(Objective objective, double value); void add(String name, Sign sign, double value); void add(Objective objective, int value); void add(String name, Sign sign, int value); void addAll(Objectives objectives); boolean weaklyDominates(Objectives opponent); boolean dominates(Objectives opponent); boolean isEqual(Objectives opponent); double distance(Objectives other); @Override String toString();  }