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(DrawDot.Attribute) - Method in class org.sfj.DrawDot.BaseAttributable
 
add(DrawDot.Child) - Method in class org.sfj.DrawDot.Graph
 
add(DrawDot.Connection) - Method in class org.sfj.DrawDot.Graph
 
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
 
attributes - Variable in class org.sfj.DrawDot.BaseAttributable
 

B

Ballot(int, int, int) - Constructor for class org.sfj.LittleCASPaxos.Ballot
 
BaseAttributable() - Constructor for class org.sfj.DrawDot.BaseAttributable
 
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
clustered(boolean) - Method in class org.sfj.DrawDot.Graph
 
colorName() - Method in interface org.sfj.DrawDot.Color
 
colorName() - Method in enum org.sfj.DrawDot.ColorsSVG
 
colorName() - Method in enum org.sfj.DrawDot.ColorsX11
 
commentFooter(String...) - Method in class org.sfj.DrawDot.Graph
 
commentHeader(String...) - Method in class org.sfj.DrawDot.Graph
 
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
 
Connection(DrawDot.Node, DrawDot.Node) - Constructor for class org.sfj.DrawDot.Connection
 
Connection(DrawDot.Node, String, DrawDot.Node, String) - Constructor for class org.sfj.DrawDot.Connection
 
connectionType(DrawDot.ConnectionType) - Method in class org.sfj.DrawDot.Connection
 
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.
DEFAULT_OPERATION - Static variable in class org.sfj.StringsCompare
Default operation is to remove trailing whitespace before compare.
dictionaryOf(String...) - Method in class org.sfj.PegLegParser
Dictionary lookup, optimized.
DIGEST_MASK - Static variable in class org.sfj.ChiseledMap
 
directed(boolean) - Method in class org.sfj.DrawDot.Graph
 
DrawDot - Class in org.sfj
Utility class for drawing dotty/graphviz graphs.
DrawDot(String) - Constructor for class org.sfj.DrawDot
 
DrawDot.Arrow - Class in org.sfj
 
DrawDot.Arrows - Enum in org.sfj
 
DrawDot.BaseAttributable<E> - Class in org.sfj
 
DrawDot.Child - Interface in org.sfj
 
DrawDot.Color - Interface in org.sfj
 
DrawDot.ColorsSVG - Enum in org.sfj
 
DrawDot.ColorsX11 - Enum in org.sfj
 
DrawDot.Connection - Class in org.sfj
 
DrawDot.ConnectionType - Enum in org.sfj
 
DrawDot.EdgeStyle - Enum in org.sfj
 
DrawDot.Graph - Class in org.sfj
 
DrawDot.Node - Class in org.sfj
 
DrawDot.NodeStyle - Enum in org.sfj
 
DrawDot.RankDir - Enum in org.sfj
 
DrawDot.Shape - Class in org.sfj
 
DrawDot.Shapes - Enum in org.sfj
 
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...
dup() - Method in class org.sfj.PegLegParser.SourcePosition
 

E

Element(Object) - Constructor for class org.sfj.ReplacementDiskSort.Element
 
emit(List<String>) - Method in class org.sfj.DrawDot.BaseAttributable
 
emit(DrawDot, PrintWriter, String) - Method in interface org.sfj.DrawDot.Child
 
emit(DrawDot.Graph, PrintWriter, String) - Method in class org.sfj.DrawDot.Connection
 
emit(Writer) - Method in class org.sfj.DrawDot
 
emit(PrintWriter) - Method in class org.sfj.DrawDot
 
emit(DrawDot, PrintWriter, String) - Method in class org.sfj.DrawDot.Graph
 
emit(DrawDot, PrintWriter, String) - Method in class org.sfj.DrawDot.Node
 
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.DrawDot.Arrow
 
equals(Object) - Method in class org.sfj.DrawDot.BaseAttributable
 
equals(Object) - Method in class org.sfj.DrawDot.Connection
 
equals(Object) - Method in class org.sfj.DrawDot.Graph
 
equals(Object) - Method in class org.sfj.DrawDot.Node
 
equals(Object) - Method in class org.sfj.LittleCASPaxos.Ballot
 
error(String) - Method in class org.sfj.PegLegParser
 
escapeForDotHTML(String) - Static method in class org.sfj.DrawDot
 
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.
exec() - Method in interface org.sfj.PegLegParser.Exec
 

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.
footer() - Method in class org.sfj.DrawDot.Graph
 

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.
get() - Method in class org.sfj.PegLegParser.Ref
 
getArgs() - Method in class org.sfj.ProxyMe.Invocation
 
getArray(String, JSONOne.JArray) - Method in class org.sfj.JSONOne.JMap
 
getAttributes() - Method in class org.sfj.DrawDot.BaseAttributable
 
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
 
getChildren() - Method in class org.sfj.DrawDot.Graph
 
getCommentsAfter() - Method in class org.sfj.DrawDot.Connection
 
getCommentsAfter() - Method in class org.sfj.DrawDot.Graph
 
getCommentsAfter() - Method in class org.sfj.DrawDot.Node
 
getCommentsBefore() - Method in class org.sfj.DrawDot.Connection
 
getCommentsBefore() - Method in class org.sfj.DrawDot.Graph
 
getCommentsBefore() - Method in class org.sfj.DrawDot.Node
 
getConnections() - Method in class org.sfj.DrawDot.Graph
 
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.
getFrom() - Method in class org.sfj.DrawDot.Connection
 
getFromPort() - Method in class org.sfj.DrawDot.Connection
 
getHead() - Method in class org.sfj.DrawDot.Connection
 
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
 
getTail() - Method in class org.sfj.DrawDot.Connection
 
getThrowable() - Method in class org.sfj.ProxyMe.InvocationReturn
 
getTimeoutPool() - Method in class org.sfj.ProxyMe.Client
 
getTo() - Method in class org.sfj.DrawDot.Connection
 
getToPort() - Method in class org.sfj.DrawDot.Connection
 
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
 
Graph(String) - Constructor for class org.sfj.DrawDot.Graph
 

H

hashCode() - Method in class org.sfj.DrawDot.Arrow
 
hashCode() - Method in class org.sfj.DrawDot.BaseAttributable
 
hashCode() - Method in class org.sfj.DrawDot.Connection
 
hashCode() - Method in class org.sfj.DrawDot.Graph
 
hashCode() - Method in class org.sfj.DrawDot.Node
 
hashCode() - Method in class org.sfj.LittleCASPaxos.Ballot
 
HDR - Static variable in class org.sfj.ChiseledMap
 
head(DrawDot.Arrow) - Method in class org.sfj.DrawDot.Connection
 
header() - Method in class org.sfj.DrawDot.Graph
 

I

id() - Method in interface org.sfj.DrawDot.Child
 
id() - Method in class org.sfj.DrawDot.Graph
 
id() - Method in class org.sfj.DrawDot.Node
 
IDENT - Static variable in class org.sfj.StringsCompare
Ident transform, use when you want no mapping done on strings.
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
 
json() - Method in class org.sfj.exemplars.JsonPegParser
 
jsonArray() - Method in class org.sfj.exemplars.JsonPegParser
 
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
JsonPegParser - Class in org.sfj.exemplars
JSON parser, leaves a single object on top of the stack, using the JSONOne package.
JsonPegParser() - Constructor for class org.sfj.exemplars.JsonPegParser
 
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.
LOWER_CASE - Static variable in class org.sfj.StringsCompare
Mapping transform to lowercase a string, allowing for case insensitive compares.

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
 
Node(String) - Constructor for class org.sfj.DrawDot.Node
 
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
 
org.sfj.exemplars - package org.sfj.exemplars
 

P

ParentRule(PegLegParser.PegLegRule<V>) - Constructor for class org.sfj.PegLegParser.ParentRule
 
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.Exec - Interface in org.sfj
An execution, which return true to continue parsing, false to stop.
PegLegParser.ParentRule - Class in org.sfj
 
PegLegParser.PegLegRule<V> - Interface in org.sfj
A Rule.
PegLegParser.Ref<V> - Class in org.sfj
Random holder class for intra rule parser data manipulation.
PegLegParser.RuleReturn<V> - Class in org.sfj
Rule return.
PegLegParser.SourceFrame - Class in org.sfj
 
PegLegParser.SourcePosition - Class in org.sfj
 
PegLegParser.TerminalRule<V> - Interface in org.sfj
Terminal rule, with optional ignoring of case.
PegLegParser.Values<V> - Class in org.sfj
Stack of values.
penWidth(int) - Method in class org.sfj.DrawDot.Connection
 
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

rankdir(DrawDot.RankDir) - Method in class org.sfj.DrawDot.Graph
 
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.
Ref(V) - Constructor for class org.sfj.PegLegParser.Ref
 
Ref(Supplier<V>) - Constructor for class org.sfj.PegLegParser.Ref
 
refs(PegLegParser.Ref<?>...) - Method in class org.sfj.PegLegParser.ParentRule
 
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.
root() - Method in class org.sfj.DrawDot
 
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
 
rule() - Method in class org.sfj.PegLegParser.ParentRule
 
rule() - Method in interface org.sfj.PegLegParser.PegLegRule
 
rule(boolean) - Method in interface org.sfj.PegLegParser.TerminalRule
 
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
 
set(V) - Method in class org.sfj.PegLegParser.Ref
 
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
 
Shape() - Constructor for class org.sfj.DrawDot.Shape
 
Shape(DrawDot.Shapes) - Constructor for class org.sfj.DrawDot.Shape
 
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
 
SKIP_BLANK - Static variable in class org.sfj.StringsCompare
Predicate to skip whitespace only lines.
SKIP_EMPTY - Static variable in class org.sfj.StringsCompare
Predicate to skip empty lines.
SKIP_NONE - Static variable in class org.sfj.StringsCompare
Predicate to skip no lines.
snapshot(File) - Method in class org.sfj.ChiseledMap
Copy only live entries to another file.
source(Reader) - Static method in class org.sfj.StringsCompare
Source for a reader.
source(String) - Static method in class org.sfj.StringsCompare
Source from a string.
source(InputStream) - Static method in class org.sfj.StringsCompare
Source from an input stream, using UTF-8 encoding.
source(InputStream, Charset) - Static method in class org.sfj.StringsCompare
Source from an input stream using a specific char set.
source(Class<?>, String) - Static method in class org.sfj.StringsCompare
Source from a resource stream, UTF-8 charset.
source(Class<?>, String, Charset) - Static method in class org.sfj.StringsCompare
Source from a resource stream, specified charset
source(String[]) - Static method in class org.sfj.StringsCompare
Source from an array of strings.
source(String[], int, int) - Static method in class org.sfj.StringsCompare
Source from an array of strings.
source(Iterator<String>) - Static method in class org.sfj.StringsCompare
Source from an arbitrary iterator.
source(Iterable<String>) - Static method in class org.sfj.StringsCompare
Source from an iterable.
source(File) - Static method in class org.sfj.StringsCompare
Source from a file using UTF8 charset encoding.
source(File, Charset) - Static method in class org.sfj.StringsCompare
Source from a file using specified encoding.
SourceFrame(String, PegLegParser.SourcePosition) - Constructor for class org.sfj.PegLegParser.SourceFrame
 
SourcePosition() - Constructor for class org.sfj.PegLegParser.SourcePosition
 
SourcePosition(int, int, int) - Constructor for class org.sfj.PegLegParser.SourcePosition
 
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)
StringsCompare - Class in org.sfj
Compare two string sequences (files, resource streams, anything that can be expressed as sequence of lines).
stringsCompare(StringsCompare.LineSource, StringsCompare.LineSource) - Static method in class org.sfj.StringsCompare
Compare two LineSource objects using the default operation.
stringsCompare(StringsCompare.LineSource, StringsCompare.LineSource, Predicate<String>) - Static method in class org.sfj.StringsCompare
Compare with a specified skipping predicate and the default mapping.
stringsCompare(StringsCompare.LineSource, StringsCompare.LineSource, Function<String, String>) - Static method in class org.sfj.StringsCompare
Compare with no skipping filter but the specified mapper.
stringsCompare(StringsCompare.LineSource, StringsCompare.LineSource, Predicate<String>, Function<String, String>) - Static method in class org.sfj.StringsCompare
Compare two LineSource objects using a specified operation.
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

tail(DrawDot.Arrow) - Method in class org.sfj.DrawDot.Connection
 
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.DrawDot.BaseAttributable
 
toString() - Method in class org.sfj.DrawDot.Connection
 
toString() - Method in class org.sfj.DrawDot.Graph
 
toString() - Method in class org.sfj.DrawDot.Node
 
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.Ref
 
toString() - Method in class org.sfj.PegLegParser.RuleReturn
 
toString() - Method in class org.sfj.PegLegParser.SourcePosition
 
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
 
TRIM_LEADING_AND_TRAILING_WHITESPACE - Static variable in class org.sfj.StringsCompare
Mapping transform to trim leading and trailing whitespace.
TRIM_LEADING_WHITESPACE - Static variable in class org.sfj.StringsCompare
Mapping transform to remove leading whitespace.
TRIM_TRAILING_WHITESPACE - Static variable in class org.sfj.StringsCompare
Mapping transform to remove trailing whitespace.

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.DrawDot.Arrows
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.ColorsSVG
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.ColorsX11
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.ConnectionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.EdgeStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.NodeStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.RankDir
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sfj.DrawDot.Shapes
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.DrawDot.Arrows
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.ColorsSVG
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.ColorsX11
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.ConnectionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.EdgeStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.NodeStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.RankDir
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sfj.DrawDot.Shapes
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.