MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / getStrings

Method getStrings

src/java/simpledb/common/Utility.java:25–30  ·  view source on GitHub ↗

@return a String array of length len populated with the (possibly null) strings in val, and an appended increasing integer at the end (val1, val2, etc.).

(int len, String val)

Source from the content-addressed store, hash-verified

23 * and an appended increasing integer at the end (val1, val2, etc.).
24 */
25 public static String[] getStrings(int len, String val) {
26 String[] strings = new String[len];
27 for (int i = 0; i < len; ++i)
28 strings[i] = val + i;
29 return strings;
30 }
31
32 /**
33 * @return a TupleDesc with n fields of type Type.INT_TYPE, each named

Callers 1

getTupleDescMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected