- <init>
Create the new cache with the specified size of default fragment.
- addFragment
- find
Find something in the cache using specified Finder. It covers both forward and
backward searches. To
- getDocLenImpl
- getDocLength
Get the total length of the document.
- getFrag
Get the correct fragment for a given position. Search all the fragments if
there's one that contains
- initCacheContent
Set initial content of the cache. This function may be called only once, after
construction, before
- insert
Insert the array of chars at some position. It can be done in one or more
cycles.
- insertString
Insert the string at some position. It can be done in one or more cycles.
- read
Read the data from the cache. Output array must be provided.
- readFrag
Read fragment and ensure that specified position will be inside (or at the end)
of the fragment's ca
- remove
Remove the specified count of chars from the specified position.