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

A

AbstractMap2<X,Y,V> - Class in com.myjavatools.lib.foundation
AbstractMap2 is a partial implementation of two-parameter map.
AbstractMap2() - Constructor for class com.myjavatools.lib.foundation.AbstractMap2
Default constructor
AbstractMap2.Entry<X,Y,V> - Class in com.myjavatools.lib.foundation
An entry of a two-parameter map.
AbstractMap2.Entry(X, Y, V) - Constructor for class com.myjavatools.lib.foundation.AbstractMap2.Entry
Constructor
accept(T) - Method in class com.myjavatools.lib.foundation.Filter
checks whether an object is accepted by the filter
addAll(Collection<T>, Iterable<T>) - Static method in class com.myjavatools.lib.foundation.Objects
Adds all elements of iterable to a collection.
adjustSizeByMooreLaw(int, int) - Static method in class com.myjavatools.lib.Files
Adjusts buffer size according to Moore's law
AllTests - Class in com.myjavatools.lib
 
AllTests(String) - Constructor for class com.myjavatools.lib.AllTests
 
AllTests - Class in com.myjavatools.lib.foundation
Title: My Java Tools Library
AllTests(String) - Constructor for class com.myjavatools.lib.foundation.AllTests
 
and(Filter<T>...) - Static method in class com.myjavatools.lib.foundation.Filter
Creates conjunction of filters.
and(Logical.LogicalConstant, Logical.LogicalConstant) - Static method in class com.myjavatools.lib.human.Logical
Conjunction of two logical values
and(Predicate<T>, Predicate<T>) - Static method in class com.myjavatools.lib.human.Logical
Conjunction of two predicates
appendBytesToFile(char[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to the end of a file
appendBytesToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to a file
appendToFile(CharSequence, String) - Static method in class com.myjavatools.lib.Files
Appends a char sequence to the end of a file
appendToFile(char[], String) - Static method in class com.myjavatools.lib.Files
Appends chars to the end of a file
appendToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to the end of a file
apply(T) - Method in class com.myjavatools.lib.foundation.Filter
Filter.apply() is the same as accept();
apply(X) - Method in class com.myjavatools.lib.foundation.Function
the only method you should implement
apply(List<? extends X>) - Method in class com.myjavatools.lib.foundation.Function
applies Function to a List
apply(Iterator<? extends X>) - Method in class com.myjavatools.lib.foundation.Function
applies Function to an Iterator
apply(Iterable<? extends X>) - Method in class com.myjavatools.lib.foundation.Function
applies Function to an Iterable
apply(X, Y) - Method in class com.myjavatools.lib.foundation.Function2
the only method you should implement
arrayToMap(Object[]) - Static method in class com.myjavatools.lib.foundation.Maps
makes a Map from an array key-value pairs
asProperties(String[]) - Static method in class com.myjavatools.lib.Strings
Create Properties from an array of key-value pairs
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestBytes
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestBytes
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestBytes
 
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestStrings
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestStrings
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestStrings
 
assertEquals(String, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.myjavatools.lib.TestStrings
 

B

bark(String) - Static method in class com.myjavatools.lib.Tools
Displays an error message
Bytes - Class in com.myjavatools.lib
 
Bytes() - Constructor for class com.myjavatools.lib.Bytes
 
bytes(InputStream) - Static method in class com.myjavatools.lib.Files
returns an Iterable<Byte> enclosure that scans over the bytes returned by InputStream
bytes(File) - Static method in class com.myjavatools.lib.Files
returns an Iterable<Byte> that scans over the bytes in a File

C

cat(Iterable<? extends Iterator<? extends T>>) - Static method in class com.myjavatools.lib.foundation.Iterators
Creates an Iterator view of an Iterable consisting of Iterators
cat(Iterator<? extends T>...) - Static method in class com.myjavatools.lib.foundation.Iterators
Creates an Iterator view of a sequence of Iterators
cat(Iterable<? extends T>...) - Static method in class com.myjavatools.lib.foundation.Iterators
Concatenates vararg Iterables into one List
cat(Collection<? extends T>...) - Static method in class com.myjavatools.lib.foundation.Iterators
Concatenates vararg Collections into one Collection
cat(Collection<Collection<? extends T>>) - Static method in class com.myjavatools.lib.foundation.Iterators
Concatenates a collection of collections into one Collection
chars(Reader) - Static method in class com.myjavatools.lib.Files
returns an Iterable<Character> enclosure that scans over the characters returned by Reader
chars(File) - Static method in class com.myjavatools.lib.Files
returns an Iterable<Character> that scans over the characters in a File
chars(CharSequence) - Static method in class com.myjavatools.lib.foundation.Iterators
Deprecated. This iterable has been moved to Strings
chars(CharSequence) - Static method in class com.myjavatools.lib.Strings
returns an iterable good for using in a foreach loop
clear() - Method in interface com.myjavatools.lib.Files.BufferingFilter
clears the filter buffer
clear() - Method in class com.myjavatools.lib.foundation.AbstractMap2
Removes all mappings from this map.
clear() - Method in interface com.myjavatools.lib.foundation.Map2
Removes all mappings from this map.
close(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
Writes the tail to formatted output and closes it
close() - Method in class com.myjavatools.lib.FormattedWriter
Writes the tail to formatted output and closes it
com.myjavatools.lib - package com.myjavatools.lib
 
com.myjavatools.lib.foundation - package com.myjavatools.lib.foundation
 
com.myjavatools.lib.human - package com.myjavatools.lib.human
 
commandLineArg(String) - Static method in class com.myjavatools.lib.Tools
Wraps command line argument into quotes if it contains spaces
compare(File, File) - Static method in class com.myjavatools.lib.Files
Compare two files
compose(Function<W, ? extends X>) - Method in class com.myjavatools.lib.foundation.Function
Returns a composition f.g : W->Y of two functions, g:W->X and f(which is this Function): X->Y.
compose(Function<X, ? extends Y>, Function<? super Y, ? extends Z>) - Static method in class com.myjavatools.lib.foundation.Function
Returns a compostion f.g : X->Z of two functions, f: X->Y and g: Y->Z.
compose(Function2<X, Y, ? extends Z>, Function<? super Z, ? extends T>) - Static method in class com.myjavatools.lib.foundation.Function2
Returns a compostion f.g : XxY->T of a two-parameter function, f: XxY->Z and g: Z->T.
compose(Function<A, ? extends X>, Function<B, ? extends Y>, Function2<? super X, ? super Y, ? extends Z>) - Static method in class com.myjavatools.lib.foundation.Function2
Returns a compostion (f,g).h : AxB->Z of a two-parameter function, h: XxY->Z and two single-parameter functions, f:A->Z and g:B->Y.
compose(Map<X, ? extends Y>, Map<Y, Z>) - Static method in class com.myjavatools.lib.foundation.Maps
composes two Maps (like functions, see Functions#compose)
compose(Map<X, ? extends Y>, Function<Y, Z>) - Static method in class com.myjavatools.lib.foundation.Maps
Composes a Map and a Function (see Functions#compose) by applying function to all the values in the map.
CompoundIterable<T> - Class in com.myjavatools.lib.foundation
CompoundIterable is an Iterable that is composed of several other iterable.
CompoundIterable(Iterable<? extends T>...) - Constructor for class com.myjavatools.lib.foundation.CompoundIterable
builds a CompoundIterable from a vararg list of Iterable components
CompoundIterable(Iterable<? extends Iterable<? extends T>>) - Constructor for class com.myjavatools.lib.foundation.CompoundIterable
builds a CompoundIterable from an Iterable container of Iterable components
containsKey(Object) - Method in class com.myjavatools.lib.foundation.KeyValueArrayMap
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class com.myjavatools.lib.foundation.KeyValuePairsMap
Returns true if this map contains a mapping for the specified key.
containsKeyPair(Object, Object) - Method in class com.myjavatools.lib.foundation.AbstractMap2
Returns true if this map contains a mapping for the specified key pair.
containsKeyPair(Object, Object) - Method in class com.myjavatools.lib.foundation.IndexedMap2
Returns true if this map contains a mapping for the specified key pair.
containsKeyPair(Object, Object) - Method in interface com.myjavatools.lib.foundation.Map2
Returns true if this map contains a mapping for the specified key pair.
containsValue(Object) - Method in class com.myjavatools.lib.foundation.AbstractMap2
copy(String, String, String) - Static method in class com.myjavatools.lib.Files
copies a file or a directory from one directory to another
copy(File, File, String) - Static method in class com.myjavatools.lib.Files
copy copies a file or a directory from one directory to another
copy(String, String) - Static method in class com.myjavatools.lib.Files
copy copies a file or a directory to another
copy(File, File) - Static method in class com.myjavatools.lib.Files
 
countChar(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
Counts the number of occurrences of char c in CharSequence s.
countLeadingSpaces(CharSequence) - Static method in class com.myjavatools.lib.Strings
Counts leading spaces in a char sequence
countTrailingSpaces(CharSequence) - Static method in class com.myjavatools.lib.Strings
Counts trailing spaces in a char sequence
crc32(byte[]) - Static method in class com.myjavatools.lib.Bytes
Calculates crc32 on a byte array
crc32(byte[], int, int) - Static method in class com.myjavatools.lib.Bytes
Calculates crc32 on a byte array
crc32(CharSequence) - Static method in class com.myjavatools.lib.Strings
Calculates crc32 on a char sequence
curry1(X) - Method in class com.myjavatools.lib.foundation.AbstractMap2
Currying by first argument.
curry1(X) - Method in class com.myjavatools.lib.foundation.Function2
Curries the function by the first argument.
curry1(X) - Method in class com.myjavatools.lib.foundation.IndexedMap2
Currying by first argument.
curry1(X) - Method in interface com.myjavatools.lib.foundation.Map2
Currying by first argument.
curry2(Y) - Method in class com.myjavatools.lib.foundation.AbstractMap2
Currying by second argument.
curry2(Y) - Method in class com.myjavatools.lib.foundation.Function2
Curries the function by the second argument.
curry2(Y) - Method in class com.myjavatools.lib.foundation.IndexedMap2
Currying by second argument.
curry2(Y) - Method in interface com.myjavatools.lib.foundation.Map2
Currying by second argument.

D

decode(InputStream, String) - Static method in class com.myjavatools.lib.Strings
Decodes a stream using specified encoding
decode(byte[], String) - Static method in class com.myjavatools.lib.Strings
Decodes an array of bytes using specified encoding
decodeJavaString(CharSequence) - Static method in class com.myjavatools.lib.Strings
Decodes (and unescapes) a Java string.
deleteFile(String) - Static method in class com.myjavatools.lib.Files
Deletes a file or a directory (with all its contents, they say it is dangerous)
deleteFile(File) - Static method in class com.myjavatools.lib.Files
Deletes a file or a directory (with all its contents, they say it is dangerous)
DIRECTORY_FILTER - Static variable in class com.myjavatools.lib.Files
directoryFilter is a FileFilter that accepts directories only
dirname(File) - Static method in class com.myjavatools.lib.Files
Calculates directory path for a file (like in Perl)
dirname(String) - Static method in class com.myjavatools.lib.Files
Calculates directory path by file path (like in Perl)
downloadFile(URL, String) - Static method in class com.myjavatools.lib.Web
Downloads a file from a specified URL
downloadFile(String, String) - Static method in class com.myjavatools.lib.Web
Downloads a file from a specified URL

E

encode(CharSequence, String) - Static method in class com.myjavatools.lib.Strings
Encodes a char sequence using specified encoding
ensureSlot1(X) - Method in class com.myjavatools.lib.foundation.IndexedMap2
 
ensureSlot2(Y) - Method in class com.myjavatools.lib.foundation.IndexedMap2
 
entrySet() - Method in class com.myjavatools.lib.foundation.AbstractMap2
Returns a set view of the mappings contained in this map.
entrySet() - Method in class com.myjavatools.lib.foundation.IndexedHashMap2
Returns a set view of the mappings contained in this map.
entrySet() - Method in class com.myjavatools.lib.foundation.IndexedTreeMap2
Returns a set view of the mappings contained in this map.
entrySet() - Method in class com.myjavatools.lib.foundation.KeyValueArrayMap
Returns a set view of the mappings contained in this map.
entrySet() - Method in class com.myjavatools.lib.foundation.KeyValuePairsMap
Returns a set view of the mappings contained in this map.
entrySet() - Method in interface com.myjavatools.lib.foundation.Map2
Returns a set view of the mappings contained in this map.
equal(File, File) - Static method in class com.myjavatools.lib.Files
compares two files or directories, recursively
equal(Object, Object) - Static method in class com.myjavatools.lib.foundation.AbstractMap2
 
equal(Object, Object) - Static method in class com.myjavatools.lib.foundation.Objects
The method that everyone needs and nobody wants to make public.
equals(Object) - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
 
equals(Object) - Method in class com.myjavatools.lib.foundation.AbstractMap2
Compares the specified object with this map for equality.
equals(Object) - Method in class com.myjavatools.lib.foundation.Pair
equals method
ESCAPED - Static variable in class com.myjavatools.lib.Strings
Characters used in escapes "\\\"\'nrtfb"
ESCAPEE - Static variable in class com.myjavatools.lib.Strings
Characters that should be escaped in Java or C code "\\\"\'\n\r\t\f\b"
extractValue(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
Extracts value from a char sequence of format NAME="VALUE"

F

fatalError(boolean, String) - Static method in class com.myjavatools.lib.Tools
Reports a fatal error to sderr and exits, upon a condition
fatalError(String) - Static method in class com.myjavatools.lib.Tools
Reports a fatal error to sderr and exits
fatalError(Exception) - Static method in class com.myjavatools.lib.Tools
Reports a fatal exception to stderr and exits
fatalError(String, Exception) - Static method in class com.myjavatools.lib.Tools
Reports an error message and an exception to sderr and exits
fileFilter - Static variable in class com.myjavatools.lib.Files
fileFilter is a FileFilter that accepts files only
filename(String) - Static method in class com.myjavatools.lib.Files
Calculates filename by file path (like in Perl)
Files - Class in com.myjavatools.lib
Files is a utility class that contains static methods for handling files and directories
Files() - Constructor for class com.myjavatools.lib.Files
 
files(File) - Static method in class com.myjavatools.lib.Files
Returns an Iterable<File> that scans all files in the folder
Files.BufferingFilter - Interface in com.myjavatools.lib
Description: Buffering filter stores some data, and these data can be retrieved later.
Files.ByteFilter - Interface in com.myjavatools.lib
Description: The interface is used to define filters for filtering data in pipes.
fill(char, int) - Static method in class com.myjavatools.lib.Strings
Fills a string with a character
filter(byte[], int) - Method in interface com.myjavatools.lib.Files.ByteFilter
filters data coming from input
Filter<T> - Class in com.myjavatools.lib.foundation
Filter is a Function that returns Boolean values; boolean accept() is an alias for Function.apply().
Filter() - Constructor for class com.myjavatools.lib.foundation.Filter
 
filter(Iterator<T>) - Method in class com.myjavatools.lib.foundation.Filter
Returns filtered iterator
filter(Iterable<T>) - Method in class com.myjavatools.lib.foundation.Filter
filters an Iterable
find(File, Pattern) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
find(String, Pattern) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
find(String, String) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
FIND_ALL - Static variable in class com.myjavatools.lib.Files
 
FIND_DIRECTORY - Static variable in class com.myjavatools.lib.Files
 
FIND_FILE - Static variable in class com.myjavatools.lib.Files
 
findDiff(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
Finds index of the first difference between two char sequences
findLatest(String, String, int) - Static method in class com.myjavatools.lib.Files
Finds latest file or directory or one of these which name matches a pattern
findLatest(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest file or directory which name matches a pattern
findLatestDirectory(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest directory which name matches a pattern
findLatestFile(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest file which name matches a pattern
forFunction(Function<Map.Entry<X, Y>, Z>) - Static method in class com.myjavatools.lib.foundation.Function2
Creates a two-parameter function for a function defined on pairs.
forMap(Map<X, Y>) - Static method in class com.myjavatools.lib.foundation.Function
turns a Map into a Function
forMap(Map<? super X, Y>, Y) - Static method in class com.myjavatools.lib.foundation.Function
Returns a function defied by a map and a default value
forMap(Map<X, Map<Y, Z>>, Z) - Static method in class com.myjavatools.lib.foundation.Function2
Creates a two-parameter function for a "cascade map".
forMap(Map<X, Map<Y, Z>>) - Static method in class com.myjavatools.lib.foundation.Function2
Creates a two-parameter function for a "cascade map".
format(String, Object...) - Static method in class com.myjavatools.lib.Strings
Deprecated. use MessageFormat.format(String, Object...)

Examples:
  • format("{0} Monkeys", new Long(12)) returns "12 Monkeys".
  • format("{0} is {1}", "Life", "struggle") returns "Life is struggle".
  • format("{0} + {1} = {2}", new Byte(2), new Byte(2), new Long(5)) returns "2 + 2 = 5".
  • FormattedWriter - Class in com.myjavatools.lib
     
    FormattedWriter(Writer, String) - Constructor for class com.myjavatools.lib.FormattedWriter
    Creates a writer that formats its output according to the format specified
    FormattedWriter(Writer, String, String, String) - Constructor for class com.myjavatools.lib.FormattedWriter
    Creates a writer that formats its output according to head, body and tail formats specified
    FormattedWriter(OutputStream, String) - Constructor for class com.myjavatools.lib.FormattedWriter
    Creates a writer that formats its output according to the format specified
    FormattedWriter(OutputStream, String, String, String) - Constructor for class com.myjavatools.lib.FormattedWriter
    Creates a writer that formats its output according to head, body and tail formats specified
    freeMemory() - Static method in class com.myjavatools.lib.Tools
    Collects garbage, reports back
    Function<X,Y> - Class in com.myjavatools.lib.foundation
    Function is an abstract class that represents the mathematical notion of function: X -> Y.
    Function() - Constructor for class com.myjavatools.lib.foundation.Function
     
    function(Map<X, Y>) - Static method in class com.myjavatools.lib.foundation.Function
    Deprecated. use forMap instead
    function(Map<? super X, Y>, Y) - Static method in class com.myjavatools.lib.foundation.Function
    Deprecated. use forMap instead.
    Function2<X,Y,Z> - Class in com.myjavatools.lib.foundation
    Function2 is an abstract class that represents the mathematical notion of two-parameter function: X x Y -> Z.
    Function2() - Constructor for class com.myjavatools.lib.foundation.Function2
     

    G

    gc() - Static method in class com.myjavatools.lib.Tools
    Collects garbage, reports back
    get(X, Y) - Method in class com.myjavatools.lib.foundation.AbstractMap2
    Returns the value to which this map maps the specified key pair, and null if the map contains no mapping for these keys.
    get(X, Y) - Method in class com.myjavatools.lib.foundation.IndexedMap2
    Returns the value to which this map maps the specified key pair, and null if the map contains no mapping for these keys.
    get(X, Y) - Method in interface com.myjavatools.lib.foundation.Map2
    Returns the value to which this map maps the specified key pair, and null if the map contains no mapping for these keys.
    getBody() - Method in class com.myjavatools.lib.FormattedWriter
    Gets body format string
    getBuffer() - Method in interface com.myjavatools.lib.Files.BufferingFilter
    gets data stored as a result of filtering; no assumption regarding the nature of the data.
    getBytes() - Method in class com.myjavatools.lib.ZipInput
    retrieves the contents of current ZipEntry data
    getChars(String) - Method in class com.myjavatools.lib.ZipInput
    gets the contents of current ZipEntry data as characters
    getCharsetByEncoding(String) - Static method in class com.myjavatools.lib.Web
    Deprecated. should use java.nio.Charset
    getCommandOutput(String) - Static method in class com.myjavatools.lib.Tools
    returns as string the output of a command
    getcwd() - Static method in class com.myjavatools.lib.Files
    Gets current directory path
    getEncodingByCharset(String) - Static method in class com.myjavatools.lib.Web
    gets Java encoding given an IANA charset
    getEntry(Object, Object) - Method in class com.myjavatools.lib.foundation.IndexedMap2
     
    getEntry() - Method in class com.myjavatools.lib.ZipInput
    gets current ZipEntry
    getEntryName() - Method in class com.myjavatools.lib.ZipInput
    gets the name of current ZipEntry
    getEntrySize() - Method in class com.myjavatools.lib.ZipInput
    gets the size of current entry data
    getEntryTime() - Method in class com.myjavatools.lib.ZipInput
    gets timestamp of current zip entry
    getEnv() - Static method in class com.myjavatools.lib.Tools
    gets values of all environment variables
    getFullPath(File) - Static method in class com.myjavatools.lib.Files
    Calculates full path of a file
    getFullPath(String) - Static method in class com.myjavatools.lib.Files
    Calculates full path of a file by its path
    getHead() - Method in class com.myjavatools.lib.FormattedWriter
    Gets head format string
    getHtmlCharset(CharSequence) - Static method in class com.myjavatools.lib.Web
    Detects charset from html contents
    getHtmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Web
    gets Java encoding of HTML contents
    getKey() - Method in class com.myjavatools.lib.foundation.Pair
    key getter (to implement Map.Entry)
    getKey1() - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
    getKey1() - Method in interface com.myjavatools.lib.foundation.Map2.Entry
     
    getKey2() - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
    getKey2() - Method in interface com.myjavatools.lib.foundation.Map2.Entry
     
    getKeys() - Method in class com.myjavatools.lib.human.HumanInterface
     
    getPackageName(String, String) - Static method in class com.myjavatools.lib.Files
    Calculates a java package name by directory name and base directory name
    getTail() - Method in class com.myjavatools.lib.FormattedWriter
    gets tail format string
    getUrlInputStream(URL) - Static method in class com.myjavatools.lib.Web
    gets an input stream for a given url
    getValue() - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
    getValue() - Method in interface com.myjavatools.lib.foundation.Map2.Entry
     
    getValue() - Method in class com.myjavatools.lib.foundation.Pair
    value getter (to implement Map.Entry)
    getXmlCharset(CharSequence) - Static method in class com.myjavatools.lib.Web
    Detects charset from xml contents
    getXmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Web
    gets Java encoding of XML data
    grep(T[], CharSequence) - Static method in class com.myjavatools.lib.Strings
    Perl operation grep.
    grep(T[], Pattern) - Static method in class com.myjavatools.lib.Strings
    Perl operation grep.

    H

    handleGetObject(String) - Method in class com.myjavatools.lib.human.HumanInterface
     
    hasAlpha(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Checks whether a CharSequence contains any latin letters.
    hashCode() - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
     
    hashCode() - Method in class com.myjavatools.lib.foundation.AbstractMap2
     
    hashCode(Map.Entry) - Static method in class com.myjavatools.lib.foundation.Pair
     
    hashCode() - Method in class com.myjavatools.lib.foundation.Pair
    some hashcode for Pair made from left and right hash codes
    hasNext() - Method in class com.myjavatools.lib.foundation.Iterators.EmptyIterator
     
    hexDump(byte[]) - Static method in class com.myjavatools.lib.Strings
    Hexadecimal dump of a byte array.
    hexDump(char[]) - Static method in class com.myjavatools.lib.Strings
    Hexadecimal dump of a char array Produces neatly arranged lines of bot hex and ascii representation of bytes from the array.
    hexDump(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Hexadecimal dump of a CharSequence Produces neatly arranged lines of bot hex and ascii representation of bytes from the array.
    HTML_CHARSET_PATTERN - Static variable in class com.myjavatools.lib.Web
     
    htmlEncode(CharSequence) - Static method in class com.myjavatools.lib.Strings
    encodes a CharSequence into an HTML-acceptable format
    HumanInterface - Class in com.myjavatools.lib.human
    Title: My Java Tools Library
    HumanInterface() - Constructor for class com.myjavatools.lib.human.HumanInterface
     
    humanTime(long) - Static method in class com.myjavatools.lib.human.HumanInterface
    turns time into an approximate humanized value
    humanTime(long, String) - Static method in class com.myjavatools.lib.human.HumanInterface
    turns time into an approximate humanized value
    humanWhen(long) - Static method in class com.myjavatools.lib.human.HumanInterface
    turns timestamp into an approximate form used by humans
    humanWhen(long, String) - Static method in class com.myjavatools.lib.human.HumanInterface
    turns timestamp into an approximate form used by humans

    I

    id() - Static method in class com.myjavatools.lib.foundation.Function
     
    IndexedHashMap2<X,Y,V> - Class in com.myjavatools.lib.foundation
    IndexedHashMap2 is an class that implements a two-parameter map with indexes for both parameters; entries are stored in a HashMap.
    IndexedHashMap2() - Constructor for class com.myjavatools.lib.foundation.IndexedHashMap2
     
    IndexedMap2<X,Y,V> - Class in com.myjavatools.lib.foundation
    IndexedMap2 is an abstract class that implements a two-parameter map with indexes for both parameters.
    IndexedMap2() - Constructor for class com.myjavatools.lib.foundation.IndexedMap2
    Default constructor.
    IndexedTreeMap2<X,Y,V> - Class in com.myjavatools.lib.foundation
    IndexedHashMap2 is an class that implements a two-parameter map with indexes for both parameters; entries are stored in a TreeMap.
    IndexedTreeMap2() - Constructor for class com.myjavatools.lib.foundation.IndexedTreeMap2
     
    indexOf(T, T[]) - Static method in class com.myjavatools.lib.foundation.Objects
    Gets the index of the first element of an array that equals to specified object
    indexOf(T, T[], int) - Static method in class com.myjavatools.lib.foundation.Objects
    Gets the index of the next element of an array that equals to specified object
    indexOf(T, List<T>, int) - Static method in class com.myjavatools.lib.foundation.Objects
    Gets the index of the next element of a list that equals to specified object
    indexOf(CharSequence, char, int) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of indexOf
    indexOf(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of indexOf
    indexOf(CharSequence, CharSequence, int) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of indexOf
    indexOf(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of indexOf
    inform(String) - Static method in class com.myjavatools.lib.Tools
    Displays an informative message
    install(Class, String, File) - Static method in class com.myjavatools.lib.Files
    installs files from a resource archive Reads a specified resource for aspecified class, unzips it to a specified directory
    install(URL, File) - Static method in class com.myjavatools.lib.Files
    installs files from a URL Reads the contents of the specified URL, unzips it to a specified directory
    install(String, String) - Static method in class com.myjavatools.lib.Files
    installs files from a URL Reads the contents of the specified URL, unzips it to a specified directory
    install(Class, String, String) - Static method in class com.myjavatools.lib.Files
    installs files from a resource archive Reads a specified resource for aspecified class, unzips it to a specified directory
    inverse(Map<X, Y>) - Static method in class com.myjavatools.lib.foundation.Maps
    Inverses a Map
    isAlmostEmpty(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Checks whether a CharSequence does not contain anything except whitespaces and the like.
    isAlpha(char) - Static method in class com.myjavatools.lib.Strings
    Checks whether a character is a latin letter.
    isEmpty() - Method in class com.myjavatools.lib.foundation.AbstractMap2
    isEmpty() - Method in interface com.myjavatools.lib.foundation.Map2
     
    isEmpty(T) - Static method in class com.myjavatools.lib.foundation.Objects
    In a "creative", anti-scientific way checks whether a string or a container is empty.
    isEntryDirectory() - Method in class com.myjavatools.lib.ZipInput
    checks whether current ZipEntry is a directory
    isTrue(String) - Static method in class com.myjavatools.lib.human.HumanInterface
    Extracts logical value from a string
    isVowel(char) - Static method in class com.myjavatools.lib.human.HumanInterface
    Checks whether a character is a latin vowel.
    iterator() - Method in class com.myjavatools.lib.foundation.CompoundIterable
     
    Iterators - Class in com.myjavatools.lib.foundation
    Iterators is a utility class that contains static methods for iterators
    Iterators() - Constructor for class com.myjavatools.lib.foundation.Iterators
     
    Iterators.EmptyIterator<T> - Class in com.myjavatools.lib.foundation
    EmptyIterator is a helper class that does not contain any elements and throws an exception when next() is called.
    Iterators.EmptyIterator(String) - Constructor for class com.myjavatools.lib.foundation.Iterators.EmptyIterator
     
    Iterators.EmptyIterator() - Constructor for class com.myjavatools.lib.foundation.Iterators.EmptyIterator
     

    J

    join(CharSequence, Collection) - Static method in class com.myjavatools.lib.Strings
    Perl operation join.
    join(CharSequence, T...) - Static method in class com.myjavatools.lib.Strings
    Perl operation join.

    K

    keySet1() - Method in class com.myjavatools.lib.foundation.AbstractMap2
     
    keySet1() - Method in class com.myjavatools.lib.foundation.IndexedMap2
    A Map2 has two sets of keys, first component and second component.
    keySet1() - Method in interface com.myjavatools.lib.foundation.Map2
    A Map2 has two sets of keys, first component and second component.
    keySet2() - Method in class com.myjavatools.lib.foundation.AbstractMap2
     
    keySet2() - Method in class com.myjavatools.lib.foundation.IndexedMap2
    A Map2 has two sets of keys, first component and second component.
    keySet2() - Method in interface com.myjavatools.lib.foundation.Map2
    A Map2 has two sets of keys, first component and second component.
    KeyValueArrayMap<X,Y> - Class in com.myjavatools.lib.foundation
    KeyValueArrayMap is a helper class that implements Map which is based on a key/value array Note that this class does not take any additional memory; lazy evaluation uses only the array provided.
    KeyValueArrayMap(Object...) - Constructor for class com.myjavatools.lib.foundation.KeyValueArrayMap
    constructor
    KeyValuePairsMap<X,Y> - Class in com.myjavatools.lib.foundation
    KeyValuePairsMap is a helper class that implements Map which is based on a key/value array Note that this class does not take any additional memory; lazy evaluation uses only the array provided.
    KeyValuePairsMap(Map.Entry<X, Y>...) - Constructor for class com.myjavatools.lib.foundation.KeyValuePairsMap
    constructor

    L

    lastIndexOf(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of lastIndexOf
    lastModified(File) - Static method in class com.myjavatools.lib.Files
    Gets file modification date/time as a string
    LazyPair<X,Y> - Class in com.myjavatools.lib.foundation
    LazyPair<Left, Right> is a pair consisting of key and value; its value won't be calculated until requested.
    LazyPair(X, Function<? super X, Y>) - Constructor for class com.myjavatools.lib.foundation.LazyPair
    Constructor; saves argument and function
    left - Variable in class com.myjavatools.lib.foundation.Pair
     
    left() - Method in class com.myjavatools.lib.foundation.Pair
    left getter
    lines(Reader) - Static method in class com.myjavatools.lib.Files
    returns an Iterable<String> enclosure that scans over the lines returned by Reader
    lines(File) - Static method in class com.myjavatools.lib.Files
    returns an Iterable<String> that scans over the lines in a File
    listFiles(File) - Static method in class com.myjavatools.lib.Files
    Lists files in a directory
    listSubdirectories(File) - Static method in class com.myjavatools.lib.Files
    Lists subdirectories of a directory
    localizedCantTellTime(long) - Method in class com.myjavatools.lib.human.HumanInterface
    localized version of stringifier for an unknown time period
    localizedHumanWhen(long, String) - Method in class com.myjavatools.lib.human.HumanInterface
    localized version of humanWhen
    localizedIsTrue(String) - Method in class com.myjavatools.lib.human.HumanInterface
    localized version of isTrue()
    localizedIsVowel(char) - Method in class com.myjavatools.lib.human.HumanInterface
    localized vowel test
    localizedVeryLittleTime(long, HumanInterface.TimeUnit) - Method in class com.myjavatools.lib.human.HumanInterface
    localized version of stringifier for a very small time period
    Logical - Class in com.myjavatools.lib.human
    Logical is a class that represents a multivalued logic the mathematical notion of function: X -> Y.
    Logical() - Constructor for class com.myjavatools.lib.human.Logical
     
    Logical.LogicalConstant - Enum in com.myjavatools.lib.human
     

    M

    main(String[]) - Static method in class com.myjavatools.lib.foundation.Sample1
     
    makeFile(String, String, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String, String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String[], boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String...) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(File, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(File) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFileWriter(String, String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    map(Map<X, Y>, List<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Maps a List using Map.
    map(Map<X, Y>, Collection<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Maps a Collection using Map.
    map(Map<X, Y>, Iterator<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Maps an Iterator using Map.
    map(Map<X, Y>, Iterable<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Maps an Iterable using Map.
    Map2<X,Y,V> - Interface in com.myjavatools.lib.foundation
    Map2 is an interface that represents a two-parameter map.
    Map2.Entry<X,Y,V> - Interface in com.myjavatools.lib.foundation
    A map entry (key1-key2-value pair).
    Maps - Class in com.myjavatools.lib.foundation
     
    Maps() - Constructor for class com.myjavatools.lib.foundation.Maps
     

    N

    needsEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Checks whether a character needs encoding in Java
    needsEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Checks whether a CharSequence needs encoding in Java
    next() - Method in class com.myjavatools.lib.foundation.Iterators.EmptyIterator
     
    next() - Method in class com.myjavatools.lib.ZipInput
    moves to next ZipEntry
    not(Filter<T>) - Static method in class com.myjavatools.lib.foundation.Filter
    Creates negation of a filter.
    not(Logical.LogicalConstant) - Static method in class com.myjavatools.lib.human.Logical
    Negation of a logical value
    not(Predicate<T>) - Static method in class com.myjavatools.lib.human.Logical
    Negation of a predicate

    O

    Objects - Class in com.myjavatools.lib.foundation
    Objects is a utility class that contains various unsorted static methods for foundation package
    Objects() - Constructor for class com.myjavatools.lib.foundation.Objects
     
    oneOf(T...) - Static method in class com.myjavatools.lib.foundation.Objects
    Chooses the first non-empty object out of objects in parameter list.
    open(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output
    open(Object) - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output
    open() - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output, no arguments for head format
    or(Filter<T>...) - Static method in class com.myjavatools.lib.foundation.Filter
    Creates disjunction of filters.
    or(Logical.LogicalConstant, Logical.LogicalConstant) - Static method in class com.myjavatools.lib.human.Logical
    Disjunction of two logical values
    or(Predicate<T>, Predicate<T>) - Static method in class com.myjavatools.lib.human.Logical
    Disjunction of two predicates

    P

    p(int) - Method in class com.myjavatools.lib.TestLogical
     
    p1() - Static method in class com.myjavatools.lib.foundation.Function2
    First component projection.
    p2() - Static method in class com.myjavatools.lib.foundation.Function2
    Second component projection.
    pack(byte[]) - Static method in class com.myjavatools.lib.Strings
    Packs bytes into a string
    Pair<Left,Right> - Class in com.myjavatools.lib.foundation
    Pair<Left, Right> is a class that represents pairs of objects.
    Pair(Left, Right) - Constructor for class com.myjavatools.lib.foundation.Pair
    Constructor, creates a new pair from two objects.
    pairEqual(Map.Entry, Map.Entry) - Static method in class com.myjavatools.lib.foundation.Pair
     
    path(String, String) - Static method in class com.myjavatools.lib.Files
    Having a directory and file path (relative or absolute) calculates full path
    pipe(InputStream, OutputStream, boolean, Files.ByteFilter) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream, possibly pumping them through the filter (if any)
    pipe(InputStream, OutputStream, boolean) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream
    pipe(Reader, Writer) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream
    plurality(String, String) - Static method in class com.myjavatools.lib.human.HumanInterface
    returns plurality representation of a number and its unit
    plurality(String, String, String) - Static method in class com.myjavatools.lib.human.HumanInterface
    returns plurality representation of a number and its unit
    Predicate<T> - Class in com.myjavatools.lib.human
     
    Predicate() - Constructor for class com.myjavatools.lib.human.Predicate
     
    put(X, Y, V) - Method in class com.myjavatools.lib.foundation.AbstractMap2
    Associates the specified value with the specified key pair.
    put(X, Y, V) - Method in class com.myjavatools.lib.foundation.IndexedMap2
    Associates the specified value with the specified key pair.
    put(X, Y, V) - Method in interface com.myjavatools.lib.foundation.Map2
    Associates the specified value with the specified key pair.
    putAll(Map2<? extends X, ? extends Y, ? extends V>) - Method in class com.myjavatools.lib.foundation.AbstractMap2
    Copies all of the mappings from the specified map to this map.
    putAll(Map2<? extends X, ? extends Y, ? extends V>) - Method in interface com.myjavatools.lib.foundation.Map2
    Copies all of the mappings from the specified map to this map.

    Q

    quote(String) - Static method in class com.myjavatools.lib.Web
    surrounds a string with single quotes (apostrophes), which is convenient for generating Javascript code, but just senseless otherwise.

    R

    RangeList - Class in com.myjavatools.lib.foundation
    RangeList is a class that represents a list of values in a range.
    RangeList() - Constructor for class com.myjavatools.lib.foundation.RangeList
     
    rangeList(int, int, int) - Static method in class com.myjavatools.lib.foundation.RangeList
    Creates a list of integers
    rangeList(int, int) - Static method in class com.myjavatools.lib.foundation.RangeList
    Creates a list of integers
    rangeList(double, double, double) - Static method in class com.myjavatools.lib.foundation.RangeList
    Creates a list of doubles
    readBytesFromFile(String) - Static method in class com.myjavatools.lib.Files
    Reads the whole input stream into a byte array
    readBytesFromStream(InputStream) - Static method in class com.myjavatools.lib.Files
    Reads the whole input stream into a byte array
    readString(Reader) - Static method in class com.myjavatools.lib.Files
     
    readStringFromFile(File) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    readStringFromFile(File, String) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    readStringFromFile(String) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    relPath(String, String) - Static method in class com.myjavatools.lib.Files
    Calculates relative path
    remove(X, Y) - Method in class com.myjavatools.lib.foundation.AbstractMap2
    Removes the mapping for this key pair from this map if it is present.
    remove(X, Y) - Method in class com.myjavatools.lib.foundation.IndexedMap2
    Removes the mapping for this key pair from this map if it is present.
    remove() - Method in class com.myjavatools.lib.foundation.Iterators.EmptyIterator
     
    remove(X, Y) - Method in interface com.myjavatools.lib.foundation.Map2
    Removes the mapping for this key pair from this map if it is present.
    replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Deprecated. since 5.0; use replace() without boolean argument, or replaceAll() see java.lang.String.replaceAll(String,String) and java.lang.String.replaceFirst(String, String)

    Examples:
  • replace("Bokonon loves you", "love", "hate", true) returns "Bokonon hates you";
  • replace("All you need is love, love!", "me", false) returns "All you need is me, love!".
  • replace(CharSequence, CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Replaces all instances of subsequence in a char sequence with another subsequence
    replaceAll(CharSequence, CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Replaces a subsequence in a char sequence with another subsequence
    resolve(Map<X, Y>, Y) - Static method in class com.myjavatools.lib.foundation.Maps
    finds all map keys that map to a specified value
    resolveToSet(Map<X, Y>, Y) - Static method in class com.myjavatools.lib.foundation.Maps
    Returns a set of keys which are mapped to y by the specified map.
    restrict(Map<X, Y>, Set<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Restricts a Map to a Collection Resulting Map is a virtual map that has an intersection of map's keyset and keys as a keyset, and maps them to the same values as the original map does.
    restrict(Map<X, Y>, Collection<? extends X>) - Static method in class com.myjavatools.lib.foundation.Maps
    Restricts a Map to a Collection Resulting Map is a virtual map that has an intersection of map's keyset and the set of keys from collection as a keyset, and maps them to the same values as the original map does.
    revert(Map<X, Y>) - Static method in class com.myjavatools.lib.foundation.Maps
    reverts a Map f, producing a new one that maps values of f to sets of keys of f
    right() - Method in class com.myjavatools.lib.foundation.LazyPair
    right getter
    right - Variable in class com.myjavatools.lib.foundation.Pair
     
    right() - Method in class com.myjavatools.lib.foundation.Pair
    right getter
    runCommand(String) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, InputStream, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String, InputStream, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, String, Reader, PrintWriter, PrintWriter) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, String, Reader, PrintWriter, PrintWriter, Map<String, String>) - Static method in class com.myjavatools.lib.Tools
     

    S

    Sample1 - Class in com.myjavatools.lib.foundation
     
    Sample1() - Constructor for class com.myjavatools.lib.foundation.Sample1
     
    sendMail(String, String, String, String) - Static method in class com.myjavatools.lib.Web
    sendMail sends emails.
    setLastModified(File, long) - Static method in class com.myjavatools.lib.Files
    Sets the last-modified time of the file or directory named by this abstract pathname.
    setLowestPriority() - Static method in class com.myjavatools.lib.Tools
    sets the lowest priority, Thread.MIN_PRIORITY
    setPriority(int) - Static method in class com.myjavatools.lib.Tools
    sets priority and returns previous priority
    setUp() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestPair
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    setUp() - Method in class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    setUp() - Method in class com.myjavatools.lib.TestBytes
     
    setUp() - Method in class com.myjavatools.lib.TestFiles
     
    setUp() - Method in class com.myjavatools.lib.TestLogical
     
    setUp() - Method in class com.myjavatools.lib.TestObjects
     
    setUp() - Method in class com.myjavatools.lib.TestStrings
     
    setUp() - Method in class com.myjavatools.lib.TestTools
     
    setUp() - Method in class com.myjavatools.lib.TestWeb
     
    setValue(V) - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
    Replaces the value corresponding to this entry with the specified value
    setValue(V) - Method in interface com.myjavatools.lib.foundation.Map2.Entry
    Replaces the value corresponding to this entry with the specified value
    setValue(Right) - Method in class com.myjavatools.lib.foundation.Pair
    value setter - unsupported (immutable class)
    sgmlEntity(char) - Static method in class com.myjavatools.lib.Strings
    Encodes a character by SGML rules It can be a hex representation
    size() - Method in class com.myjavatools.lib.foundation.AbstractMap2
    size() - Method in interface com.myjavatools.lib.foundation.Map2
     
    split(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Perl operation split.
    split(Pattern, CharSequence) - Static method in class com.myjavatools.lib.Strings
     
    splitPath(String) - Static method in class com.myjavatools.lib.Files
    Splits a path into directory name and file name
    startsWith(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of startsWith
    Strings - Class in com.myjavatools.lib
     
    Strings() - Constructor for class com.myjavatools.lib.Strings
     
    suite() - Static method in class com.myjavatools.lib.AllTests
     
    suite() - Static method in class com.myjavatools.lib.foundation.AllTests
     
    swap() - Method in class com.myjavatools.lib.foundation.Function2
    Swaps function arguments.
    swap() - Method in class com.myjavatools.lib.foundation.Pair
    swaps left and right
    synchronize(File, File, String) - Static method in class com.myjavatools.lib.Files
    synchronizes two directories, left/what and right/what
    synchronize(File, File) - Static method in class com.myjavatools.lib.Files
    synchronizes two directories

    T

    t() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestPair
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    tearDown() - Method in class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    tearDown() - Method in class com.myjavatools.lib.TestBytes
     
    tearDown() - Method in class com.myjavatools.lib.TestFiles
     
    tearDown() - Method in class com.myjavatools.lib.TestLogical
     
    tearDown() - Method in class com.myjavatools.lib.TestObjects
     
    tearDown() - Method in class com.myjavatools.lib.TestStrings
     
    tearDown() - Method in class com.myjavatools.lib.TestTools
     
    tearDown() - Method in class com.myjavatools.lib.TestWeb
     
    TestAbstractMap2 - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestAbstractMap2() - Constructor for class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testAccept1() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testAccept2() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testAccept3() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testAdd() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testAdd() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testAddAll() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testAddAll() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testAnd() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testAnd() - Method in class com.myjavatools.lib.TestLogical
     
    testApply() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testApply() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testApply1() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testApply1() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testApply2() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testApply2() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testApply3() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testArrayIndexOf1() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testArrayIndexOf2() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testArrayIndexOf3() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testArrayIndexOf4() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testArrayToMap1() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testArrayToMap2() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testAsProperties() - Method in class com.myjavatools.lib.TestStrings
     
    testBark() - Method in class com.myjavatools.lib.TestTools
     
    TestBytes - Class in com.myjavatools.lib
     
    TestBytes(String) - Constructor for class com.myjavatools.lib.TestBytes
     
    testBytes1() - Method in class com.myjavatools.lib.TestFiles
     
    testBytes2() - Method in class com.myjavatools.lib.TestFiles
     
    testCat() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testCat1() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testCatIterables() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testChars1() - Method in class com.myjavatools.lib.TestFiles
     
    testChars1() - Method in class com.myjavatools.lib.TestStrings
     
    testChars2() - Method in class com.myjavatools.lib.TestFiles
     
    testChars2() - Method in class com.myjavatools.lib.TestStrings
     
    testClear() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testClear() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testClear() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testCommandLineArg() - Method in class com.myjavatools.lib.TestTools
     
    testCompose() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testCompose() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testCompose() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testCompose() - Method in class com.myjavatools.lib.TestObjects
     
    testCompose1() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testCompose1() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    TestCompoundCollection - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestCompoundCollection() - Constructor for class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testCompoundCollection() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testCompoundCollection1() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testCompoundCollection2() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testCompoundCollection3() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testCompoundCollection4() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testContainsAllNegative() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testContainsAllPositive1() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testContainsAllPositive2() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testContainsAllPositive3() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testContainsKeyPair1() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsKeyPair1() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsKeyPair2() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsKeyPair2() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsKeyPair3() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsKeyPair3() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsKeyPair4() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsKeyPair4() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsValue1() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsValue1() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsValue2() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsValue2() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testContainsValue3() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testContainsValue3() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCopy1() - Method in class com.myjavatools.lib.TestFiles
     
    testCopy2() - Method in class com.myjavatools.lib.TestFiles
     
    testCopyAndCompare() - Method in class com.myjavatools.lib.TestFiles
     
    testCopyCompare() - Method in class com.myjavatools.lib.TestFiles
     
    testCountChar() - Method in class com.myjavatools.lib.TestStrings
     
    testCountLeadingSpaces() - Method in class com.myjavatools.lib.TestStrings
     
    testCountTrailingSpaces() - Method in class com.myjavatools.lib.TestStrings
     
    testCrc32() - Method in class com.myjavatools.lib.TestBytes
     
    testCrc32() - Method in class com.myjavatools.lib.TestStrings
     
    testCrc321() - Method in class com.myjavatools.lib.TestBytes
     
    testCurry1() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testCurry1() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testCurry11() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCurry12() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCurry13() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCurry2() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testCurry2() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testCurry21() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCurry22() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testCurry23() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testDecode() - Method in class com.myjavatools.lib.TestStrings
     
    testDecodeJavaString() - Method in class com.myjavatools.lib.TestStrings
     
    testDirname_1() - Method in class com.myjavatools.lib.TestFiles
     
    testDirname_2() - Method in class com.myjavatools.lib.TestFiles
     
    testDirname_3() - Method in class com.myjavatools.lib.TestFiles
     
    testEncode() - Method in class com.myjavatools.lib.TestStrings
     
    testEntrySet() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEqual1() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEqual1() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testEqual2() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEqual2() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testEqual3() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEqual3() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testEqual4() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEqual4() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testEqual5() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEquals() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testEquals1() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEquals2() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEquals3() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEquals4() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEquals5() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEquals6() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testEqualsNegative1() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testEqualsNegative2() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testEqualsPositive() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testExtractValue1() - Method in class com.myjavatools.lib.TestStrings
     
    testExtractValue2() - Method in class com.myjavatools.lib.TestStrings
     
    testFilename() - Method in class com.myjavatools.lib.TestFiles
     
    TestFiles - Class in com.myjavatools.lib
     
    TestFiles(String) - Constructor for class com.myjavatools.lib.TestFiles
     
    testFiles() - Method in class com.myjavatools.lib.TestFiles
     
    testFill() - Method in class com.myjavatools.lib.TestStrings
     
    TestFilter - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestFilter() - Constructor for class com.myjavatools.lib.foundation.TestFilter
     
    testFilter() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testFilter1() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testFilter2() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testFilter3() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testFind() - Method in class com.myjavatools.lib.TestFiles
     
    testFind1() - Method in class com.myjavatools.lib.TestFiles
     
    testFind2() - Method in class com.myjavatools.lib.TestFiles
     
    testForFunction() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testForMap() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testForMap() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testForMap1() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testForMap1() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    TestFunction - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestFunction() - Constructor for class com.myjavatools.lib.foundation.TestFunction
     
    TestFunction2 - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestFunction2() - Constructor for class com.myjavatools.lib.foundation.TestFunction2
     
    testGet() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testGet() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testGetEntry() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testGetHtmlCharset() - Method in class com.myjavatools.lib.TestWeb
     
    testGetHtmlEncoding() - Method in class com.myjavatools.lib.TestWeb
     
    testGetKey() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testGetKey() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testGetKeys() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testGetPackage() - Method in class com.myjavatools.lib.TestFiles
     
    testGetValue() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testGetValue() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testGetXmlCharset() - Method in class com.myjavatools.lib.TestWeb
     
    testGetXmlEncoding() - Method in class com.myjavatools.lib.TestWeb
     
    testGrep() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testGrep() - Method in class com.myjavatools.lib.TestStrings
     
    testGrep1() - Method in class com.myjavatools.lib.TestStrings
     
    testHasAlpha() - Method in class com.myjavatools.lib.TestStrings
     
    testHashCode() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testHashCode() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testHashCode() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testHexDump() - Method in class com.myjavatools.lib.TestStrings
     
    testHexDump1() - Method in class com.myjavatools.lib.TestStrings
     
    testHexDump2() - Method in class com.myjavatools.lib.TestStrings
     
    testHtmlEncode() - Method in class com.myjavatools.lib.TestStrings
     
    testId() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    TestIndexedMap2 - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestIndexedMap2() - Constructor for class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testIndexOf() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf1() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf1() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf2() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf2() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf3() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf4() - Method in class com.myjavatools.lib.TestStrings
     
    testInform() - Method in class com.myjavatools.lib.TestTools
     
    testInverse() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testInverse() - Method in class com.myjavatools.lib.TestObjects
     
    testInverseNegative() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testIsAlmostEmpty() - Method in class com.myjavatools.lib.TestStrings
     
    testIsAlpha() - Method in class com.myjavatools.lib.TestStrings
     
    testIsEmpty() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testIsEmpty() - Method in class com.myjavatools.lib.TestObjects
     
    testIsEmptyN1() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyN2() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyN3() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyN4() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyN5() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyP1() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyP2() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsEmptyP3() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testIsValidKey() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testIsValidKey() - Method in class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    testIterator() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testIterator() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    TestIterators - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestIterators() - Constructor for class com.myjavatools.lib.foundation.TestIterators
     
    testJoin() - Method in class com.myjavatools.lib.TestStrings
     
    testJoin1() - Method in class com.myjavatools.lib.TestStrings
     
    testJoin2() - Method in class com.myjavatools.lib.TestStrings
     
    testKeySet1() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testKeySet1() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testKeySet2() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testKeySet2() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testLastIndexOf() - Method in class com.myjavatools.lib.TestStrings
     
    TestLazyPair - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestLazyPair() - Constructor for class com.myjavatools.lib.foundation.TestLazyPair
     
    testLeft() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testLeft() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testLines1() - Method in class com.myjavatools.lib.TestFiles
     
    testLines2() - Method in class com.myjavatools.lib.TestFiles
     
    testList() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testListIndexOf1() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testListIndexOf2() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testListIndexOf3() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testListIndexOf4() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    TestLogical - Class in com.myjavatools.lib
    Title: My Java Tools Library
    TestLogical() - Constructor for class com.myjavatools.lib.TestLogical
     
    testMap() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testMap() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testMap() - Method in class com.myjavatools.lib.TestObjects
     
    testMap1() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testMap1() - Method in class com.myjavatools.lib.TestObjects
     
    testMap2() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testMap2() - Method in class com.myjavatools.lib.TestObjects
     
    testMap3() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    TestMaps - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestMaps() - Constructor for class com.myjavatools.lib.foundation.TestMaps
     
    testNeedsEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testNeedsEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testNot() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testNothing() - Method in class com.myjavatools.lib.TestObjects
     
    TestObjects - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestObjects() - Constructor for class com.myjavatools.lib.foundation.TestObjects
     
    TestObjects - Class in com.myjavatools.lib
     
    TestObjects(String) - Constructor for class com.myjavatools.lib.TestObjects
     
    testOneOf() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testOneOf2() - Method in class com.myjavatools.lib.TestObjects
     
    testOneOf3() - Method in class com.myjavatools.lib.TestObjects
     
    testOneOf4() - Method in class com.myjavatools.lib.TestObjects
     
    testOr() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testP1() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testP2() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testPack() - Method in class com.myjavatools.lib.TestStrings
     
    TestPair - Class in com.myjavatools.lib.foundation
     
    TestPair() - Constructor for class com.myjavatools.lib.foundation.TestPair
     
    testPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    testPipe() - Method in class com.myjavatools.lib.TestFiles
     
    testPipe1() - Method in class com.myjavatools.lib.TestFiles
     
    testPut() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testPut1() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testPut2() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testPutAll() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testRangeIterator1() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testRangeIterator2() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testRangeList() - Method in class com.myjavatools.lib.foundation.TestIterators
     
    testReadBytesFromFile() - Method in class com.myjavatools.lib.TestFiles
     
    testReadBytesFromStream() - Method in class com.myjavatools.lib.TestFiles
     
    testReadStringFromFile() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    testRemove() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testRemove() - Method in class com.myjavatools.lib.foundation.TestIndexedMap2
     
    testRemove() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testRemoveAll() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testRemoveAll1() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testRemoveAll2() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testRemoveAll3() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testReplace() - Method in class com.myjavatools.lib.TestStrings
     
    testResolve1() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testResolve2() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testRestrict() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testRestrict1() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    TestRestrictedFunctionEntrySet - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestRestrictedFunctionEntrySet() - Constructor for class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testRestrictedFunctionEntrySet1() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testRestrictedFunctionEntrySet2() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    TestRestrictedMapEntrySet - Class in com.myjavatools.lib.foundation
    Title: My Java Tools Library
    TestRestrictedMapEntrySet() - Constructor for class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    testRestrictedMapEntrySet() - Method in class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    testRetainAll() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testRevert() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testRight() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testRight() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testRight1() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testRunCommand1_1() - Method in class com.myjavatools.lib.TestTools
     
    testRunCommand1_2() - Method in class com.myjavatools.lib.TestTools
     
    testRunCommand2_1() - Method in class com.myjavatools.lib.TestTools
     
    testSetValue() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testSetValue() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testSgmlEntity() - Method in class com.myjavatools.lib.TestStrings
     
    testSize() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testSize() - Method in class com.myjavatools.lib.foundation.TestCompoundCollection
     
    testSize() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testSize() - Method in class com.myjavatools.lib.foundation.TestRestrictedMapEntrySet
     
    testSplit1() - Method in class com.myjavatools.lib.TestStrings
     
    testSplit1r() - Method in class com.myjavatools.lib.TestStrings
     
    testSplit2() - Method in class com.myjavatools.lib.TestStrings
     
    testSplit2r() - Method in class com.myjavatools.lib.TestStrings
     
    testSplitPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testSplitPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testSplitPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    TestStrings - Class in com.myjavatools.lib
     
    TestStrings(String) - Constructor for class com.myjavatools.lib.TestStrings
     
    testSwap() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testSwap() - Method in class com.myjavatools.lib.foundation.TestLazyPair
     
    testSwap() - Method in class com.myjavatools.lib.foundation.TestPair
     
    testSynchronize() - Method in class com.myjavatools.lib.TestFiles
     
    testTextHeight() - Method in class com.myjavatools.lib.TestStrings
     
    testTextWidth() - Method in class com.myjavatools.lib.TestStrings
     
    testToArray() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testToArray1() - Method in class com.myjavatools.lib.foundation.TestRestrictedFunctionEntrySet
     
    testToBytes() - Method in class com.myjavatools.lib.TestBytes
     
    testToBytes1() - Method in class com.myjavatools.lib.TestBytes
     
    testToCEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToCEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToChars() - Method in class com.myjavatools.lib.TestBytes
     
    testToFilter() - Method in class com.myjavatools.lib.foundation.TestFilter
     
    testToFunction() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testToHex() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex1() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex2() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex3() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex4() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable1() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable2() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable3() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding2() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding3() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding4() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding5() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaHexEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaHexEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaOctalEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToMap() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testToMap() - Method in class com.myjavatools.lib.foundation.TestFunction2
     
    testToMap() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testToMap() - Method in class com.myjavatools.lib.TestObjects
     
    testToMap1() - Method in class com.myjavatools.lib.foundation.TestFunction
     
    testToMap1() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testToMap1() - Method in class com.myjavatools.lib.TestObjects
     
    testToMap2() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testToMap2() - Method in class com.myjavatools.lib.TestObjects
     
    testToMap3() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    testToMap4() - Method in class com.myjavatools.lib.foundation.TestMaps
     
    TestTools - Class in com.myjavatools.lib
     
    TestTools(String) - Constructor for class com.myjavatools.lib.TestTools
     
    testToPropertiesEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToPropertiesEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToReadable() - Method in class com.myjavatools.lib.TestStrings
     
    testToReadable1() - Method in class com.myjavatools.lib.TestStrings
     
    testToSet() - Method in class com.myjavatools.lib.foundation.TestObjects
     
    testToSgmlEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToSgmlEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToString() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    testToString() - Method in class com.myjavatools.lib.TestStrings
     
    testToStrings() - Method in class com.myjavatools.lib.TestStrings
     
    testTree() - Method in class com.myjavatools.lib.TestFiles
     
    testTree1() - Method in class com.myjavatools.lib.TestFiles
     
    testTree2() - Method in class com.myjavatools.lib.TestFiles
     
    testTree3() - Method in class com.myjavatools.lib.TestFiles
     
    testUnpack() - Method in class com.myjavatools.lib.TestStrings
     
    testUnzip() - Method in class com.myjavatools.lib.TestStrings
     
    testUnzip1() - Method in class com.myjavatools.lib.TestStrings
     
    testUrlEncode() - Method in class com.myjavatools.lib.TestWeb
     
    testValues() - Method in class com.myjavatools.lib.foundation.TestAbstractMap2
     
    TestWeb - Class in com.myjavatools.lib
     
    TestWeb(String) - Constructor for class com.myjavatools.lib.TestWeb
     
    testWhether() - Method in class com.myjavatools.lib.TestTools
     
    testWordCount() - Method in class com.myjavatools.lib.TestStrings
     
    testWriteToFile() - Method in class com.myjavatools.lib.TestFiles
     
    testZip() - Method in class com.myjavatools.lib.TestStrings
     
    testZip2bytes() - Method in class com.myjavatools.lib.TestStrings
     
    testZip8bit() - Method in class com.myjavatools.lib.TestStrings
     
    textHeight(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates how many lines the text contains.
    textWidth(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates how many horizontal lines will the text take in a textarea.
    timestampToDatetime(long) - Static method in class com.myjavatools.lib.human.HumanInterface
    turns a timestamp into a readable timestamp string (see example)
    toBoolean(String, boolean) - Static method in class com.myjavatools.lib.human.HumanInterface
    Extracts Boolean value from a string
    toBytes(char[]) - Static method in class com.myjavatools.lib.Bytes
    Converts char array to byte array (per-element casting)
    toBytes(long) - Static method in class com.myjavatools.lib.Bytes
    Converts long to byte array (lower bytes first)
    toCEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its C encoding (hex or escaped or intact)
    toCEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its C encoding
    toChars(byte[]) - Static method in class com.myjavatools.lib.Bytes
    Converts byte array to char array (per-element casting)
    toFilter(Function<T, Double>) - Static method in class com.myjavatools.lib.foundation.Filter
    creates a filter that accepts only x such that f(x) > 0
    toFunction() - Method in class com.myjavatools.lib.foundation.Function2
    Converts a two-parameter function to a function on pairs, (X x, Y y).
    toHex(byte) - Static method in class com.myjavatools.lib.Strings
    Converts a byte to hex string.
    toHex(int) - Static method in class com.myjavatools.lib.Strings
    Converts an integer to hex string.
    toHex(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a char to hex string
    toHex(char) - Static method in class com.myjavatools.lib.Strings
    Converts a char to hex string
    toHex(CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to hex string (character by character)
    toHexReadable(char[]) - Static method in class com.myjavatools.lib.Strings
    Converts an array of chars to a readable hexadecimal form
    toHexReadable(byte[], int, int) - Static method in class com.myjavatools.lib.Strings
    Converts an array of chars to a readable hexadecimal form
    toHexReadable(byte[]) - Static method in class com.myjavatools.lib.Strings
    Converts an array of bytes to a readable hexadecimal form
    toHexReadable(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to a readable hexadecimal string
    toJavaEncoding(char, boolean, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(CharSequence, boolean, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaEncoding(CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaHexEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java hex encoding format: \\uxxxx
    toJavaHexEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java hex encoding format: \\uxxxx
    toJavaOctalEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java octal encoding format: \\o[o][o]
    toMap(Set<? extends X>) - Method in class com.myjavatools.lib.foundation.Function
    Restricts this function to a specified Set, returning a map with keys from the set.
    toMap(Collection<? extends X>) - Method in class com.myjavatools.lib.foundation.Function
    Restricts this function to a specified Collection, returning a map on the set of collection entries
    toMap(Set<? extends X>, Set<? extends Y>) - Method in class com.myjavatools.lib.foundation.Function2
    Creates a (virtual) map for a two-parameter function.
    toMap(X, Y) - Static method in class com.myjavatools.lib.foundation.Maps
    makes a singleton Map<X,Y> from a key-value pair
    toMap(X, Y, X, Y) - Static method in class com.myjavatools.lib.foundation.Maps
    makes a Map<X,Y> from two key-value pairs
    toMap(X, Y, X, Y, X, Y) - Static method in class com.myjavatools.lib.foundation.Maps
    makes a Map<X,Y> from three key-value pairs
    toMap(Map.Entry<X, Y>...) - Static method in class com.myjavatools.lib.foundation.Maps
    makes a Map from key-value pairs
    toMap(Object...) - Static method in class com.myjavatools.lib.foundation.Maps
    makes a Map from a vararg of key-value pairs
    Tools - Class in com.myjavatools.lib
     
    Tools() - Constructor for class com.myjavatools.lib.Tools
     
    toPlural(String) - Static method in class com.myjavatools.lib.human.HumanInterface
    returns plural of an English word (too simplistic so far)
    toPropertiesEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to how it should be represented in properties files
    toPropertiesEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to how it should be represented in properties files
    toReadable(char[], int, int) - Static method in class com.myjavatools.lib.Strings
    Converts a char array to a readable string.
    toReadable(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to a readable string.
    toSet(T...) - Static method in class com.myjavatools.lib.foundation.Objects
    Deprecated. since 5.0; the usefulness of this method is doubtful
    toSgmlEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its SGML numeric encoding
    toSgmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Encodes a CharSequence by SGML rules (using predefined entities and numeric character encodings when necessary)
    toString() - Method in class com.myjavatools.lib.foundation.AbstractMap2.Entry
     
    toString() - Method in class com.myjavatools.lib.foundation.AbstractMap2
     
    toString(Throwable) - Static method in class com.myjavatools.lib.Strings
    Stringifies a Throwable, together with is stack trace.
    toStrings(Map<K, V>) - Static method in class com.myjavatools.lib.Strings
    Converts a map to string array, "key=value"
    toStrings(List) - Static method in class com.myjavatools.lib.Strings
    Converts a List to string array, per element
    toStrings(Collection) - Static method in class com.myjavatools.lib.Strings
    Converts a Collection to string array, per element
    toStrings(Object[]) - Static method in class com.myjavatools.lib.Strings
    Converts an array to string array, per element
    toStrings(Object) - Static method in class com.myjavatools.lib.Strings
    Deprecated. since 5.0; use typed versions

    Example:
  • toStrings(new Object[] { new Integer(22), new Boolean(false), "wow"}) returns new String[] {"22", "false", "wow"}.
  • toWebReadable(String) - Static method in class com.myjavatools.lib.Web
    converts a string into something that could be literally placed into a web page, that is, replaces CR with CRLF (to be polite with browser's 'view source'), replaces all '<' with "<", and html-encodes (&#dddd;) characters above low-ascii.
    tree(File) - Static method in class com.myjavatools.lib.Files
    Returns an Iterable<File> that scans, recursively, through the directory structure.
    tree(File, FileFilter) - Static method in class com.myjavatools.lib.Files
    Returns an Iterable<File> that scans, recursively, through the directory structure.
    treePostorder(File) - Static method in class com.myjavatools.lib.Files
    Returns an Iterable<File> that scans, recursively, through the directory structure.

    U

    unpack(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Unpacks bytes packed in the char sequence
    unzip(ZipInputStream, File) - Static method in class com.myjavatools.lib.Files
    unzips an input stream to a specified folder
    unzip(InputStream) - Static method in class com.myjavatools.lib.Strings
    Unzips a stream.
    unzip(byte[]) - Static method in class com.myjavatools.lib.Strings
    Unzips an array of bytes.
    unzip(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Unzips a char sequence Does this: CharSequence -> High Unicode bytes -> unzip -> bytes -> UTF8 -> String
    url(String, Collection) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and a collection of parameters
    url(String, String...) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and request parameters
    urlEncode(String, String) - Static method in class com.myjavatools.lib.Web
    converts a name-value pair into an element of url string
    USE_NIO - Static variable in class com.myjavatools.lib.Files
    copy copies a file or a directory to another

    V

    valueOf(String) - Static method in enum com.myjavatools.lib.human.Logical.LogicalConstant
    Returns the enum constant of this type with the specified name.
    values() - Method in class com.myjavatools.lib.foundation.AbstractMap2
    Returns a collection view of the values contained in this map.
    values() - Method in interface com.myjavatools.lib.foundation.Map2
    Returns a collection view of the values contained in this map.
    values() - Static method in enum com.myjavatools.lib.human.Logical.LogicalConstant
    Returns an array containing the constants of this enum type, in the order they are declared.

    W

    Web - Class in com.myjavatools.lib
     
    Web() - Constructor for class com.myjavatools.lib.Web
     
    whether(String) - Static method in class com.myjavatools.lib.Tools
    Displays a message and receives user's choice (yes/no)
    wordCount(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates the number of words in the CharSequence.
    write(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
    Writes a body string to formatted output
    write(String) - Method in class com.myjavatools.lib.FormattedWriter
    Writes an arbitrary string to (generally speaking) formatted output
    write(Writer, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Writes CharSequence to Writer (Hello, Sun! Ever heard of CharSequence class?)
    writeBytesToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
    Writes bytes to a file
    writeToFile(CharSequence, String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes a char sequence into it
    writeToFile(char[], String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes chars into it
    writeToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes bytes into it
    writeToFile(InputStream, String) - Static method in class com.myjavatools.lib.Files
    Creates a file and copies into it bytes from an input stream

    X

    XML_CHARSET_PATTERN - Static variable in class com.myjavatools.lib.Web
     

    Z

    zip(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zips a char sequence to a string.
    zip2bytes(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zip (like in zip files) a string producing an array of bytes
    zip8bit(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zips a char sequence to a string of lower-byte chars.
    ZipInput - Class in com.myjavatools.lib
    Title: MyJavaTools: ZippedInput
    ZipInput(InputStream) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with InputStream
    ZipInput(byte[]) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with data
    ZipInput(char[]) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with data
    zz(X) - Method in class com.myjavatools.lib.foundation.Function2
     

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