MemoryMappedAsciiFileParserInput

eu.geekplace.tex.tlpdb.MemoryMappedAsciiFileParserInput
See theMemoryMappedAsciiFileParserInput companion object
class MemoryMappedAsciiFileParserInput(channel: FileChannel, buffer: MappedByteBuffer) extends AsciiByteBufferParserInput, AutoCloseable

Attributes

Companion
object
Graph
Supertypes
trait AutoCloseable
class DefaultParserInput
trait ParserInput
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable

Inherited methods

override def charAt(ix: Int): Char

Returns the character at the given (zero-based) index. Note: this method is hot and should be small and efficient. A range-check is not required for the parser to work correctly.

Returns the character at the given (zero-based) index. Note: this method is hot and should be small and efficient. A range-check is not required for the parser to work correctly.

Attributes

Definition Classes
Inherited from:
AsciiByteBufferParserInput
def getLine(line: Int): String

Gets the input line with the given number as a String. Note: the first line is line number one!

Gets the input line with the given number as a String. Note: the first line is line number one!

Attributes

Inherited from:
DefaultParserInput
override def sliceCharArray(start: Int, end: Int): Array[Char]

Returns the characters between index start (inclusively) and end (exclusively) as an Array[Char].

Returns the characters between index start (inclusively) and end (exclusively) as an Array[Char].

Attributes

Definition Classes
Inherited from:
AsciiByteBufferParserInput
override def sliceString(start: Int, end: Int): String

Returns the characters between index start (inclusively) and end (exclusively) as a String.

Returns the characters between index start (inclusively) and end (exclusively) as a String.

Attributes

Definition Classes
Inherited from:
AsciiByteBufferParserInput

Inherited fields

override val length: Int

The number of characters in this input. Note: this method is hot and should be small and efficient.

The number of characters in this input. Note: this method is hot and should be small and efficient.

Attributes

Inherited from:
AsciiByteBufferParserInput