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

## A

addToMapList(K, V, Map<K, List<V>>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
addToMapSet(K, V, Map<K, Set<V>>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
aggregate(Collection<T>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
AggregationResult - Class in net.dontdrinkandroot.utils.collections
AggregationResult() - Constructor for class net.dontdrinkandroot.utils.collections.AggregationResult
available() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream

## B

buf - Variable in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
  Our byte buffer
buf - Variable in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
  Buffer and size
byteValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe byteValue of a Number.

## C

CachedFileResource - Class in net.dontdrinkandroot.utils.resource
CachedFileResource(File) - Constructor for class net.dontdrinkandroot.utils.resource.CachedFileResource
checkPreconditions(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Checks if the element is null or does only contain whitespace text.
CollectionUtils - Class in net.dontdrinkandroot.utils.collections
CollectionUtils() - Constructor for class net.dontdrinkandroot.utils.collections.CollectionUtils
CommandLineArgument - Annotation Type in net.dontdrinkandroot.utils.cli
CommandLineArgumentMain - Class in net.dontdrinkandroot.utils.cli
CommandLineArgumentMain() - Constructor for class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
CommandLineArgumentParser - Class in net.dontdrinkandroot.utils.cli
CommandLineArgumentParser(Object) - Constructor for class net.dontdrinkandroot.utils.cli.CommandLineArgumentParser
compare(int, int) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
count - Variable in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
  Number of bytes that we can read from the buffer

## D

DateUtils - Class in net.dontdrinkandroot.utils.lang.time
DateUtils() - Constructor for class net.dontdrinkandroot.utils.lang.time.DateUtils
DAYS_PER_WEEK - Static variable in class net.dontdrinkandroot.utils.lang.time.DateUtils
DomUtils - Class in net.dontdrinkandroot.utils.xml
DomUtils() - Constructor for class net.dontdrinkandroot.utils.xml.DomUtils
  Disabled constructor, utility class.
doubleValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe doubleValue of a Number.

## E

entriesSortedByValues(Map<K, V>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
entriesSortedByValuesInverse(Map<K, V>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
equals(Object) - Method in class net.dontdrinkandroot.utils.pair.Pair
evaluateArguments(String[]) - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentParser

## F

FastByteArrayInputStream - Class in net.dontdrinkandroot.utils.lang
  ByteArrayInputStream implementation that does not synchronize methods.
FastByteArrayInputStream(byte[], int) - Constructor for class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
FastByteArrayOutputStream - Class in net.dontdrinkandroot.utils.lang
  ByteArrayOutputStream implementation that doesn't synchronize methods and doesn't copy the data on toByteArray().
FastByteArrayOutputStream() - Constructor for class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
  Constructs a stream with buffer capacity size 5K
FastByteArrayOutputStream(int) - Constructor for class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
  Constructs a stream with the given initial size
fastClone(T) - Static method in class net.dontdrinkandroot.utils.lang.SerializationUtils
FIFTY - Static variable in class net.dontdrinkandroot.utils.Percent
first(Iterable<T>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
floatValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe floatValue of a Number.

## G

getAttributeText(Element, String, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Get the attribute text of a single child of an element by its tag name.
getAvg() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getByteArray() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
  Returns the byte array containing the written data.
getChildByTagName(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Get a single child of an element by its tag name.
getChildrenByTagName(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Get the children of an element with a specified tag name.
getContentLength() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getContentLength() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getContentType() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getContentType() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getCurrentPage() - Method in class net.dontdrinkandroot.utils.pagination.Pagination
getElementText(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Get the element text of a single child of an element by its tag name.
getEntries() - Method in class net.dontdrinkandroot.utils.pagination.PaginatedResult
getErrorCode() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getErrorCode() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getErrorMessage() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getErrorMessage() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getExpiry() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getExpiry() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getFileEncoding() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The character encoding for the default locale.
getFileEncodingPkg() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The package that contains the converters that handle converting between local encodings and Unicode.
getFileName() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getFileName() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getFileSeparator() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The platform-dependent file separator (e.g., "/" on UNIX, "\" for Windows).
getFirst() - Method in class net.dontdrinkandroot.utils.pair.Pair
getInputStream() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
  Returns a ByteArrayInputStream for reading back the written data
getJavaClassPath() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The value of the CLASSPATH environment variable
getJavaClassVersion() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The version of the Java API.
getJavaCompiler() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The just-in-time compiler to use, if any.
getJavaHome() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The directory in which Java is installed.
getJavaIoTmpdir() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The directory in which java should create temporary files.
getJavaVendor() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  A vendor-specific string.
getJavaVendorUrl() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  A vendor URL.
getJavaVersion() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The version of the Java interpreter.
getLastModified() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getLastModified() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getLineSeparator() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The platform-dependent line separator (e.g., "\n" on UNIX, "\r\n" for Windows).
getMax() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getMean() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getMean(Collection<T>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
getMin() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getName() - Method in enum net.dontdrinkandroot.utils.ISO_3166_1_alpha2
  Retrieve the country name.
getName() - Method in enum net.dontdrinkandroot.utils.ISO_639_1
  Retrieve the country name.
getOsArch() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The system architecture.
getOsName() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The name of the operating system.
getOsVersion() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The operating system version.
getPagination() - Method in class net.dontdrinkandroot.utils.pagination.PaginatedResult
getPathSeparator() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The platform-dependent path separator (e.g., ":" on UNIX, "," for Windows).
getPerPage() - Method in class net.dontdrinkandroot.utils.pagination.Pagination
getRandom(Collection<V>) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
getSecond() - Method in class net.dontdrinkandroot.utils.pair.Pair
getSize() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getSize() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
getSum() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
getTextEncoding() - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
getTextEncoding() - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource
getTotal() - Method in class net.dontdrinkandroot.utils.pagination.Pagination
getTotalPages() - Method in class net.dontdrinkandroot.utils.pagination.Pagination
getUserDir() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The current working directory when the properties were initialized.
getUserHome() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The home directory of the current user.
getUserLanguage() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The two-letter language code of the default locale.
getUserName() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The username of the current user.
getUserRegion() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The two-letter country code of the default locale.
getUserTimezone() - Static method in class net.dontdrinkandroot.utils.SystemProperties
  The default time zone.

## H

handleFailure(CommandLineArgumentParser) - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
hasErrors() - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentParser
hashCode() - Method in class net.dontdrinkandroot.utils.pair.Pair
HOURS_PER_DAY - Static variable in class net.dontdrinkandroot.utils.lang.time.DateUtils
HUNDRED - Static variable in class net.dontdrinkandroot.utils.Percent

## I

info(String) - Method in class net.dontdrinkandroot.utils.logging.IntervalLogger
IntervalLogger - Class in net.dontdrinkandroot.utils.logging
IntervalLogger(Logger, long) - Constructor for class net.dontdrinkandroot.utils.logging.IntervalLogger
intValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe intValue of a Number.
isEmpty(Object) - Static method in class net.dontdrinkandroot.utils.collections.CollectionUtils
  Nullsafe check if a collection is empty.
ISO_3166_1_alpha2 - Enum in net.dontdrinkandroot.utils
  This enumeration implements the following standard: ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest.
ISO_639_1 - Enum in net.dontdrinkandroot.utils
  This enumeration implements the following standard: ISO 639-1:2002, Codes for the representation of names of languages - Part 1: Alpha-2 code, is the first part of the ISO 639 series of international standards for language codes.
iterator() - Method in class net.dontdrinkandroot.utils.pair.Pair

## J

join(Iterable<T>, String, Transformer<T, String>) - Static method in class net.dontdrinkandroot.utils.lang.StringUtils
join(T[], String, Transformer<T, String>) - Static method in class net.dontdrinkandroot.utils.lang.StringUtils

## L

limit(int, int, int) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
limit(long, long, long) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
limit(float, float, float) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
limit(double, double, double) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
LOGGER - Static variable in class net.dontdrinkandroot.utils.xml.DomUtils
longValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe longValue of a Number.

## M

MINUTES_PER_HOUR - Static variable in class net.dontdrinkandroot.utils.lang.time.DateUtils

## N

net.dontdrinkandroot.utils - package net.dontdrinkandroot.utils
net.dontdrinkandroot.utils.cli - package net.dontdrinkandroot.utils.cli
net.dontdrinkandroot.utils.collections - package net.dontdrinkandroot.utils.collections
net.dontdrinkandroot.utils.lang - package net.dontdrinkandroot.utils.lang
net.dontdrinkandroot.utils.lang.math - package net.dontdrinkandroot.utils.lang.math
net.dontdrinkandroot.utils.lang.time - package net.dontdrinkandroot.utils.lang.time
net.dontdrinkandroot.utils.logging - package net.dontdrinkandroot.utils.logging
net.dontdrinkandroot.utils.pagination - package net.dontdrinkandroot.utils.pagination
net.dontdrinkandroot.utils.pair - package net.dontdrinkandroot.utils.pair
net.dontdrinkandroot.utils.resource - package net.dontdrinkandroot.utils.resource
net.dontdrinkandroot.utils.xml - package net.dontdrinkandroot.utils.xml
NINETY - Static variable in class net.dontdrinkandroot.utils.Percent
NumberUtils - Class in net.dontdrinkandroot.utils.lang.math
  Provides extra functionality for Java Number classes.
NumberUtils() - Constructor for class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Disabled constructor, utility class.

## P

PaginatedResult<T> - Class in net.dontdrinkandroot.utils.pagination
PaginatedResult(Pagination, List<T>) - Constructor for class net.dontdrinkandroot.utils.pagination.PaginatedResult
Pagination - Class in net.dontdrinkandroot.utils.pagination
Pagination(int, int, int) - Constructor for class net.dontdrinkandroot.utils.pagination.Pagination
Pair<T extends java.io.Serializable> - Class in net.dontdrinkandroot.utils.pair
Pair() - Constructor for class net.dontdrinkandroot.utils.pair.Pair
Pair(T, T) - Constructor for class net.dontdrinkandroot.utils.pair.Pair
pareto(double) - Static method in class net.dontdrinkandroot.utils.lang.math.RandomUtils
  Taken from http://introcs.cs.princeton.edu/java/stdlib/.
PARETO_EIGHTY_PERCENT_UNDER_HUNDRED - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
PARETO_EIGHTY_PERCENT_UNDER_HUNDREDTHOUSAND - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
PARETO_EIGHTY_PERCENT_UNDER_TENTHOUSAND - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
PARETO_EIGHTY_PERCENT_UNDER_THOUSAND - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
PARETO_EIGHTY_PERCENT_UNDER_TWENTYTHOUSAND - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
PARETO_EIGHTY_PERCENT_UNDER_TWOHUNDREDTHOUSAND - Static variable in class net.dontdrinkandroot.utils.lang.math.RandomUtils
Percent - Class in net.dontdrinkandroot.utils
  Helper class that can be used when handling percent values.
pos - Variable in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
  Number of bytes that have been read from the buffer
printErrors() - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentParser
printUsage() - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentParser

## R

RandomUtils - Class in net.dontdrinkandroot.utils.lang.math
RandomUtils() - Constructor for class net.dontdrinkandroot.utils.lang.math.RandomUtils
read() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
read(byte[], int, int) - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
reset() - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
RFC3339Format - Static variable in class net.dontdrinkandroot.utils.lang.time.DateUtils
run() - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
runFailed(Exception) - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
  Handle exceptions thrown during run.

## S

SECONDS_PER_MINUTE - Static variable in class net.dontdrinkandroot.utils.lang.time.DateUtils
SerializationUtils - Class in net.dontdrinkandroot.utils.lang
SerializationUtils() - Constructor for class net.dontdrinkandroot.utils.lang.SerializationUtils
serialize(Object, OutputStream) - Static method in class net.dontdrinkandroot.utils.lang.SerializationUtils
  Convenience method that does not require the input to implement Serializable.
serialize(Object) - Static method in class net.dontdrinkandroot.utils.lang.SerializationUtils
  Convenience method that does not require the input to implement Serializable.
setAvg(double) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setExpiry(Long) - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
setFileName(String) - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
setFirst(T) - Method in class net.dontdrinkandroot.utils.pair.Pair
setMax(double) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setMean(double) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setMin(double) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setSecond(T) - Method in class net.dontdrinkandroot.utils.pair.Pair
setSize(int) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setSum(double) - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
setup() - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
  Hook where initialization can be performed after the arguments have been parsed
setupAndRun(String[]) - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
setupFailed(Exception) - Method in class net.dontdrinkandroot.utils.cli.CommandLineArgumentMain
  Handle exceptions thrown during setup.
SEVENTYFIVE - Static variable in class net.dontdrinkandroot.utils.Percent
shortValue(Number) - Static method in class net.dontdrinkandroot.utils.lang.math.NumberUtils
  Get the null safe shortValue of a Number.
size - Variable in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
skip(long) - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayInputStream
StreamableWebResource - Class in net.dontdrinkandroot.utils.resource
StreamableWebResource() - Constructor for class net.dontdrinkandroot.utils.resource.StreamableWebResource
StringUtils - Class in net.dontdrinkandroot.utils.lang
StringUtils() - Constructor for class net.dontdrinkandroot.utils.lang.StringUtils
SystemProperties - Class in net.dontdrinkandroot.utils
  Utility class to easily access standard java system properties.
SystemProperties() - Constructor for class net.dontdrinkandroot.utils.SystemProperties
  Utility class, disabled constructor.

## T

TEN - Static variable in class net.dontdrinkandroot.utils.Percent
toBoolean(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toBoolean(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toCountry(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toDateFromSecondsTimestamp(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toDouble(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toDouble(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toFloat(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toFloat(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toHttpURL(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toInteger(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toInteger(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toLong(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toLong(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toNonEmptyString(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
  Retrieve the element body as a string.
toNonEmptyString(Element, String) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toString() - Method in class net.dontdrinkandroot.utils.collections.AggregationResult
toString() - Method in enum net.dontdrinkandroot.utils.ISO_639_1
toURI(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
toURL(Element) - Static method in class net.dontdrinkandroot.utils.xml.DomUtils
TWENTYFIVE - Static variable in class net.dontdrinkandroot.utils.Percent

## V

valueOf(String) - Static method in enum net.dontdrinkandroot.utils.ISO_3166_1_alpha2
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.dontdrinkandroot.utils.ISO_639_1
  Returns the enum constant of this type with the specified name.
values() - Static method in enum net.dontdrinkandroot.utils.ISO_3166_1_alpha2
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.dontdrinkandroot.utils.ISO_639_1
  Returns an array containing the constants of this enum type, in the order they are declared.

## W

write(byte[]) - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
write(byte[], int, int) - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
write(int) - Method in class net.dontdrinkandroot.utils.lang.FastByteArrayOutputStream
write(OutputStream) - Method in class net.dontdrinkandroot.utils.resource.CachedFileResource
write(OutputStream) - Method in class net.dontdrinkandroot.utils.resource.StreamableWebResource

## Z

ZERO - Static variable in class net.dontdrinkandroot.utils.Percent

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

Copyright © 2013 dontdrinkandroot. All Rights Reserved.