File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 31
31
32
32
clojure.lang.Sequential ; ; Add this to mark as sequential
33
33
34
+ clojure.lang.IPersistentVector
35
+ (assocN [this i val]
36
+ (throw (UnsupportedOperationException. " XITDBArrayList is read-only" )))
37
+
38
+ (length [this]
39
+ (.count ral))
40
+
34
41
clojure.lang.Indexed
35
42
(nth [_ i]
36
43
(let [cursor (.getCursor ral (long i))]
88
95
(aset result len nil ))
89
96
result))
90
97
98
+ clojure.lang.IPersistentVector
99
+ (assocN [this i val]
100
+ (throw (UnsupportedOperationException. " XITDBArrayList is read-only" )))
101
+
102
+ (length [this]
103
+ (.count ral))
91
104
92
105
common /IUnwrap
93
106
(-unwrap [this]
139
152
(common/-read-from-cursor (.putCursor wal i))
140
153
not-found))
141
154
155
+ clojure.lang.IPersistentVector
156
+ (assocN [this i val]
157
+ (util/array-list-assoc-value! wal i (common/unwrap val))
158
+ this)
159
+
160
+ (length [this]
161
+ (.count wal))
162
+
142
163
clojure.lang.Associative
143
164
(assoc [this k v]
144
165
(when-not (integer? k)
You can’t perform that action at this time.
0 commit comments