/** * <p> * Returns the {@link List} that backs this {@link AtomContext} object, so modifications to the list will be * reflected by this context and vice versa. {@link AtomContext} uses reference counting as an optimization, so a * call to this method might result in duplicating atoms if others currently hold a reference to them. * </p> * * @return the atoms of this {@link AtomContext} */ public List<ByteBuffer> getModifiableAtoms() { toExclusive(); return atoms(); }