Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z 

A

Acceptance() - Constructor for class org.sfj.LittleCASPaxos.Acceptance
 
Acceptance(LittleCASPaxos.KV) - Constructor for class org.sfj.LittleCASPaxos.Acceptance
 
add(int, JSONOne.JObject) - Method in class org.sfj.JSONOne.JArray
 
addBoolean(int, boolean) - Method in class org.sfj.JSONOne.JArray
 
addBoolean(boolean) - Method in class org.sfj.JSONOne.JArray
 
addNull(int) - Method in class org.sfj.JSONOne.JArray
 
addNull() - Method in class org.sfj.JSONOne.JArray
 
addNumber(int, Number) - Method in class org.sfj.JSONOne.JArray
 
addNumber(Number) - Method in class org.sfj.JSONOne.JArray
 
addString(int, String) - Method in class org.sfj.JSONOne.JArray
 
addString(String) - Method in class org.sfj.JSONOne.JArray
 
allValues() - Method in class org.sfj.PegLegParser.Values
Snapshot the values in a list, top element as the 0th element
anyChar() - Method in class org.sfj.PegLegParser
Rule with matches any character.
anyOf(CharSequence) - Method in class org.sfj.PegLegParser
Generates a rule which matches any single char in the char sequence.
append(EE) - Method in interface org.sfj.ReplacementDiskSort.ExternalAppender
 
args(String[]) - Static method in class org.sfj.DumbCLIParse
Just turn main() args into a mutable list.
arrayValue() - Method in class org.sfj.JSONOne.JArray
 
arrayValue() - Method in interface org.sfj.JSONOne.JObject
 

B

Ballot(int, int, int) - Constructor for class org.sfj.LittleCASPaxos.Ballot
 
bigger(LittleCASPaxos.Node) - Method in class org.sfj.LittleCASPaxos.Ballot
 
boolValue() - Method in class org.sfj.JSONOne.JBoolean
 
boolValue() - Method in interface org.sfj.JSONOne.JObject
 
bytesOnDisk() - Method in class org.sfj.ChiseledMap
File footprint on disk.

C

ch(char) - Method in class org.sfj.PegLegParser
Generate a terminal rule for a specific character.
charRange(char, char) - Method in class org.sfj.PegLegParser
Generate a terminal rule for a range of characters.
CharTerminal(PegLegParser.TerminalRule<V>) - Constructor for class org.sfj.PegLegParser.CharTerminal
 
ChiseledMap<K,V> - Class in org.sfj
Dead simple persistent ordered map.
ChiseledMap(File, ChiseledMap.OpenOption, Comparator<K>) - Constructor for class org.sfj.ChiseledMap
 
ChiseledMap(File, ChiseledMap.OpenOption, Comparator<K>, ChiseledMap.Encoder<K, V>, ChiseledMap.Decoder<K, V>) - Constructor for class org.sfj.ChiseledMap
Constructor.
ChiseledMap.Decoder<KK,VV> - Interface in org.sfj
Decode a byte array into a key/value pair.
ChiseledMap.Encoder<KK,VV> - Interface in org.sfj
Encode a key/value (here you must handle null values) into a ByteBuffer.
ChiseledMap.OpenOption - Enum in org.sfj
Open methods.
ChiseledMap.RuntimeIOException - Exception in org.sfj
For the map methods, IOExceptions are wrapped in this.
clear() - Method in class org.sfj.ChiseledMap
 
clear() - Method in class org.sfj.JSONOne.JMap
 
Client(String) - Constructor for class org.sfj.PojoClientServer.Client
Create client bundle.
Client(String, PojoClientServer.Encoder, PojoClientServer.Decoder) - Constructor for class org.sfj.PojoClientServer.Client
Create client bundle.
Client(ScheduledExecutorService, Class<? super T>, Consumer<ProxyMe.Invocation>, long, TimeUnit) - Constructor for class org.sfj.ProxyMe.Client
Create client proxy site.
clientProxy() - Method in class org.sfj.ProxyMe.Client
This actually hands you back the proxy class.
clientProxy(ClassLoader) - Method in class org.sfj.ProxyMe.Client
This actually hands you back the proxy class.
close() - Method in class org.sfj.ChiseledMap
Close this TinyKVMap.
close() - Method in class org.sfj.PojoClientServer.SingleConnection
Non failing close().
close() - Method in interface org.sfj.ReplacementDiskSort.ExternalAppender
 
close() - Method in class org.sfj.RFC4180CSVParser
Close this, close the reader.
closeAll() - Method in class org.sfj.PojoClientServer.Client
Close all managed connections associated with this client
compareTo(LittleCASPaxos.Ballot) - Method in class org.sfj.LittleCASPaxos.Ballot
 
complete(ProxyMe.InvocationReturn<R>) - Method in class org.sfj.ProxyMe.Client
Use to complete the client site invocation with an invocation return.
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.sfj.ChiseledMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.sfj.ChiseledMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.sfj.ChiseledMap
 
consumed() - Method in class org.sfj.PegLegParser.RuleReturn
Did the rule consume chars.
containsKey(Object) - Method in class org.sfj.ChiseledMap
 
containsKey(Object) - Method in class org.sfj.JSONOne.JMap
 
containsValue(Object) - Method in class org.sfj.JSONOne.JMap
 
createOutgoingClient(InetSocketAddress, int) - Method in class org.sfj.PojoClientServer.Client
Create a managed outgoing client.

D

decode(byte[]) - Method in interface org.sfj.ChiseledMap.Decoder
 
DECODE_JAVA_SER - Static variable in class org.sfj.ChiseledMap
Default java deserialization.
dictionaryOf(String...) - Method in class org.sfj.PegLegParser
Dictionary lookup, optimized.
DIGEST_MASK - Static variable in class org.sfj.ChiseledMap
 
DumbCLIParse - Class in org.sfj
This is in honor of a past boss of mine, a crackerjack dev, who struggled (one time! but sadly on a projected screen...

E

Element(Object) - Constructor for class org.sfj.ReplacementDiskSort.Element
 
empty() - Method in class org.sfj.PegLegParser
Returns true, matches nothing, consumes nothing.
encode(KK, VV) - Method in interface org.sfj.ChiseledMap.Encoder
 
ENCODE_JAVA_SER - Static variable in class org.sfj.ChiseledMap
Default java serialization.
entries() - Method in class org.sfj.ChiseledMap
Entry iterator.
entriesOnDisk() - Method in class org.sfj.ChiseledMap
Number of entries actually on the disk, even if invalid.
entrySet() - Method in class org.sfj.ChiseledMap
 
entrySet() - Method in class org.sfj.JSONOne.JMap
 
eof() - Method in class org.sfj.PegLegParser
 
eol() - Method in class org.sfj.PegLegParser
 
equals(Object) - Method in class org.sfj.LittleCASPaxos.Ballot
 
escapeString(CharSequence) - Static method in class org.sfj.JSONOne
 
ex(Runnable) - Method in class org.sfj.PegLegParser
Execs a blob of code, always continues parsing.

F

farthestSuccessfulPos - Variable in class org.sfj.PegLegParser
 
firstOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule "Choice", here called firstOf.
flush() - Method in class org.sfj.ChiseledMap
Flush any buffered changes to disk, fsync.

G

get(Object) - Method in class org.sfj.ChiseledMap
 
get(int) - Method in class org.sfj.JSONOne.JArray
 
get(Object) - Method in class org.sfj.JSONOne.JMap
 
get() - Method in class org.sfj.PegLegParser
Get context object at the moment.
getArgs() - Method in class org.sfj.ProxyMe.Invocation
 
getArray(String, JSONOne.JArray) - Method in class org.sfj.JSONOne.JMap
 
getBallot() - Method in class org.sfj.LittleCASPaxos.KV
 
getBallot() - Method in class org.sfj.LittleCASPaxos.Prepare
 
getBoolean(String, Boolean) - Method in class org.sfj.JSONOne.JMap
 
getConnections() - Method in class org.sfj.PojoClientServer.Server
Return current connections, in no particular order.
getData() - Method in class org.sfj.ReplacementDiskSort.Element
 
getDestFiles() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 
getFailureMessage() - Method in class org.sfj.PegLegParser
 
getFarthestSuccessfulPos() - Method in class org.sfj.PegLegParser
 
getFile() - Method in class org.sfj.ChiseledMap
File being used.
getHeader() - Method in class org.sfj.RFC4180CSVParser
If reading a header was specified, then it can be retrieved via this method.
getId() - Method in class org.sfj.PojoClientServer.SingleConnection
ID for this connection/
getIId() - Method in class org.sfj.ProxyMe.Invocation
 
getIid() - Method in class org.sfj.ProxyMe.InvocationReturn
 
getInstance() - Method in class org.sfj.ProxyMe.Server
 
getKey() - Method in class org.sfj.LittleCASPaxos.KV
 
getKey() - Method in class org.sfj.LittleCASPaxos.Prepare
 
getKV() - Method in class org.sfj.LittleCASPaxos.Acceptance
 
getKV() - Method in class org.sfj.LittleCASPaxos.RoundResult
Key Value object on success, conficting value on conflict.
getKV() - Method in class org.sfj.LittleCASPaxos.RoundStepResult
 
getLastIgnoredThrowable() - Method in class org.sfj.PojoClientServer.Client
Get the last ignored exception
getLastIgnoredThrowable() - Method in class org.sfj.PojoClientServer.Server
Get the last ignored exception
getLastIgnoredThrowable() - Method in class org.sfj.PojoClientServer.SingleConnection
Get the last ignored exception
getLastReturn() - Method in class org.sfj.PegLegParser
Last rule return.
getLastSuccessfulReturn() - Method in class org.sfj.PegLegParser
 
getMap(String, JSONOne.JMap) - Method in class org.sfj.JSONOne.JMap
 
getMethodName() - Method in class org.sfj.ProxyMe.Invocation
 
getName() - Method in class org.sfj.PojoClientServer.Client
Get the name.
getName() - Method in class org.sfj.PojoClientServer.Server
Get the name.
getNodeID() - Method in interface org.sfj.LittleCASPaxos.Node
 
getNumber(String, Number) - Method in class org.sfj.JSONOne.JMap
 
getPass() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 
getPassInfo() - Method in class org.sfj.ReplacementDiskSort
 
getProxy() - Method in class org.sfj.ProxyMe.Server
 
getProxyClass() - Method in class org.sfj.ProxyMe.Client
 
getResponses() - Method in class org.sfj.LittleCASPaxos.RoundResult
Number of nodes that responded.
getResult() - Method in class org.sfj.LittleCASPaxos.RoundResult
Result code
getReturnValue() - Method in class org.sfj.ProxyMe.InvocationReturn
 
getRun() - Method in class org.sfj.ReplacementDiskSort.Element
 
getRunCounts() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 
getRunTimeMS() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 
getSocket() - Method in class org.sfj.PojoClientServer.SingleConnection
 
getSrcFiles() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 
getString(String, String) - Method in class org.sfj.JSONOne.JMap
 
getThrowable() - Method in class org.sfj.ProxyMe.InvocationReturn
 
getTimeoutPool() - Method in class org.sfj.ProxyMe.Client
 
getType() - Method in class org.sfj.JSONOne.JArray
 
getType() - Method in class org.sfj.JSONOne.JMap
 
getType() - Method in interface org.sfj.JSONOne.JObject
 
getVal() - Method in class org.sfj.LittleCASPaxos.KV
 
getWhiteSpace() - Method in class org.sfj.PegLegParser
 

H

hashCode() - Method in class org.sfj.LittleCASPaxos.Ballot
 
HDR - Static variable in class org.sfj.ChiseledMap
 

I

ignoreCase() - Method in class org.sfj.PegLegParser.CharTerminal
Ignore case.
incrementMighty(LittleCASPaxos.Node) - Method in class org.sfj.LittleCASPaxos.Ballot
 
incrementTiny(LittleCASPaxos.Node) - Method in class org.sfj.LittleCASPaxos.Ballot
 
Invocation() - Constructor for class org.sfj.ProxyMe.Invocation
 
InvocationReturn() - Constructor for class org.sfj.ProxyMe.InvocationReturn
 
invoke(ProxyMe.Invocation) - Method in class org.sfj.ProxyMe.Server
Invoke the Invocation on the instance object, returning the InvocationReturn object.
ioGet(Object) - Method in class org.sfj.ChiseledMap
Retrieve the value associated with a specified key.
ioSet(K, V) - Method in class org.sfj.ChiseledMap
Associate a key to a value
ioUnset(K) - Method in class org.sfj.ChiseledMap
Clear a value.
isAlive() - Method in class org.sfj.PojoClientServer.SingleConnection
 
isFixed() - Method in class org.sfj.JSONOne.JNumber
 
isListening() - Method in class org.sfj.PojoClientServer.Server
Check if we are currently listening.
isNull(String, boolean) - Method in class org.sfj.JSONOne.JMap
 
isOk() - Method in class org.sfj.LittleCASPaxos.RoundStepResult
 
iterator() - Method in class org.sfj.RFC4180CSVParser
 

J

JArray() - Constructor for class org.sfj.JSONOne.JArray
 
JBoolean() - Constructor for class org.sfj.JSONOne.JBoolean
 
JBoolean(Boolean) - Constructor for class org.sfj.JSONOne.JBoolean
 
JMap() - Constructor for class org.sfj.JSONOne.JMap
 
JNull() - Constructor for class org.sfj.JSONOne.JNull
 
JNumber() - Constructor for class org.sfj.JSONOne.JNumber
 
JNumber(Number) - Constructor for class org.sfj.JSONOne.JNumber
 
JSONOne - Class in org.sfj
Single class containing classes for representing JSON objects programmatically.
JSONOne() - Constructor for class org.sfj.JSONOne
 
JSONOne.JArray - Class in org.sfj
JSON Array class.
JSONOne.JBoolean - Class in org.sfj
Boolean value
JSONOne.JMap - Class in org.sfj
JSON Map value.
JSONOne.JNull - Class in org.sfj
Null value.
JSONOne.JNumber - Class in org.sfj
Number object.
JSONOne.JObject - Interface in org.sfj
A JSON object.
JSONOne.JString - Class in org.sfj
Holds a string value.
JSONOne.Parser - Class in org.sfj
Parser, parses reasonably standard JSON.
JSONOne.Type - Enum in org.sfj
JSON value types
JString() - Constructor for class org.sfj.JSONOne.JString
 
JString(CharSequence) - Constructor for class org.sfj.JSONOne.JString
 

K

keySet() - Method in class org.sfj.JSONOne.JMap
 
KV() - Constructor for class org.sfj.LittleCASPaxos.KV
 

L

LittleCASPaxos - Class in org.sfj
This is a super simple Single-Decree Paxos implementation as outlined in this paper https://arxiv.org/abs/1802.07000 .
LittleCASPaxos(LittleCASPaxos.Network, LittleCASPaxos.Node, LittleCASPaxos.Storage) - Constructor for class org.sfj.LittleCASPaxos
Create a paxos node.
LittleCASPaxos.Acceptance - Class in org.sfj
Acceptance message.
LittleCASPaxos.Ballot - Class in org.sfj
Immutable ballot for Paxos rounds.
LittleCASPaxos.KV - Class in org.sfj
Key and value with last modification ballot.
LittleCASPaxos.Node - Interface in org.sfj
Node interface.
LittleCASPaxos.PaxosResult - Enum in org.sfj
Result codes, blah.
LittleCASPaxos.Prepare - Class in org.sfj
Proposal message.
LittleCASPaxos.RoundResult - Class in org.sfj
Result of a paxos round (prep/accept).
LittleCASPaxos.RoundStepResult - Class in org.sfj
Result message.

M

make(File) - Method in interface org.sfj.ReplacementDiskSort.AppenderMaker
 
make(File) - Method in interface org.sfj.ReplacementDiskSort.IterMaker
 
makeRuns(File, int) - Method in class org.sfj.ReplacementDiskSort
 
mapValue() - Method in class org.sfj.JSONOne.JMap
 
mapValue() - Method in interface org.sfj.JSONOne.JObject
 
match() - Method in class org.sfj.PegLegParser
The last rule's matched literal.
match() - Method in class org.sfj.PegLegParser.RuleReturn
 
matched() - Method in class org.sfj.PegLegParser.RuleReturn
Did we match.
matchLen() - Method in class org.sfj.PegLegParser.RuleReturn
Length of match.
matchLine() - Method in class org.sfj.PegLegParser.RuleReturn
Line of match, first line is 1.
matchLineOffset() - Method in class org.sfj.PegLegParser.RuleReturn
Line offset of match, 1st char on line is 0.
matchPos() - Method in class org.sfj.PegLegParser.RuleReturn
Char offset into input where match occurred.
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.sfj.ChiseledMap
 
mergePass(int, List<File>, File) - Method in class org.sfj.ReplacementDiskSort
 
MIN - Static variable in class org.sfj.LittleCASPaxos.Ballot
 

N

named(String, PegLegParser.PegLegRule<V>) - Method in class org.sfj.PegLegParser
name a rule
next() - Method in interface org.sfj.ReplacementDiskSort.ExternalIterator
 
noneOf(CharSequence) - Method in class org.sfj.PegLegParser
Rule that matches any character not contained in the char sequence specified.
nothing() - Method in class org.sfj.PegLegParser
Always fails to match, consumes nothing
nullValue() - Method in class org.sfj.JSONOne.JNull
 
nullValue() - Method in interface org.sfj.JSONOne.JObject
 
numberValue() - Method in class org.sfj.JSONOne.JNumber
 
numberValue() - Method in interface org.sfj.JSONOne.JObject
 

O

onePlusOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule "OneOrMore", matches the given set of rules, greedily, one or more times.
optOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule "Optional", matches the given set of rules, greedily, zero or one times.
org.sfj - package org.sfj
 

P

parse(PegLegParser.PegLegRule<V>) - Method in class org.sfj.PegLegParser
A Parsing entry point.
Parser(String) - Constructor for class org.sfj.JSONOne.Parser
 
parseTrail() - Method in class org.sfj.PegLegParser
 
PassInfo(int, List<File>, List<File>, List<Long>, long) - Constructor for class org.sfj.ReplacementDiskSort.PassInfo
 
paxos(String, Function<Object, Object>, int, long, TimeUnit) - Method in class org.sfj.LittleCASPaxos
Actual entry point to run a paxos round.
peek() - Method in class org.sfj.PegLegParser.Values
 
PegLegParser<V> - Class in org.sfj
This class implements a complete PEG parser, a la https://en.wikipedia.org/wiki/Parsing_expression_grammar
PegLegParser() - Constructor for class org.sfj.PegLegParser
 
PegLegParser.CharTerminal<V> - Class in org.sfj
Terminal based on some set of characters.
PegLegParser.RuleReturn<V> - Class in org.sfj
Rule return.
PegLegParser.Values<V> - Class in org.sfj
Stack of values.
PojoClientServer - Class in org.sfj
This class provides very simple client/server framework for passing pojos between a client and server, using either standard java serialization, or a user specified encode/decode path.
PojoClientServer.Client - Class in org.sfj
Bundle of clients from this porcess to a variety of remote endpoints.
PojoClientServer.Server - Class in org.sfj
Server.
PojoClientServer.SingleConnection - Class in org.sfj
Single connection class.
pojoValue() - Method in class org.sfj.JSONOne.JArray
 
pojoValue() - Method in class org.sfj.JSONOne.JMap
 
pojoValue() - Method in interface org.sfj.JSONOne.JObject
 
pop() - Method in class org.sfj.PegLegParser.Values
 
pop(int) - Method in class org.sfj.PegLegParser.Values
Pop the value 'pos' down the stack.
Prepare() - Constructor for class org.sfj.LittleCASPaxos.Prepare
 
Prepare(LittleCASPaxos.Ballot, String) - Constructor for class org.sfj.LittleCASPaxos.Prepare
 
print(Writer, int, boolean) - Method in class org.sfj.JSONOne.JArray
 
print(Writer, int, boolean) - Method in class org.sfj.JSONOne.JBoolean
 
print(Writer, int, boolean) - Method in class org.sfj.JSONOne.JMap
 
print(Writer, int, boolean) - Method in class org.sfj.JSONOne.JNull
 
print(Writer, int, boolean) - Method in interface org.sfj.JSONOne.JObject
 
print(boolean) - Method in interface org.sfj.JSONOne.JObject
 
print() - Method in interface org.sfj.JSONOne.JObject
 
print(int, boolean) - Method in interface org.sfj.JSONOne.JObject
 
print(Writer, int, boolean) - Method in class org.sfj.JSONOne.JString
 
processAcceptance(LittleCASPaxos.Acceptance, Consumer<LittleCASPaxos.RoundStepResult>) - Method in class org.sfj.LittleCASPaxos
Call this process an Acceptance message.
processPrepare(LittleCASPaxos.Prepare, Consumer<LittleCASPaxos.RoundStepResult>) - Method in class org.sfj.LittleCASPaxos
Call this to process a Prepare message.
ProxyMe - Class in org.sfj
This is a class providing a simple framework for Proxying an interface with user specified invocation middle.
ProxyMe.Client<T> - Class in org.sfj
Client side proxy site.
ProxyMe.Invocation - Class in org.sfj
Invocation class, just bundles up an invocation id, a method name, and a set of args.Suitable to be passed from a client site through to a remote server site.
ProxyMe.InvocationReturn<R> - Class in org.sfj
Return result of an invocation.
ProxyMe.Server<T> - Class in org.sfj
Server site for proxies.
push(V) - Method in class org.sfj.PegLegParser.Values
 
put(K, V) - Method in class org.sfj.ChiseledMap
 
put(String, JSONOne.JObject) - Method in class org.sfj.JSONOne.JMap
 
putArray(String, JSONOne.JArray) - Method in class org.sfj.JSONOne.JMap
 
putBoolean(String, boolean) - Method in class org.sfj.JSONOne.JMap
 
putIfAbsent(K, V) - Method in class org.sfj.ChiseledMap
 
putMap(String, JSONOne.JMap) - Method in class org.sfj.JSONOne.JMap
 
putNull(String) - Method in class org.sfj.JSONOne.JMap
 
putNumber(String, Number) - Method in class org.sfj.JSONOne.JMap
 
putString(String, String) - Method in class org.sfj.JSONOne.JMap
 

R

receive() - Method in class org.sfj.PojoClientServer.SingleConnection
Just receive a message.
record() - Method in class org.sfj.RFC4180CSVParser
Retrieve the next record in the CSV file.
remove(Object) - Method in class org.sfj.ChiseledMap
 
remove(Object, Object) - Method in class org.sfj.ChiseledMap
 
remove(int) - Method in class org.sfj.JSONOne.JArray
 
remove(Object) - Method in class org.sfj.JSONOne.JMap
 
replace(K, V, V) - Method in class org.sfj.ChiseledMap
 
replace(K, V) - Method in class org.sfj.ChiseledMap
 
ReplacementDiskSort<E extends ReplacementDiskSort.Element> - Class in org.sfj
External merge sort implementation.
ReplacementDiskSort(ReplacementDiskSort.IterMaker<E>, ReplacementDiskSort.AppenderMaker<E>, Comparator<E>, boolean) - Constructor for class org.sfj.ReplacementDiskSort
Constructor.
ReplacementDiskSort.AppenderMaker<EE extends ReplacementDiskSort.Element> - Interface in org.sfj
Make an appender for a specific file.
ReplacementDiskSort.Element - Class in org.sfj
This is the class you need to subclass; you will provide file iterators (readers) and file appenders for your subclass.
ReplacementDiskSort.ExternalAppender<EE extends ReplacementDiskSort.Element> - Interface in org.sfj
An external appender.
ReplacementDiskSort.ExternalIterator<EE extends ReplacementDiskSort.Element> - Interface in org.sfj
An external iterator.
ReplacementDiskSort.IterMaker<EE extends ReplacementDiskSort.Element> - Interface in org.sfj
Make an iterator for a specific file.
ReplacementDiskSort.PassInfo - Class in org.sfj
 
reverse() - Method in class org.sfj.PegLegParser.Values
All the values in reverse.
RFC4180CSVParser - Class in org.sfj
This attempts to implement a very tiny RFX4180 compliant CSV parser.
RFC4180CSVParser(Reader) - Constructor for class org.sfj.RFC4180CSVParser
Constructor, no header, comma seperator
RFC4180CSVParser(boolean, Reader) - Constructor for class org.sfj.RFC4180CSVParser
Constructor, specifying if there is a header to read.
RFC4180CSVParser(char, boolean, Reader) - Constructor for class org.sfj.RFC4180CSVParser
Constructor, specifying field separator, and if there is a header to read.
RoundResult(LittleCASPaxos.PaxosResult, LittleCASPaxos.KV, int) - Constructor for class org.sfj.LittleCASPaxos.RoundResult
 
RoundStepResult() - Constructor for class org.sfj.LittleCASPaxos.RoundStepResult
 
RoundStepResult(boolean, LittleCASPaxos.KV) - Constructor for class org.sfj.LittleCASPaxos.RoundStepResult
 
rule() - Method in class org.sfj.PegLegParser.CharTerminal
 
run(File, int, int, File, File) - Method in class org.sfj.ReplacementDiskSort
 
runOnce(ReplacementDiskSort.IterMaker<E>, ReplacementDiskSort.AppenderMaker<E>, Comparator<E>, boolean, File, int, int, File, File) - Static method in class org.sfj.ReplacementDiskSort
Single method to do a single run.
RuntimeIOException(Throwable) - Constructor for exception org.sfj.ChiseledMap.RuntimeIOException
 

S

scanForAllFlags(List<String>) - Static method in class org.sfj.DumbCLIParse
 
scanForAllParamArgs(List<String>) - Static method in class org.sfj.DumbCLIParse
 
scanForArgWithParm(List<String>, String) - Static method in class org.sfj.DumbCLIParse
Scan for the first argument with a param name that matches the argname.
scanForFlag(List<String>, String, boolean) - Static method in class org.sfj.DumbCLIParse
Scan for the first argument with a param name that matches the argname.
send(Object) - Method in class org.sfj.PojoClientServer.SingleConnection
Send a message, don't wait.
sendAndReceive(Object) - Method in class org.sfj.PojoClientServer.SingleConnection
Send and receive a message; wait until done.
seqOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule: "Sequence".
Server(String, int, Consumer<PojoClientServer.SingleConnection>) - Constructor for class org.sfj.PojoClientServer.Server
Constructor for a server object.
Server(String, int, PojoClientServer.Encoder, PojoClientServer.Decoder, Consumer<PojoClientServer.SingleConnection>) - Constructor for class org.sfj.PojoClientServer.Server
Constructor for a server object.
Server(Class<? super T>, T) - Constructor for class org.sfj.ProxyMe.Server
Create a server side path to invoke a particular invocation on an instance of the proxy class.
set(K, V) - Method in class org.sfj.ChiseledMap
Unchecked verson of ioSet()
set(int, JSONOne.JObject) - Method in class org.sfj.JSONOne.JArray
 
setBoolean(int, boolean) - Method in class org.sfj.JSONOne.JArray
 
setLineSeparator(String) - Method in class org.sfj.PegLegParser
 
setNull(int) - Method in class org.sfj.JSONOne.JArray
 
setNumber(int, Number) - Method in class org.sfj.JSONOne.JArray
 
setString(int, String) - Method in class org.sfj.JSONOne.JArray
 
setVerbose(PrintStream) - Method in class org.sfj.ReplacementDiskSort
 
setWhiteSpace(String) - Method in class org.sfj.PegLegParser
 
SingleConnection(int, Socket, PojoClientServer.Encoder, PojoClientServer.Decoder, Consumer<PojoClientServer.SingleConnection>) - Constructor for class org.sfj.PojoClientServer.SingleConnection
 
singleObject() - Method in class org.sfj.JSONOne.Parser
 
size() - Method in class org.sfj.ChiseledMap
 
size() - Method in class org.sfj.JSONOne.JArray
 
snapshot(File) - Method in class org.sfj.ChiseledMap
Copy only live entries to another file.
startServer() - Method in class org.sfj.PojoClientServer.Server
Start the server.
stop() - Method in class org.sfj.PojoClientServer.Server
Stop the server, close all connections.
str(CharSequence) - Method in class org.sfj.PegLegParser
Generate a rule for a specific string (char sequence)
stringValue() - Method in interface org.sfj.JSONOne.JObject
 
stringValue() - Method in class org.sfj.JSONOne.JString
 
swap() - Method in class org.sfj.PegLegParser.Values
 

T

testExec(PegLegParser.Exec) - Method in class org.sfj.PegLegParser
Execs a blob of code, stops parsing if returns false.
testNotOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule: "TestNot".
testOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG Rule, "Test" returns true if sequence of rules matches, but does not consume input.
timesOf(int, int, Object...) - Method in class org.sfj.PegLegParser
Rule with matches only if matches set of rules between min and max times.
timesOf(int, Object...) - Method in class org.sfj.PegLegParser
Rule with matches only if matches set of rules exactly many times.
toString() - Method in class org.sfj.ChiseledMap
 
toString() - Method in class org.sfj.JSONOne.JNull
 
toString() - Method in class org.sfj.LittleCASPaxos.Acceptance
 
toString() - Method in class org.sfj.LittleCASPaxos.Ballot
 
toString() - Method in class org.sfj.LittleCASPaxos.KV
 
toString() - Method in class org.sfj.LittleCASPaxos.Prepare
 
toString() - Method in class org.sfj.LittleCASPaxos.RoundResult
 
toString() - Method in class org.sfj.LittleCASPaxos.RoundStepResult
 
toString() - Method in class org.sfj.PegLegParser.RuleReturn
 
toString() - Method in class org.sfj.PegLegParser.Values
 
toString() - Method in class org.sfj.PojoClientServer.SingleConnection
 
toString() - Method in class org.sfj.ProxyMe.Invocation
 
toString() - Method in class org.sfj.ProxyMe.InvocationReturn
 
toString() - Method in class org.sfj.ReplacementDiskSort.Element
 
toString() - Method in class org.sfj.ReplacementDiskSort.PassInfo
 

U

unescapeString(CharSequence) - Static method in class org.sfj.JSONOne
 
using(CharSequence) - Method in class org.sfj.PegLegParser
Reset parser for given input.

V

valueOf(String) - Static method in enum org.sfj.ChiseledMap.OpenOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.JSONOne.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.LittleCASPaxos.PaxosResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sfj.ChiseledMap.OpenOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.JSONOne.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.LittleCASPaxos.PaxosResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.sfj.PegLegParser
Value stack.
Values() - Constructor for class org.sfj.PegLegParser.Values
 

W

workDirectory - Variable in class org.sfj.ReplacementDiskSort
 
ws(CharSequence) - Method in class org.sfj.PegLegParser
Generates a rule for the char sequence, allowing any amount of preceding/following whitespace.
ws(char) - Method in class org.sfj.PegLegParser
Generates a rule for the char, allowing any amount of preceding/following whitespace.
ws() - Method in class org.sfj.PegLegParser
Whitespace rule.

Z

zeroPlusOf(Object...) - Method in class org.sfj.PegLegParser
Core PEG rule "ZeroOrMore", matches the given set of rules, greedily, zero or more times.
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2020. All rights reserved.