@Test public void convertToStringList() { List<String> result = Stream.of(Status.values()).map(Status::name).collect(Collectors.toList()); assertEquals(result, StatusConverter.convertToStringList(Arrays.asList(Status.values()))); }
public static List<String> convertToStringList(Status... status) { return convertToStringList(Arrays.stream(status)); }
StatusConverter { public static List<String> convertToStringList(Status... status) { return convertToStringList(Arrays.stream(status)); } }
StatusConverter { public static List<String> convertToStringList(Status... status) { return convertToStringList(Arrays.stream(status)); } private  StatusConverter(); }
StatusConverter { public static List<String> convertToStringList(Status... status) { return convertToStringList(Arrays.stream(status)); } private  StatusConverter(); static Status convertFromString(String value); static String convertToString(Status value); static List<String> convertToStringList(Status... status); static List<String> convertToStringList(List<Status> statusList); }
StatusConverter { public static List<String> convertToStringList(Status... status) { return convertToStringList(Arrays.stream(status)); } private  StatusConverter(); static Status convertFromString(String value); static String convertToString(Status value); static List<String> convertToStringList(Status... status); static List<String> convertToStringList(List<Status> statusList);  }