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

A

available() - Method in class com.buck.commons.io.ByteBufferInputStream
Returns the number hashCode bytes that can be read from this input stream without blocking.

B

BinaryData - Class in com.buck.commons.algorithms
Utilities to convert primitive data types to and from byte arrays.
BinaryData() - Constructor for class com.buck.commons.algorithms.BinaryData
 
buffer - Variable in class com.buck.commons.io.ByteBufferOutputStream
The backing ByteBuffer.
ByteBufferInputStream - Class in com.buck.commons.io
Implements an alternative class to ByteArrayInputStream, but for ByteBuffers.
ByteBufferInputStream(ByteBuffer) - Constructor for class com.buck.commons.io.ByteBufferInputStream
 
ByteBufferOutputStream - Class in com.buck.commons.io
Wraps ByteBuffers so it can be accessed as an OutputStream.
ByteBufferOutputStream() - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream initially sized at 32 that can grow.
ByteBufferOutputStream(int) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream hashCode the given size that can grow.
ByteBufferOutputStream(int, boolean) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream hashCode the given size that can grow as needed.
ByteBufferOutputStream(byte[]) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream with the given backing array that cannot grow.
ByteBufferOutputStream(byte[], int, int) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream using the given backing array, starting at position 'index' and allowing writes for the given length.
ByteBufferOutputStream(ByteBuffer) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream backed by the given ByteBuffer.
ByteBufferOutputStream(ByteBuffer, boolean) - Constructor for class com.buck.commons.io.ByteBufferOutputStream
Creates an OutputStream backed by the given ByteBuffer.

C

clone() - Method in class com.buck.commons.algorithms.MersenneTwister
 
close() - Method in class com.buck.commons.io.ByteBufferInputStream
Closing a ByteBufferInputStream has no effect.
close() - Method in class com.buck.commons.io.ByteBufferOutputStream
Closing a ByteBufferOutputStream has no effect.
com.buck.commons.algorithms - package com.buck.commons.algorithms
 
com.buck.commons.exceptions - package com.buck.commons.exceptions
 
com.buck.commons.i18n - package com.buck.commons.i18n
Provides internationalization infrastructure.
com.buck.commons.io - package com.buck.commons.io
 
com.buck.commons.net - package com.buck.commons.net
Provides networking related wrappers, algorithms, and data types.
com.buck.commons.text - package com.buck.commons.text
 
compareTo(URN) - Method in class com.buck.commons.net.URN
Compares this URN to another object, which must be a URN.
count - Variable in class com.buck.commons.io.ByteBufferInputStream
The index one greater than the last valid character in the input stream buffer.

D

DateTime - Class in com.buck.commons.i18n
Provides basic date and time support.
DateTime() - Constructor for class com.buck.commons.i18n.DateTime
 

E

equals(Object) - Method in class com.buck.commons.net.URN
Compares this urn to the specified object.
Exceptions - Class in com.buck.commons.exceptions
Provides general exception utility methods.
Exceptions() - Constructor for class com.buck.commons.exceptions.Exceptions
 

F

formatResourceBundleMessage(Class, String, Object[]) - Static method in class com.buck.commons.i18n.ResourceBundle
A helper function to format a message using a resource identified by its mnemonic, located in a resource bundle located in the package of the given class.
fromDate(Date) - Static method in class com.buck.commons.i18n.ISO8601DateTime
Converts a java.util.Date object to its string representation.
fromDate(Date) - Static method in class com.buck.commons.i18n.URISafeISO8601DateTime
Converts a java.util.Date object to its string representation.

G

getBuffer() - Method in class com.buck.commons.io.ByteBufferOutputStream
Returns the backing buffer.
getDefaultTimeZoneOffset(Date) - Static method in class com.buck.commons.i18n.DateTime
Gets the total default timezone offset, taking into account the raw offset and the daylight savings time offset.
getIndex() - Method in exception com.buck.commons.net.URNSyntaxException
Returns an index into the input string hashCode the position at which the parse error occurred, or -1 if this position is not known.
getInput() - Method in exception com.buck.commons.net.URNSyntaxException
Returns the input string.
getInstance(TextComparatorFactory.Kind) - Static method in class com.buck.commons.text.TextComparatorFactory
Gets the singleton instance of a comparator.
getNid() - Method in class com.buck.commons.net.URN
Gets the namespace identifier.
getNss() - Method in class com.buck.commons.net.URN
Gets the namespace specific string.
getResourceBundle(String) - Static method in class com.buck.commons.i18n.ResourceBundle
Get a resource bundle using the context class loader and default locale.
getResourceBundle(Class) - Static method in class com.buck.commons.i18n.ResourceBundle
Get the resource bundle in the package of the specified class.
getSystemEntropy() - Static method in class com.buck.commons.algorithms.SystemEntropy
 
getTimeZoneIds(String) - Static method in class com.buck.commons.i18n.TimeZoneFile
This method returns a list of supported time zone ids that are read from a time zone file (generally etc/timezone).
getTimeZoneIds(InputStream) - Static method in class com.buck.commons.i18n.TimeZoneFile
This method returns a list of supported time zone ids that are read from a time zone file (generally etc/timezone).
getTimeZoneOffset(Date, TimeZone) - Static method in class com.buck.commons.i18n.DateTime
Gets the total timezone offset, taking into account the raw offset and the daylight savings time offset.
getUrn() - Method in class com.buck.commons.net.URN
Gets the URN string.
grow - Variable in class com.buck.commons.io.ByteBufferOutputStream
Whether or not this can grow.

H

HashCode - Class in com.buck.commons.algorithms
Extends hash code support for core Java types that do not support it, namely array-types.
HashCode() - Constructor for class com.buck.commons.algorithms.HashCode
 
hashCode(int, String) - Static method in class com.buck.commons.algorithms.HashCode
Hashes a string using the seed hash value.
hashCode(String...) - Static method in class com.buck.commons.algorithms.HashCode
Generates a hash code for an array hashCode string such that the following invariant holds true: h(s0 + s1) == h'(h'(0, s0), s1).
hashCode() - Method in class com.buck.commons.net.URN
Returns a hash code value for the object.

I

ISO8601DateTime - Class in com.buck.commons.i18n
Provides conversions for ISO-8601 Extended Notation.
ISO8601DateTime() - Constructor for class com.buck.commons.i18n.ISO8601DateTime
 
ISO_8601_EXTENDED_PATTERN_Z - Static variable in class com.buck.commons.i18n.ISO8601DateTime
The standard format pattern for ISO-8601 Extended Notation.
ISO_8601_URISAFE_EXTENDED_PATTERN_Z - Static variable in class com.buck.commons.i18n.URISafeISO8601DateTime
The standard format pattern for ISO-8601 URI-Safe Extended Notation.

L

limit - Variable in class com.buck.commons.io.ByteBufferInputStream
The last position to read before the mark is invalidated.
loadByteAtOffset(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a byte primitive type located at the indicated offset in the byte array.
loadByteAtOffsetUnsafe(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a short primitive type located at the indicated offset in the byte array.
loadIntAtOffset(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a long primitive type located at the indicated offset in the byte array.
loadIntAtOffsetUnsafe(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a long primitive type located at the indicated offset in the byte array.
loadLongAtOffset(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a long primitive type located at the indicated offset in the byte array.
loadLongAtOffsetUnsafe(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a long primitive type located at the indicated offset in the byte array.
loadShortAtOffset(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a short primitive type located at the indicated offset in the byte array.
loadShortAtOffsetUnsafe(byte[], int) - Static method in class com.buck.commons.algorithms.BinaryData
Load a short primitive type located at the indicated offset in the byte array.

M

mark - Variable in class com.buck.commons.io.ByteBufferInputStream
The currently marked position in the stream.
mark(int) - Method in class com.buck.commons.io.ByteBufferInputStream
Set the current marked position in the stream.
markSupported() - Method in class com.buck.commons.io.ByteBufferInputStream
Tests if this InputStream supports mark/reset.
MersenneTwister - Class in com.buck.commons.algorithms
 
MersenneTwister() - Constructor for class com.buck.commons.algorithms.MersenneTwister
Constructor using the default seed which is generated from system entropy.
MersenneTwister(byte[]) - Constructor for class com.buck.commons.algorithms.MersenneTwister
 
MersenneTwister(long) - Constructor for class com.buck.commons.algorithms.MersenneTwister
Constructor using a given seed.
MersenneTwister(int[]) - Constructor for class com.buck.commons.algorithms.MersenneTwister
Constructor using an array of integers as seed.

N

next(int) - Method in class com.buck.commons.algorithms.MersenneTwister
Returns an integer with bits bits filled with a random number.
nextBoolean() - Method in class com.buck.commons.algorithms.MersenneTwister
This method is missing from jdk 1.0.x and below.
nextBoolean(float) - Method in class com.buck.commons.algorithms.MersenneTwister
This generates a coin flip with a probability probability of returning true, else returning false.
nextBoolean(double) - Method in class com.buck.commons.algorithms.MersenneTwister
This generates a coin flip with a probability probability of returning true, else returning false.
nextByte() - Method in class com.buck.commons.algorithms.MersenneTwister
For completeness' sake, though it's not in java.util.Random.
nextBytes(byte[]) - Method in class com.buck.commons.algorithms.MersenneTwister
A bug fix for all versions of the JDK.
nextChar() - Method in class com.buck.commons.algorithms.MersenneTwister
For completeness' sake, though it's not in java.util.Random.
nextDouble() - Method in class com.buck.commons.algorithms.MersenneTwister
A bug fix for versions of JDK 1.1 and below.
nextFloat() - Method in class com.buck.commons.algorithms.MersenneTwister
A bug fix for versions of JDK 1.1 and below.
nextGaussian() - Method in class com.buck.commons.algorithms.MersenneTwister
A bug fix for all JDK code including 1.2.
nextInt(int) - Method in class com.buck.commons.algorithms.MersenneTwister
This method is missing from JDK 1.1 and below.
nextLong(long) - Method in class com.buck.commons.algorithms.MersenneTwister
This method is for completeness' sake.
nextShort() - Method in class com.buck.commons.algorithms.MersenneTwister
For completeness' sake, though it's not in java.util.Random.

P

position - Variable in class com.buck.commons.io.ByteBufferInputStream
The index hashCode the next character to read from the input stream buffer.

R

randomUUID() - Static method in class com.buck.commons.algorithms.UUIDFactory
Makes a Type 4 UUID.
read() - Method in class com.buck.commons.io.ByteBufferInputStream
 
read(byte[], int, int) - Method in class com.buck.commons.io.ByteBufferInputStream
 
readState(DataInputStream) - Method in class com.buck.commons.algorithms.MersenneTwister
Reads the entire state of the MersenneTwister RNG from the stream
reset() - Method in class com.buck.commons.io.ByteBufferInputStream
Resets the buffer to the marked position.
reset() - Method in class com.buck.commons.io.ByteBufferOutputStream
Resets the count field hashCode this byte buffer output stream to zero, so that all currently accumulated output in the output stream is discarded.
ResourceBundle - Class in com.buck.commons.i18n
Class to hide details of getting a resource bundle, properly; the class also provides facilities to format resource bundle messages.
ResourceBundle() - Constructor for class com.buck.commons.i18n.ResourceBundle
 

S

setBuffer(ByteBuffer) - Method in class com.buck.commons.io.ByteBufferOutputStream
Sets the backing buffer.
setSeed(long) - Method in class com.buck.commons.algorithms.MersenneTwister
Initalize the pseudo random number generator.
setSeed(byte[]) - Method in class com.buck.commons.algorithms.MersenneTwister
 
setSeed(int[]) - Method in class com.buck.commons.algorithms.MersenneTwister
Sets the seed of the MersenneTwister using an array of integers.
size() - Method in class com.buck.commons.io.ByteBufferOutputStream
Returns the current size hashCode the buffer.
sizeOfByte - Static variable in class com.buck.commons.algorithms.BinaryData
The size of a byte.
sizeOfInt - Static variable in class com.buck.commons.algorithms.BinaryData
The size of an int.
sizeOfLong - Static variable in class com.buck.commons.algorithms.BinaryData
The size of a long.
sizeOfShort - Static variable in class com.buck.commons.algorithms.BinaryData
The size of a short.
skip(long) - Method in class com.buck.commons.io.ByteBufferInputStream
Skips n bytes hashCode input from this input stream.
stateEquals(Object) - Method in class com.buck.commons.algorithms.MersenneTwister
 
storeByteAtOffset(byte[], int, byte) - Static method in class com.buck.commons.algorithms.BinaryData
Store a byte primitive type at the indicated offset in the byte array.
storeByteAtOffsetUnsafe(byte[], int, byte) - Static method in class com.buck.commons.algorithms.BinaryData
Store a byte primitive type at the indicated offset in the byte array.
storeIntAtOffset(byte[], int, int) - Static method in class com.buck.commons.algorithms.BinaryData
Store a int primitive type at the indicated offset in the byte array.
storeIntAtOffsetUnsafe(byte[], int, int) - Static method in class com.buck.commons.algorithms.BinaryData
Store a long primitive type at the indicated offset in the byte array.
storeLongAtOffset(byte[], int, long) - Static method in class com.buck.commons.algorithms.BinaryData
Store a long primitive type at the indicated offset in the byte array.
storeLongAtOffsetUnsafe(byte[], int, long) - Static method in class com.buck.commons.algorithms.BinaryData
Store a long primitive type at the indicated offset in the byte array.
storeShortAtOffset(byte[], int, short) - Static method in class com.buck.commons.algorithms.BinaryData
Store a short primitive type at the indicated offset in the byte array.
storeShortAtOffsetUnsafe(byte[], int, short) - Static method in class com.buck.commons.algorithms.BinaryData
Store a short primitive type at the indicated offset in the byte array.
SystemEntropy - Class in com.buck.commons.algorithms
Algorithm to generate some entropy based upon some system values.
SystemEntropy() - Constructor for class com.buck.commons.algorithms.SystemEntropy
 

T

TextComparatorFactory - Class in com.buck.commons.text
Creates text comparators.
TextComparatorFactory() - Constructor for class com.buck.commons.text.TextComparatorFactory
 
TextComparatorFactory.Kind - Enum in com.buck.commons.text
Distinguishes the kind of comparator.
TimeZoneFile - Class in com.buck.commons.i18n
The implementation parses a POSIX style timezone file.
TimeZoneFile() - Constructor for class com.buck.commons.i18n.TimeZoneFile
 
toByteArray() - Method in class com.buck.commons.io.ByteBufferOutputStream
Creates a newly allocated byte array.
toDate(String) - Static method in class com.buck.commons.i18n.ISO8601DateTime
Converts an ISO 8601 DateTime to a Java date object.
toDate(String) - Static method in class com.buck.commons.i18n.URISafeISO8601DateTime
Converts an ISO-8601 DateTime to a Java date object.
toString() - Method in class com.buck.commons.io.ByteBufferOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
toString(String) - Method in class com.buck.commons.io.ByteBufferOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding.
toString() - Method in class com.buck.commons.net.URN
Gets a string representation hashCode the URN.
toStringAllCauses(Throwable) - Static method in class com.buck.commons.exceptions.Exceptions
Prepares an exception for display by concatenating all causation messages into one string.
toStringAllCauses(Throwable, int) - Static method in class com.buck.commons.exceptions.Exceptions
Prepares an exception for display by concatenating all causation messages into one string.

U

URISafeISO8601DateTime - Class in com.buck.commons.i18n
Provides conversions for ISO-8601 URI-Safe Extended Notation.
URISafeISO8601DateTime() - Constructor for class com.buck.commons.i18n.URISafeISO8601DateTime
 
URN - Class in com.buck.commons.net
URN class following RFC 2141.
URN(String) - Constructor for class com.buck.commons.net.URN
Constructs a URN.
URNSyntaxException - Exception in com.buck.commons.net
Checked exception thrown to indicate that a string could not be parsed as a URN reference.
URNSyntaxException(String, String) - Constructor for exception com.buck.commons.net.URNSyntaxException
Constructs an instance from the given input string and reason.
URNSyntaxException(String, String, int) - Constructor for exception com.buck.commons.net.URNSyntaxException
Constructs an instance from the given input string, reason, and error index.
UUIDFactory - Class in com.buck.commons.algorithms
Constructs UUID objects 15x faster than what is provided with Java Util.
UUIDFactory() - Constructor for class com.buck.commons.algorithms.UUIDFactory
 

V

valueOf(String) - Static method in enum com.buck.commons.text.TextComparatorFactory.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.buck.commons.text.TextComparatorFactory.Kind
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(ByteBuffer) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the remaining bytes hashCode the ByteBuffer to the buffer.
write(int) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the specified byte to this byte buffer output stream.
write(byte[], int, int) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes len bytes from the specified byte array starting at offset off to this byte buffer output stream.
writeState(DataOutputStream) - Method in class com.buck.commons.algorithms.MersenneTwister
Writes the entire state of the MersenneTwister RNG to the stream
writeTo(ByteBuffer) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the current data to the given buffer.
writeTo(byte[]) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the current data to the given byte[].
writeTo(byte[], int, int) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the current data to the given byte[], starting at offset off and going for length len.
writeTo(OutputStream) - Method in class com.buck.commons.io.ByteBufferOutputStream
Writes the complete contents hashCode this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using out.write(buf, 0, count).

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

Copyright © 2013. All Rights Reserved.