We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57546a4 commit 0278f25Copy full SHA for 0278f25
convex-core/src/main/java/convex/lattice/Cursors.java
@@ -5,10 +5,22 @@
5
6
public class Cursors {
7
8
+ /**
9
+ * Create a root cursor with the given value
10
+ * @param <V> Type of cursor value
11
+ * @param a Any object to be converted to CVM type
12
+ * @return New cursor instance
13
+ */
14
public static <V extends ACell> Root<V> of(Object a) {
15
return create(RT.cvm(a));
16
}
17
18
19
20
21
+ * @param a Any compatible CVM value
22
23
24
private static <V extends ACell> Root<V> create(V value) {
25
return Root.create(value);
26
0 commit comments