@Test public void testParseList() { final IdentifierFactory factory = new StringIdentifierFactory(); final List<Identifier> list1 = Utils.parseList("1,2,3", factory); final List<ComparableIdentifier> list2 = Utils.parseList("1,2,3", factory); }
public static <T extends Identifier> List<T> parseList(final String ids, final IdentifierFactory factory) { final List<T> result = new ArrayList<>(); for (final String token : ids.split(DELIMITER)) { result.add((T) factory.getNewInstance(token.trim())); } return result; }
Utils { public static <T extends Identifier> List<T> parseList(final String ids, final IdentifierFactory factory) { final List<T> result = new ArrayList<>(); for (final String token : ids.split(DELIMITER)) { result.add((T) factory.getNewInstance(token.trim())); } return result; } }
Utils { public static <T extends Identifier> List<T> parseList(final String ids, final IdentifierFactory factory) { final List<T> result = new ArrayList<>(); for (final String token : ids.split(DELIMITER)) { result.add((T) factory.getNewInstance(token.trim())); } return result; } private  Utils(); }
Utils { public static <T extends Identifier> List<T> parseList(final String ids, final IdentifierFactory factory) { final List<T> result = new ArrayList<>(); for (final String token : ids.split(DELIMITER)) { result.add((T) factory.getNewInstance(token.trim())); } return result; } private  Utils(); static List<T> parseList(final String ids, final IdentifierFactory factory); static String listToString(final List<ComparableIdentifier> ids); static List<Integer> createUniformCounts(final int elemSize, final int childSize); static ReefNetworkGroupCommProtos.GroupCommMessage bldGCM(
      final ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType,
      final Identifier from, final Identifier to, final byte[]... elements); }
Utils { public static <T extends Identifier> List<T> parseList(final String ids, final IdentifierFactory factory) { final List<T> result = new ArrayList<>(); for (final String token : ids.split(DELIMITER)) { result.add((T) factory.getNewInstance(token.trim())); } return result; } private  Utils(); static List<T> parseList(final String ids, final IdentifierFactory factory); static String listToString(final List<ComparableIdentifier> ids); static List<Integer> createUniformCounts(final int elemSize, final int childSize); static ReefNetworkGroupCommProtos.GroupCommMessage bldGCM(
      final ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType,
      final Identifier from, final Identifier to, final byte[]... elements);  }