@@ -227,7 +227,8 @@ public String toString() {
227
227
/**
228
228
* Returns the CVM String representation of this Cell. Normally, this is as printed, but may be different for some types.
229
229
*
230
- * MUST return null in O(1) time if the length of the CVM String would exceed limit.
230
+ * SHOULD return null in O(1) time if the length of the CVM String can be proved to exceed the limit.
231
+ * MUST complete in O(limit) time and space otherwise
231
232
*
232
233
* The String representation is intended to be a easy-to-read textual representation of the Cell's data content.
233
234
* @param limit Limit of CVM String length in UTF-8 bytes
@@ -243,7 +244,7 @@ public AString toCVMString(long limit) {
243
244
/**
244
245
* Gets the cached blob representing this Cell's Encoding in binary format, if it exists.
245
246
*
246
- * @return The cached blob for this cell, or null if not available.
247
+ * @return The cached blob for this cell, or null if not yet available.
247
248
*/
248
249
public Blob cachedEncoding () {
249
250
return encoding ;
@@ -290,7 +291,7 @@ public int getEncodingLength() {
290
291
* Gets the Memory Size of this Cell, computing it if required.
291
292
*
292
293
* The memory size is the total storage requirement for this cell. Embedded cells do not require storage for
293
- * their own encoding, but may require storage for nested non-embedded Refs .
294
+ * their own encoding, but may require storage for nested branches .
294
295
*
295
296
* @return Memory Size of this Cell
296
297
*/
@@ -306,7 +307,7 @@ public final long getMemorySize() {
306
307
* Gets the Memory Size of a Cell, computing it if required.
307
308
*
308
309
* The memory size is the total storage requirement for this cell. Embedded cells do not require storage for
309
- * their own encoding, but may require storage for nested non-embedded Refs .
310
+ * their own encoding, but may require storage for nested branches .
310
311
*
311
312
* @return Memory Size of this Cell
312
313
*/
0 commit comments