MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / copy

Method copy

app/src/main/java/cs/threephase/FullCube.java:117–136  ·  view source on GitHub ↗
(FullCube c)

Source from the content-addressed store, hash-verified

115 }
116
117 public void copy(FullCube c) {
118 edge.copy(c.edge);
119 center.copy(c.center);
120 corner.copy(c.corner);
121
122 this.value = c.value;
123 this.add1 = c.add1;
124 this.length1 = c.length1;
125 this.length2 = c.length2;
126 this.length3 = c.length3;
127
128 this.sym = c.sym;
129
130 System.arraycopy(c.moveBuffer, 0, this.moveBuffer, 0, 60);
131
132 this.moveLength = c.moveLength;
133 this.edgeAvail = c.edgeAvail;
134 this.centerAvail = c.centerAvail;
135 this.cornerAvail = c.cornerAvail;
136 }
137
138// public void print() {
139// getCenter().print();

Callers 4

init2Method · 0.95
FullCubeMethod · 0.95
searchMethod · 0.45
init3Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected