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

A

addEdge(T, T, U) - Method in interface org.savantbuild.util.Graph
Adds an edge between the node whose value is the origin value given and the node whose value is the destination value given.
addEdge(T, T, U) - Method in class org.savantbuild.util.HashGraph
 
addNode(T) - Method in class org.savantbuild.util.HashGraph
 
Ansi256Colors - Class in org.savantbuild.output
Escape sequences for ANSI 256 colors.
Ansi256Colors() - Constructor for class org.savantbuild.output.Ansi256Colors
 

B

BaseEdge(T, T, U) - Constructor for class org.savantbuild.util.Graph.Edge.BaseEdge
 
BasePath(List<T>) - Constructor for class org.savantbuild.util.Graph.BasePath
 
build(String...) - Static method in class org.savantbuild.net.NetTools
Builds a URI from the given parts.
bytes - Variable in class org.savantbuild.security.MD5
 

C

Classpath - Class in org.savantbuild.lang
Models a Classpath.
Classpath(String...) - Constructor for class org.savantbuild.lang.Classpath
Constructs a Classpath with the given initial parts.
clear(PrintStream) - Static method in class org.savantbuild.output.Ansi256Colors
 
clear(StringBuilder) - Static method in class org.savantbuild.output.Ansi256Colors
 
clearEdges(HashGraph.HashNode<T, U>) - Method in class org.savantbuild.util.HashGraph
 
consume(T, T, U, int, boolean) - Method in interface org.savantbuild.util.Graph.GraphConsumer
Called by the graph during traversal to handle each node in the graph.
contains(T) - Method in interface org.savantbuild.util.Graph
Determines if the Graph contains the given value or not.
contains(T) - Method in class org.savantbuild.util.HashGraph
 
CyclicException - Exception in org.savantbuild.util
This class is thrown from a Graph that contains circular references that cannot be dealt with.
CyclicException(String) - Constructor for exception org.savantbuild.util.CyclicException
 

D

debug(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs a debug message along with the given values.
debug(Throwable) - Method in interface org.savantbuild.output.Output
Outputs a debug message with the stack trace for the given Throwable.
debug(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
debug(Throwable) - Method in class org.savantbuild.output.SystemOutOutput
 
debugln(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs a debug message along with the given values.
debugln(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
destination - Variable in class org.savantbuild.util.Graph.Edge.BaseEdge
 
destination - Variable in class org.savantbuild.util.HashGraph.HashEdge
 
disableDebug() - Method in interface org.savantbuild.output.Output
Disables debug messages.
disableDebug() - Method in class org.savantbuild.output.SystemOutOutput
 
done() - Method in class org.savantbuild.util.MapBuilder
 
downloadToPath(URI, String, String, MD5) - Static method in class org.savantbuild.net.NetTools
Downloads the resource given.

E

enableDebug() - Method in interface org.savantbuild.output.Output
Enables debug messages.
enableDebug() - Method in class org.savantbuild.output.SystemOutOutput
 
equals(Object) - Method in class org.savantbuild.security.MD5
 
equals(Object) - Method in class org.savantbuild.util.Graph.BasePath
 
equals(Object) - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
 
equals(Object) - Method in class org.savantbuild.util.HashGraph
 
equals(Object) - Method in class org.savantbuild.util.HashGraph.HashEdge
 
equals(Object) - Method in class org.savantbuild.util.HashGraph.HashNode
 
ERROR - Static variable in class org.savantbuild.output.Ansi256Colors
 
error(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs an error message along with the given values.
error(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
errorln(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs an error message along with the given values.
errorln(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
ESCAPE - Static variable in class org.savantbuild.output.Ansi256Colors
 
exec(String...) - Static method in class org.savantbuild.lang.RuntimeTools
 
exitCode - Variable in class org.savantbuild.lang.RuntimeTools.ProcessResult
 

F

fileName - Variable in class org.savantbuild.security.MD5
 
filter(Graph.Edge<T, U>, Graph.Edge<T, U>) - Method in interface org.savantbuild.util.Graph.EdgeFilter
Tests the edge.
filter(Graph.Edge<T, U>, Graph.Edge<T, U>) - Method in class org.savantbuild.util.Graph.EdgeFilter.IdentityEdgeFilter
 
find(T, Predicate<T>) - Method in interface org.savantbuild.util.Graph
Finds the first node in the graph that satisfies the predicate using a depth first traversal of the graph.
find(T, Predicate<T>) - Method in class org.savantbuild.util.HashGraph
Finds the first node in the graph that satisfies the predicate using a depth first traversal of the graph.
find(HashGraph.HashNode<T, U>, Set<T>, Predicate<T>) - Method in class org.savantbuild.util.HashGraph
 
forBytes(byte[], String) - Static method in class org.savantbuild.security.MD5
Calculates the MD5 for the given bytes.
forPath(Path) - Static method in class org.savantbuild.security.MD5
Calculates the MD5 sum for the given Path.
fromHex(String) - Static method in class org.savantbuild.lang.StringTools
Converts the contents of the given String from hexadecimal to an array of bytes.

G

get() - Method in class org.savantbuild.util.Graph.BasePath
get() - Method in interface org.savantbuild.util.Graph.Path
 
getDestination() - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
getDestination() - Method in interface org.savantbuild.util.Graph.Edge
 
getInboundEdges(T) - Method in interface org.savantbuild.util.Graph
Returns a list of all the inbound edges for the node whose value is given.
getInboundEdges(T) - Method in class org.savantbuild.util.HashGraph
 
getNode(T) - Method in class org.savantbuild.util.HashGraph
 
getOrigin() - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
getOrigin() - Method in interface org.savantbuild.util.Graph.Edge
 
getOutboundEdges(T) - Method in interface org.savantbuild.util.Graph
Returns a list of all the outbound edges for the node whose value is given.
getOutboundEdges(T) - Method in class org.savantbuild.util.HashGraph
 
getPaths(T, T) - Method in interface org.savantbuild.util.Graph
Determines the path from the given origin value to given destination value.
getPaths(T, T) - Method in class org.savantbuild.util.HashGraph
 
getValue() - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
getValue() - Method in interface org.savantbuild.util.Graph.Edge
 
Graph<T,U> - Interface in org.savantbuild.util
This interface defines the generic graph data structure.
Graph.BasePath<T> - Class in org.savantbuild.util
A simple implementation for the Path interface.
Graph.Edge<T,U> - Interface in org.savantbuild.util
Interface for edges in the graph.
Graph.Edge.BaseEdge<T,U> - Class in org.savantbuild.util
Basic implementation of the Edge interface.
Graph.EdgeFilter<T,U> - Interface in org.savantbuild.util
Edge filter that determines if an edge should be included in a traversal.
Graph.EdgeFilter.IdentityEdgeFilter<T,U> - Class in org.savantbuild.util
An edge filter that always returns true.
Graph.GraphConsumer<T,U> - Interface in org.savantbuild.util
Consumer interface for graph traversal.
Graph.GraphVisitor<T,U> - Interface in org.savantbuild.util
Visitor interface for graph traversal.
Graph.Path<T> - Interface in org.savantbuild.util
Defines a path between two nodes in the graph.

H

hashCode() - Method in class org.savantbuild.security.MD5
 
hashCode() - Method in class org.savantbuild.util.Graph.BasePath
 
hashCode() - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
 
hashCode() - Method in class org.savantbuild.util.HashGraph
 
hashCode() - Method in class org.savantbuild.util.HashGraph.HashEdge
 
hashCode() - Method in class org.savantbuild.util.HashGraph.HashNode
 
HashEdge(HashGraph.HashNode<T, U>, HashGraph.HashNode<T, U>, U) - Constructor for class org.savantbuild.util.HashGraph.HashEdge
 
HashGraph<T,U> - Class in org.savantbuild.util
This class is used to construct and manage graph structures.
HashGraph() - Constructor for class org.savantbuild.util.HashGraph
 
HashGraph.HashEdge<T,U> - Class in org.savantbuild.util
This class is the edge between nodes in the graph.
HashGraph.HashNode<T,U> - Class in org.savantbuild.util
This class is a single node in the HashGraph.
HashNode(T) - Constructor for class org.savantbuild.util.HashGraph.HashNode
 

I

IdentityEdgeFilter() - Constructor for class org.savantbuild.util.Graph.EdgeFilter.IdentityEdgeFilter
 
inbound - Variable in class org.savantbuild.util.HashGraph.HashNode
 
info(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs an info message along with the given values.
info(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
infoln(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs an info message along with the given values.
infoln(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 

L

load(Path) - Static method in class org.savantbuild.security.MD5
Loads the MD5 file at the given Path.

M

map - Variable in class org.savantbuild.util.MapBuilder
 
MapBuilder<T,U> - Class in org.savantbuild.util
Builds Maps.
MapBuilder() - Constructor for class org.savantbuild.util.MapBuilder
 
MD5 - Class in org.savantbuild.security
This class is a simple holder for a MD5 checksum.
MD5(String, byte[], String) - Constructor for class org.savantbuild.security.MD5
 
MD5Exception - Exception in org.savantbuild.security
This is a runtime exception that can be thrown for MD5 failures.
MD5Exception(String) - Constructor for exception org.savantbuild.security.MD5Exception
 
MD5Tools - Class in org.savantbuild.security
This class provides some common IO tools.
MD5Tools() - Constructor for class org.savantbuild.security.MD5Tools
 

N

NetTools - Class in org.savantbuild.net
This class provides toolkit methods for helping work with URLs and URIs and other network classes.
NetTools() - Constructor for class org.savantbuild.net.NetTools
 

O

org.savantbuild.lang - package org.savantbuild.lang
 
org.savantbuild.net - package org.savantbuild.net
 
org.savantbuild.output - package org.savantbuild.output
 
org.savantbuild.security - package org.savantbuild.security
 
org.savantbuild.util - package org.savantbuild.util
 
origin - Variable in class org.savantbuild.util.Graph.Edge.BaseEdge
 
origin - Variable in class org.savantbuild.util.HashGraph.HashEdge
 
outbound - Variable in class org.savantbuild.util.HashGraph.HashNode
 
output - Variable in class org.savantbuild.lang.RuntimeTools.ProcessResult
 
Output - Interface in org.savantbuild.output
Basic Savant output system.

P

path(String) - Method in class org.savantbuild.lang.Classpath
Adds the given path to the Classpath.
path(Path) - Method in class org.savantbuild.lang.Classpath
Adds the given path to the Classpath.
path(File) - Method in class org.savantbuild.lang.Classpath
Adds the given path to the Classpath.
paths - Variable in class org.savantbuild.lang.Classpath
 
paths(Path...) - Method in class org.savantbuild.lang.Classpath
Adds all the given paths to the Classpath.
ProcessResult(int, String) - Constructor for class org.savantbuild.lang.RuntimeTools.ProcessResult
 
prune(T...) - Method in interface org.savantbuild.util.Graph
Removes all empty nodes from the graph except the given list of nodes.
prune(T...) - Method in class org.savantbuild.util.HashGraph
 
put(T, U) - Method in class org.savantbuild.util.MapBuilder
 

R

removeEdge(T, T, U) - Method in interface org.savantbuild.util.Graph
Removes the edge between the two nodes from the graph.
removeEdge(HashGraph.HashEdge<T, U>) - Method in class org.savantbuild.util.HashGraph.HashNode
 
removeEdge(T, T, U) - Method in class org.savantbuild.util.HashGraph
 
removeNode(T) - Method in interface org.savantbuild.util.Graph
Removes the given value (node) from the graph and ensures that nothing is orphaned by the removal.
removeNode(T) - Method in class org.savantbuild.util.HashGraph
 
RuntimeTools - Class in org.savantbuild.lang
A collection of runtime tools.
RuntimeTools() - Constructor for class org.savantbuild.lang.RuntimeTools
 
RuntimeTools.ProcessResult - Class in org.savantbuild.lang
The result from a process, including the exit code and output.

S

setColor(PrintStream, short) - Static method in class org.savantbuild.output.Ansi256Colors
 
setColor(StringBuilder, short) - Static method in class org.savantbuild.output.Ansi256Colors
 
simpleMap(T, U) - Static method in class org.savantbuild.util.MapBuilder
 
size() - Method in interface org.savantbuild.util.Graph
 
size() - Method in class org.savantbuild.util.HashGraph
 
StringTools - Class in org.savantbuild.lang
This is a toolkit with String helper methods.
StringTools() - Constructor for class org.savantbuild.lang.StringTools
 
sum - Variable in class org.savantbuild.security.MD5
 
SystemOutOutput - Class in org.savantbuild.output
Basic Savant output system.
SystemOutOutput(boolean) - Constructor for class org.savantbuild.output.SystemOutOutput
 

T

toEdge() - Method in class org.savantbuild.util.HashGraph.HashEdge
 
toHex(byte...) - Static method in class org.savantbuild.lang.StringTools
Converts the contents of the given byte array from hexadecimal to a hex String.
toString() - Method in class org.savantbuild.lang.Classpath
Converts this Classpath to a String by joining the paths using the File.separator.
toString(String) - Method in class org.savantbuild.lang.Classpath
Converts this Classpath to a String by joining the paths using the File.separator and adding the prefix to the start.
toString() - Method in class org.savantbuild.util.Graph.Edge.BaseEdge
 
toString() - Method in class org.savantbuild.util.HashGraph.HashNode
 
toURLClassLoader() - Method in class org.savantbuild.lang.Classpath
 
traverse(T, boolean, Graph.EdgeFilter<T, U>, Graph.GraphConsumer<T, U>) - Method in interface org.savantbuild.util.Graph
Traverses the graph in a depth-first manner starting at the node whose value is given.
traverse(T, boolean, Graph.EdgeFilter<T, U>, Graph.GraphConsumer<T, U>) - Method in class org.savantbuild.util.HashGraph
Performs a depth first traversal of the graph.
traverse(HashGraph.HashNode<T, U>, HashGraph.HashEdge<T, U>, boolean, Set<T>, Set<T>, Graph.EdgeFilter<T, U>, Graph.GraphConsumer<T, U>, int) - Method in class org.savantbuild.util.HashGraph
 
traverseUp(T, Graph.GraphVisitor<T, U>) - Method in interface org.savantbuild.util.Graph
Traverses the graph in a depth-first manner ending at the node whose value is given.
traverseUp(T, Graph.GraphVisitor<T, U>) - Method in class org.savantbuild.util.HashGraph
Performs a depth first traversal of the graph.
traverseUp(HashGraph.HashNode<T, U>, Set<T>, Graph.GraphVisitor<T, U>, int) - Method in class org.savantbuild.util.HashGraph
 

V

value - Variable in class org.savantbuild.util.Graph.Edge.BaseEdge
 
value - Variable in class org.savantbuild.util.HashGraph.HashEdge
 
value - Variable in class org.savantbuild.util.HashGraph.HashNode
 
values() - Method in interface org.savantbuild.util.Graph
Returns a Set that contains all of the unique values contained in the graph.
values() - Method in class org.savantbuild.util.HashGraph
Returns a Set that contains all of the unique artifacts contained in the graph.
visit(T, T, U, int) - Method in interface org.savantbuild.util.Graph.GraphVisitor
Called by the graph during traversal to handle each node in the graph.

W

WARNING - Static variable in class org.savantbuild.output.Ansi256Colors
 
warning(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs a warning message along with the given values.
warning(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
warningln(String, Object...) - Method in interface org.savantbuild.output.Output
Outputs a warning message along with the given values.
warningln(String, Object...) - Method in class org.savantbuild.output.SystemOutOutput
 
write(InputStream, OutputStream, MD5) - Static method in class org.savantbuild.security.MD5Tools
Reads from the given input stream and writes the contents out to the given OutputStream.
writeMD5(MD5, Path) - Static method in class org.savantbuild.security.MD5
Writes the MD5 information out to the given Path file.
A B C D E F G H I L M N O P R S T V W 
Skip navigation links