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

Method getTypes

src/java/simpledb/common/Utility.java:14–19  ·  view source on GitHub ↗

@return a Type array of length len populated with Type.INT_TYPE

(int len)

Source from the content-addressed store, hash-verified

12 * @return a Type array of length len populated with Type.INT_TYPE
13 */
14 public static Type[] getTypes(int len) {
15 Type[] types = new Type[len];
16 for (int i = 0; i < len; ++i)
17 types[i] = Type.INT_TYPE;
18 return types;
19 }
20
21 /**
22 * @return a String array of length len populated with the (possibly null) strings in val,

Callers 1

getTupleDescMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected