MCPcopy Create free account
hub / github.com/apple/foundationdb / getTruncated

Method getTruncated

recipes/java-recipes/MicroDoc.java:98–104  ·  view source on GitHub ↗
(ArrayList<Tuple> vals)

Source from the content-addressed store, hash-verified

96 }
97
98 private static ArrayList<Tuple> getTruncated(ArrayList<Tuple> vals){
99 ArrayList<Tuple> list = new ArrayList<Tuple>();
100 for(Tuple val : vals){
101 list.add(val.popFront());
102 }
103 return list;
104 }
105
106 private static Object fromTuples(ArrayList<Tuple> tuples){
107 if(tuples == null){

Callers 1

fromTuplesMethod · 0.95

Calls 2

addMethod · 0.45
popFrontMethod · 0.45

Tested by

no test coverage detected