Skip to content

Collections

Collections are synchronized mutable structures manipulated with OP.

See Type construction and operations for exact arguments, results, edge cases, and implementation costs. In particular, list front operations use slices, deques use a circular buffer, ring buffers overwrite the oldest entry at capacity, and sorted-set range reads sort the current entries by score.

TypeConstructionPrincipal operations
listCREATEPUSH_FRONT, PUSH_BACK, POP_FRONT, POP_BACK, RANGE, LEN
arrayCREATEAPPEND, SET, GET, VALUES, LEN
dequeCREATEPUSH_FRONT, PUSH_BACK, POP_FRONT, POP_BACK, VALUES, LEN
ring_bufferCREATEPUSH, VALUES, LEN
tupleCREATEGET, VALUES, LEN
setCREATEADD, REMOVE, CONTAINS, MEMBERS, LEN
sorted_setCREATEADD, REMOVE, SCORE, RANGE
ordered_setCREATEADD, REMOVE, VALUES
multisetCREATEADD, REMOVE, COUNT
hashmapCREATESET, GET, DELETE, KEYS
ordered_mapCREATESET, GET, DELETE, ENTRIES
multimapCREATEADD, GET, REMOVE