Class FileAsList

  • All Implemented Interfaces:
    Iterable, Collection, List, Commitable

    public abstract class FileAsList
    extends AbstractList
    implements Commitable
    FileAsList creates a writable List implementation backed by a random access file. There is a restriction on the record length that the string representation of that integer may not be longer than 4 bytes. This is because a fixed 4 byte leader is used to encode the record length in the file.
    Matthew Pocock, Keith James, Greg Cox