FileAsList (biojava-legacy 1.9.5 API)
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description FileAsList(File mappedFile, boolean mutable)Creates a new
FileAsListinstance from an existing backing file.FileAsList(File mappedFile, int recordLength)Creates a new
FileAsListand corresponding backing file.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanadd(Object o)voidclear()voidcommit()commitcommits pending changes.protected abstract voidgenerateRecord(byte[] buffer, Object item)Objectget(int indx)abstract ComparatorgetComparator()Iteratoriterator()protected abstract ObjectparseRecord(byte[] buffer)byte[]rawGet(int indx)rawGetreads the record at the specified index as a raw byte array.voidrollback()rollbackreverses pending changes to restore initial (or prior commit) state.Objectset(int indx, Object o)This always returns null, not the previous object.
intsize()-
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-