@@ -227,7 +227,8 @@ public String toString() {
227227 /**
228228 * Returns the CVM String representation of this Cell. Normally, this is as printed, but may be different for some types.
229229 *
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
231232 *
232233 * The String representation is intended to be a easy-to-read textual representation of the Cell's data content.
233234 * @param limit Limit of CVM String length in UTF-8 bytes
@@ -243,7 +244,7 @@ public AString toCVMString(long limit) {
243244 /**
244245 * Gets the cached blob representing this Cell's Encoding in binary format, if it exists.
245246 *
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.
247248 */
248249 public Blob cachedEncoding () {
249250 return encoding ;
@@ -290,7 +291,7 @@ public int getEncodingLength() {
290291 * Gets the Memory Size of this Cell, computing it if required.
291292 *
292293 * 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 .
294295 *
295296 * @return Memory Size of this Cell
296297 */
@@ -306,7 +307,7 @@ public final long getMemorySize() {
306307 * Gets the Memory Size of a Cell, computing it if required.
307308 *
308309 * 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 .
310311 *
311312 * @return Memory Size of this Cell
312313 */
0 commit comments