@Test public void listComputations() { assertTrue(ImmutableSet.copyOf(CandidateComputations.getComputationsNames()).containsAll(ImmutableSet.of("dummy", "loadflow"))); assertEquals(ImmutableSet.of("dummy", "loadflow"), ImmutableSet.copyOf(CandidateComputations.getComputationsNames())); }
public static List<String> getComputationsNames() { return getComputations().stream().map(CandidateComputation::getName).collect(Collectors.toList()); }
CandidateComputations { public static List<String> getComputationsNames() { return getComputations().stream().map(CandidateComputation::getName).collect(Collectors.toList()); } }
CandidateComputations { public static List<String> getComputationsNames() { return getComputations().stream().map(CandidateComputation::getName).collect(Collectors.toList()); } private  CandidateComputations(); }
CandidateComputations { public static List<String> getComputationsNames() { return getComputations().stream().map(CandidateComputation::getName).collect(Collectors.toList()); } private  CandidateComputations(); static List<CandidateComputation> getComputations(); static List<String> getComputationsNames(); static Optional<CandidateComputation> getComputation(String name); }
CandidateComputations { public static List<String> getComputationsNames() { return getComputations().stream().map(CandidateComputation::getName).collect(Collectors.toList()); } private  CandidateComputations(); static List<CandidateComputation> getComputations(); static List<String> getComputationsNames(); static Optional<CandidateComputation> getComputation(String name);  }