Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(Datum) - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Not implemented.
asAlist(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the datum as an associative list (alist).
asList(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the datum as a list.
asProperList(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the datum as a proper list.
AssocList - Class in org.rapidcow.trivnote.libexpr
Associative list view into a datum.
AssocList(Map<? extends Datum, ? extends Datum>) - Constructor for class org.rapidcow.trivnote.libexpr.AssocList
Constructs entries from a map.
AssocList(Datum) - Constructor for class org.rapidcow.trivnote.libexpr.AssocList
Constructs an alist view of the given datum.
Atom - Class in org.rapidcow.trivnote.libexpr
A non-nil terminal Datum.
Atom() - Constructor for class org.rapidcow.trivnote.libexpr.Atom
Default constructor.

B

booleanValue() - Method in class org.rapidcow.trivnote.libexpr.BoolScalar
Returns the boolean value of this scalar.
BoolScalar - Class in org.rapidcow.trivnote.libexpr
Boolean scalars.

C

car() - Method in class org.rapidcow.trivnote.libexpr.Cons
Returns the car of this cons cell.
car() - Method in class org.rapidcow.trivnote.libexpr.ConsCell
Returns the former half.
car() - Method in class org.rapidcow.trivnote.libexpr.ConsList
Returns the car of this cons cell.
car() - Method in class org.rapidcow.trivnote.libexpr.ConsTail
Returns the car.
car(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the car of the given datum.
cdr() - Method in class org.rapidcow.trivnote.libexpr.Cons
Returns the cdr of this cons cell.
cdr() - Method in class org.rapidcow.trivnote.libexpr.ConsCell
Returns the latter half.
cdr() - Method in class org.rapidcow.trivnote.libexpr.ConsList
Returns the cdr of this cons cell.
cdr() - Method in class org.rapidcow.trivnote.libexpr.ConsTail
Returns nil.
cdr(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the cdr of the given datum.
compareTo(Symbol) - Method in class org.rapidcow.trivnote.libexpr.Symbol
Compares symbol values lexicographically.
Cons - Class in org.rapidcow.trivnote.libexpr
An immutable pair of Datums.
Cons() - Constructor for class org.rapidcow.trivnote.libexpr.Cons
 
ConsCell - Class in org.rapidcow.trivnote.libexpr
Simple cons cells.
ConsCell(Datum, Datum) - Constructor for class org.rapidcow.trivnote.libexpr.ConsCell
Creates an immutable cons cell.
ConsList - Class in org.rapidcow.trivnote.libexpr
Cons cell with a known length.
ConsList(Deque<? extends Datum>, Cons) - Constructor for class org.rapidcow.trivnote.libexpr.ConsList
Creates a cons chain prefixed with a deque.
ConsList(List<? extends Datum>) - Constructor for class org.rapidcow.trivnote.libexpr.ConsList
Creates a proper cons chain from a non-empty list.
ConsList(Datum, Datum[], Datum) - Constructor for class org.rapidcow.trivnote.libexpr.ConsList
Creates a non-empty chain with explicit terminator.
ConsList(Datum, Datum, Datum...) - Constructor for class org.rapidcow.trivnote.libexpr.ConsList
Creates a non-empty chain with implicit terminator.
ConsTail - Class in org.rapidcow.trivnote.libexpr
Cons cell with a nil cdr.
ConsTail(Datum) - Constructor for class org.rapidcow.trivnote.libexpr.ConsTail
Creates a new car-only cons cell.
containsKey(Object) - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns whether an equal key occurs in this alist.
count() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns the number of distinct keys.
count() - Method in class org.rapidcow.trivnote.libexpr.ConsList
Returns the list size.
count() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns the element count, excluding the terminator.

D

DataDumper - Class in org.rapidcow.trivnote.libexpr
S-expression writer.
DataDumper(OutputStream) - Constructor for class org.rapidcow.trivnote.libexpr.DataDumper
Creates a writer from a byte stream with the default character encoding, StandardCharsets.UTF_8.
DataDumper(OutputStream, Charset) - Constructor for class org.rapidcow.trivnote.libexpr.DataDumper
Creates a writer from a byte stream.
DataDumper(Writer) - Constructor for class org.rapidcow.trivnote.libexpr.DataDumper
Creates a writer from a character stream.
DataLoader - Class in org.rapidcow.trivnote.libexpr
S-expression reader.
DataLoader(InputStream) - Constructor for class org.rapidcow.trivnote.libexpr.DataLoader
Creates a reader from a byte stream with the default character encoding, StandardCharsets.UTF_8.
DataLoader(InputStream, Charset) - Constructor for class org.rapidcow.trivnote.libexpr.DataLoader
Creates a reader from a byte stream.
DataLoader(Reader) - Constructor for class org.rapidcow.trivnote.libexpr.DataLoader
Creates a reader from a character stream.
DataLoadingException - Exception in org.rapidcow.trivnote.libexpr
Parsing exception.
DataLoadingException(String, long, long) - Constructor for exception org.rapidcow.trivnote.libexpr.DataLoadingException
Creates a new parsing exception without chaining.
DataLoadingException(String, Throwable, long, long) - Constructor for exception org.rapidcow.trivnote.libexpr.DataLoadingException
Creates a new parsing exception with chaining.
Datum - Class in org.rapidcow.trivnote.libexpr
Basic unit of an S-expression.
Datum() - Constructor for class org.rapidcow.trivnote.libexpr.Datum
Default constructor.
DatumList - Class in org.rapidcow.trivnote.libexpr
List view into a datum.
DatumList(List<? extends Datum>) - Constructor for class org.rapidcow.trivnote.libexpr.DatumList
Creates a proper datum list from another list.
DatumList(Datum) - Constructor for class org.rapidcow.trivnote.libexpr.DatumList
Construct a list view.
DatumWalk - Class in org.rapidcow.trivnote.libexpr
Datum list iterator.
DatumWalk(Datum) - Constructor for class org.rapidcow.trivnote.libexpr.DatumWalk
Creates a list iterator.

E

entrySet() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns a set of entries in this alist.
equals(Object) - Method in class org.rapidcow.trivnote.libexpr.Cons
Returns whether this equals o.
equals(Object) - Method in class org.rapidcow.trivnote.libexpr.Datum
Implements datum equality.
equals(Object) - Method in class org.rapidcow.trivnote.libexpr.Nil
Implements datum equality.
equals(Object) - Method in class org.rapidcow.trivnote.libexpr.Scalar
Compares this scalar against o for equality.
equals(Object) - Method in class org.rapidcow.trivnote.libexpr.Symbol
Implements datum equality.
EXACT - Enum constant in enum class org.rapidcow.trivnote.libexpr.Exactness
Exact.
exactness() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the exactness of this scalar.
Exactness - Enum Class in org.rapidcow.trivnote.libexpr
Numeric scalar exactness.
exponent() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the exponent of this scalar.

F

FALSE - Static variable in class org.rapidcow.trivnote.libexpr.BoolScalar
False.
finish(DatumWalk) - Method in class org.rapidcow.trivnote.libexpr.DatumList
Consumes a datum iterator and updates this list’s length and terminator from its states.
fromList(List<? extends Datum>) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a cons from a non-empty list.
fromList(List<? extends Datum>) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Copies a proper list from a List.
fromMap(Map<? extends Datum, ? extends Datum>) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Copies a Map into an alist.

G

get(Object) - Method in class org.rapidcow.trivnote.libexpr.AssocList
Finds the value of the first pair with an equal key.
getCharNumber() - Method in exception org.rapidcow.trivnote.libexpr.DataLoadingException
Returns the column number (1-based) of this exception.
getCharOffset() - Method in exception org.rapidcow.trivnote.libexpr.DataLoadingException
Returns the column number (0-based) of this exception.
getDepthLimit() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns the most levels of list nesting allowed.
getLengthLimit() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns the most elements per list allowed.
getLineNumber() - Method in exception org.rapidcow.trivnote.libexpr.DataLoadingException
Returns the line number (1-based) of this exception.
getLineOffset() - Method in exception org.rapidcow.trivnote.libexpr.DataLoadingException
Returns the line offset (0-based) of this exception.
getSymbolCache() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns the current symbol cache.

H

hashCode() - Method in class org.rapidcow.trivnote.libexpr.Cons
Returns hash code for this.
hashCode() - Method in class org.rapidcow.trivnote.libexpr.Datum
Implements datum hash code.
hashCode() - Method in class org.rapidcow.trivnote.libexpr.Nil
Implements datum hash code.
hashCode() - Method in class org.rapidcow.trivnote.libexpr.Scalar
Returns hash code for this scalar.
hashCode() - Method in class org.rapidcow.trivnote.libexpr.Symbol
Implements datum hash code.
hasNext() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns whether no I/O error occurred, and any datum remains.
hasNext() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns whether there is a next datum.
hasPrevious() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns whether there is a previous datum.
hasUniqueKeys() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns whether every pair has a distinct key.
head() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns the underlying proper list datum.
head() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns the underlying source datum.
head() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns the root datum.

I

INSTANCE - Static variable in class org.rapidcow.trivnote.libexpr.Nil
The singleton that represents nil.
isAtom(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns whether the datum is an atom.
isEmpty() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns whether this alist has no entries.
isEmpty() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns whether the source has no cons cells.
isList(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns whether the datum is a list.
isProperList() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns whether this list is proper.
isProperList(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns whether datum is a proper list.
isString() - Method in class org.rapidcow.trivnote.libexpr.Scalar
Returns whether this should be a quoted string.
iterator() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns this.

L

lastIOException() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns the I/O error since last iteration.
listIterator(int) - Method in class org.rapidcow.trivnote.libexpr.DatumList
Creates a read-only iterator positioned before the given element.
loadingException(String) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns a new exception carrying the current cursor position.
loadingException(String, Throwable) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns a new exception carrying the current cursor position.
LOSSY - Enum constant in enum class org.rapidcow.trivnote.libexpr.Exactness
Inexact.

M

makeList(Deque<Datum>, Cons) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Hook called to create a non-empty list.
makeNumber(String) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Hook called when a number-like token has been read.
makeString(String) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Hook called when a quoted string token has been read.
makeSymbol(String) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Hook called when a symbol token has been read.
mantissa() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the significand of this scalar.

N

next() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Returns the next datum in the stream.
next() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns the next datum.
nextIndex() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns index of the next datum.
Nil - Class in org.rapidcow.trivnote.libexpr
The atom devoid of value and the empty list.
noDepthLimit() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Removes the depth limit.
noLengthLimit() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Removes the length limit.
number() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the numeric portion of this scalar.
NumberScalar - Class in org.rapidcow.trivnote.libexpr
Numeric scalar.
NumberScalar() - Constructor for class org.rapidcow.trivnote.libexpr.NumberScalar
Default constructor.

O

of(boolean) - Static method in class org.rapidcow.trivnote.libexpr.BoolScalar
Returns the boolean scalar for the given value.
of(String) - Static method in class org.rapidcow.trivnote.libexpr.Symbol
Returns a new symbol for the given value.
of(Deque<? extends Datum>, Cons) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Prefixes a cons chain with a deque.
of(Datum, Datum) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a cons cell.
of(Datum, Datum[], Datum) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a non-empty cons chain with explicit terminator.
of(Datum, Datum, Datum...) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a non-empty cons chain with implicit terminator.
ofDeque(Deque<? extends Datum>) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Constructs a proper list from a Deque.
ofList(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a proper list of one element.
ofList(Datum, Datum) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a proper list of two elements.
ofList(Datum, Datum...) - Static method in class org.rapidcow.trivnote.libexpr.Cons
Creates a non-empty proper list.
ofNumber(String) - Static method in class org.rapidcow.trivnote.libexpr.Scalar
Returns an immutable numeric scalar atom.
ofString(String) - Static method in class org.rapidcow.trivnote.libexpr.Scalar
Returns an immutable string scalar atom.
org.rapidcow.trivnote.libexpr - package org.rapidcow.trivnote.libexpr
Data serialization methods via S-expressions.
out - Variable in class org.rapidcow.trivnote.libexpr.DataDumper
Output character stream.

P

position() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns the current position.
prefix() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the prefixes of this scalar.
previous() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns the previous datum.
previousIndex() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns index of the previous datum.

R

radix() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the radix of this scalar.
readChar() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Reads one character from the underlying reader.
readDatum() - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Reads and returns the next datum directly from the input.
remove() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Not implemented.
requireProperTail() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Require this list be nil-terminated.
requireUniqueKeys() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Requires every pair to have a distinct key.
rest() - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Returns the datum of the current iteration.

S

Scalar - Class in org.rapidcow.trivnote.libexpr
A boolean, number, or string Atom.
Scalar() - Constructor for class org.rapidcow.trivnote.libexpr.Scalar
Default constructor.
seek(long) - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Seeks to a position relative to the current cursor.
set(Datum) - Method in class org.rapidcow.trivnote.libexpr.DatumWalk
Not implemented.
sign() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the sign of this scalar.
size() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns the number of distinct keys.
size() - Method in class org.rapidcow.trivnote.libexpr.ConsList
Returns the list size.
size() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns the element count, capped at Integer.MAX_VALUE.
StringScalar - Class in org.rapidcow.trivnote.libexpr
The string scalar type.
StringScalar(String) - Constructor for class org.rapidcow.trivnote.libexpr.StringScalar
Constructs a new string scalar.
Symbol - Class in org.rapidcow.trivnote.libexpr
Special Atom that tends to repeat itself in many places.
Symbol(String) - Constructor for class org.rapidcow.trivnote.libexpr.Symbol
Constructs a new symbol.

T

tail() - Method in class org.rapidcow.trivnote.libexpr.ConsList
Returns the list terminator.
tail() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns the list terminator.
toProperList() - Method in class org.rapidcow.trivnote.libexpr.DatumList
Returns a view of the same elements, terminated by nil.
toString() - Method in class org.rapidcow.trivnote.libexpr.BoolScalar
Returns a string representation of this.
toString() - Method in exception org.rapidcow.trivnote.libexpr.DataLoadingException
Returns a diagnostic string including the one-based cursor line and column.
toString() - Method in class org.rapidcow.trivnote.libexpr.Nil
Returns a string representation of nil.
toString() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns a string representation of this scalar.
toString() - Method in class org.rapidcow.trivnote.libexpr.StringScalar
Returns a good-enough string representation of this scalar.
toString() - Method in class org.rapidcow.trivnote.libexpr.Symbol
Returns a diagnostic string containing this symbol’s value.
TRUE - Static variable in class org.rapidcow.trivnote.libexpr.BoolScalar
True.

U

unreadChar(int) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Pushes back a character.
UNSPECIFIED - Enum constant in enum class org.rapidcow.trivnote.libexpr.Exactness
Exactness was not specified.
useDepthLimit(long) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Limit how deeply lists may nest.
useLengthLimit(long) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Limit how many elements a single list may have.
useSymbolCache(Map<String, Symbol>) - Method in class org.rapidcow.trivnote.libexpr.DataLoader
Use a map for symbol lookup upon construction.

V

value() - Method in class org.rapidcow.trivnote.libexpr.Atom
Returns the value of this atom.
value() - Method in class org.rapidcow.trivnote.libexpr.BoolScalar
Returns the value of this atom.
value() - Method in class org.rapidcow.trivnote.libexpr.NumberScalar
Returns the value of this atom.
value() - Method in class org.rapidcow.trivnote.libexpr.StringScalar
Returns the value of this atom.
value() - Method in class org.rapidcow.trivnote.libexpr.Symbol
Returns the value of this symbol.
value(Datum) - Static method in class org.rapidcow.trivnote.libexpr.Datum
Returns the value of the given datum.
valueOf(String) - Static method in enum class org.rapidcow.trivnote.libexpr.Exactness
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.rapidcow.trivnote.libexpr.Exactness
Returns an array containing the constants of this enum class, in the order they are declared.

W

withUniqueKeys() - Method in class org.rapidcow.trivnote.libexpr.AssocList
Returns a pruned alist of uniquely keyed entries.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form