- abbreviate(String, int) - Static method in class org.kocakosm.pitaya.util.Strings
-
Abbreviates the given String using "..." so that the returned
String's length is equal to length.
- abbreviate(String, int, String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Abbreviates the given String using the specified ellipsis so
that the returned String's length is equal to length.
- absoluteValue() - Method in class org.kocakosm.pitaya.math.Fraction
-
Returns a Fraction which is the absolute value of this one.
- absoluteValue() - Method in class org.kocakosm.pitaya.time.Duration
-
Returns a copy of this duration with a positive length.
- AbstractBag<E> - Class in org.kocakosm.pitaya.collection
-
Abstract skeleton implementation of the
Bag interface.
- AbstractBag() - Constructor for class org.kocakosm.pitaya.collection.AbstractBag
-
- add(E) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- add(E) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- add(E) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- add(E) - Method in class org.kocakosm.pitaya.collection.HashBag
-
- add(E) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- add(E...) - Method in class org.kocakosm.pitaya.collection.ImmutableBag.Builder
-
Adds the given values to the Bag being built.
- add(Iterable<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag.Builder
-
Adds all the values contained in the given Iterable
to the Bag being built.
- add(Iterator<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag.Builder
-
Adds all the values contained in the given Iterator
to the Bag being built.
- add(E) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- add(int, E) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- add(E...) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Adds the given values to the List being built.
- add(Iterable<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Adds all the values contained in the given Iterable
to the List being built.
- add(Iterator<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Adds all the values contained in the given Iterator
to the List being built.
- add(E) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- add(E...) - Method in class org.kocakosm.pitaya.collection.ImmutableSet.Builder
-
Adds the given values to the Set being built.
- add(Iterable<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet.Builder
-
Adds all the values contained in the given Iterable
to the Set being built.
- add(Iterator<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet.Builder
-
Adds all the values contained in the given Iterator
to the Set being built.
- addAll(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- addAll(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- addAll(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- addAll(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- addAll(int, Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- addAll(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- addAllAbsent(Collection<? extends E>) - Method in interface org.kocakosm.pitaya.collection.ConcurrentBag
-
Adds all of the elements in the specified collection that are not
already contained in this bag.
- addAllAbsent(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- addAllAbsent(Collection<? extends E>) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- addIfAbsent(E) - Method in interface org.kocakosm.pitaya.collection.ConcurrentBag
-
Adds the given element to this bag if not already present.
- addIfAbsent(E) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- addIfAbsent(E) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- after(Date) - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the date obtained by adding this duration to the given date.
- Algorithm<T> - Class in org.kocakosm.pitaya.security
-
Algorithm identifier.
- and(Boolean...) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Performs a logical "and" on the given values, that is, this method
returns true if, and only if, all the given Boolean
values are true, and false in all other cases.
- ANY_APPLICATION_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
application/*
- ANY_AUDIO_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
audio/*
- ANY_IMAGE_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
image/*
- ANY_TEXT_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
text/*
- ANY_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
*/*
- ANY_VIDEO_TYPE - Static variable in class org.kocakosm.pitaya.net.MediaType
-
video/*
- append(char) - Method in class org.kocakosm.pitaya.io.CountingWriter
-
- append(CharSequence) - Method in class org.kocakosm.pitaya.io.CountingWriter
-
- append(CharSequence, int, int) - Method in class org.kocakosm.pitaya.io.CountingWriter
-
- append(char) - Method in class org.kocakosm.pitaya.io.NullWriter
-
- append(CharSequence) - Method in class org.kocakosm.pitaya.io.NullWriter
-
- append(CharSequence, int, int) - Method in class org.kocakosm.pitaya.io.NullWriter
-
- append(byte) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Writes the given byte to this buffer.
- append(byte...) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Writes the given bytes to this buffer.
- append(byte[], int, int) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Writes the given data to this buffer.
- append(String, Object) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, boolean) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, byte) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, int) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, long) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, float) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, double) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(String, char) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given name/value pair.
- append(Object) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(boolean) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(byte) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(int) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(long) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(float) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(double) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- append(char) - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
Appends the given unnamed value.
- ArrayBag<E> - Class in org.kocakosm.pitaya.collection
-
- ArrayBag() - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new empty ArrayBag.
- ArrayBag(int) - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new empty ArrayBag having the given initial capacity.
- ArrayBag(Collection<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new ArrayBag using the elements contained in the
given Collection.
- ArrayBag(Iterable<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new ArrayBag using the elements contained in the
given Iterable.
- ArrayBag(Iterator<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new ArrayBag using the elements contained in the
given Iterator.
- ArrayBag(E...) - Constructor for class org.kocakosm.pitaya.collection.ArrayBag
-
Creates a new ArrayBag using the elements contained in the
given array.
- ASCII - Class in org.kocakosm.pitaya.charset
-
Static utility methods that operate on or return ASCII chars and
Strings.
- available() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- canDecode(byte...) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given byte array represents valid ASCII encoded
characters.
- canDecode(byte[], int, int) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the specified range in the given byte array represents
valid ASCII encoded characters.
- canDecode(byte...) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns whether the given byte array represents valid UTF-8 encoded
characters.
- canDecode(byte[], int, int) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns whether the specified range in the given byte array represents
valid UTF-8 encoded characters.
- canEncode(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given String can be encoded into ASCII.
- canEncode(String, int, int) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the specified range in the given String can
be encoded into ASCII.
- canEncode(String) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns whether the given String can be encoded into UTF-8.
- canEncode(String, int, int) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns whether the specified range in the given String can
be encoded into UTF-8.
- CannotHappenException - Exception in org.kocakosm.pitaya.util
-
This exception is meant to be thrown in situations that cannot happen in
practice.
- CannotHappenException() - Constructor for exception org.kocakosm.pitaya.util.CannotHappenException
-
Creates a new CannotHappenException.
- CannotHappenException(String) - Constructor for exception org.kocakosm.pitaya.util.CannotHappenException
-
Creates a new CannotHappenException.
- CannotHappenException(Throwable) - Constructor for exception org.kocakosm.pitaya.util.CannotHappenException
-
Creates a new CannotHappenException.
- CannotHappenException(String, Throwable) - Constructor for exception org.kocakosm.pitaya.util.CannotHappenException
-
Creates a new CannotHappenException.
- capitalize(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns a String built from the given one by upper-casing its
first character (other characters are copied unchanged).
- ChainMap<K,V> - Class in org.kocakosm.pitaya.collection
-
A
ChainMap is a
Map implementation that groups multiple
Maps together.
- ChainMap(Map<K, V>...) - Constructor for class org.kocakosm.pitaya.collection.ChainMap
-
Creates a new ChainMap from the given Maps.
- ChainMap(Iterable<? extends Map<K, V>>) - Constructor for class org.kocakosm.pitaya.collection.ChainMap
-
Creates a new ChainMap from the given Maps.
- charset() - Method in class org.kocakosm.pitaya.net.MediaType
-
Returns the value of the charset parameter if it is specified, or
null otherwise.
- Charsets - Class in org.kocakosm.pitaya.charset
-
Charsets guaranteed to be supported by all Java platform implementations.
- CharStreams - Class in org.kocakosm.pitaya.io
-
Character streams utilities.
- checkCondition(boolean) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks the truth of the given condition checking parameters validity.
- checkCondition(boolean, String, Object...) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks the truth of the given condition checking parameters validity.
- checkNotNull(T) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks that the given reference is not null and returns it
in case of success.
- checkNotNull(T, String, Object...) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks that the given reference is not null and returns it
in case of success.
- checkType(Object, Class<T>) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks the type of the given reference and, in case of success, casts
and returns it.
- checkType(Object, Class<T>, String, Object...) - Static method in class org.kocakosm.pitaya.util.Parameters
-
Checks the type of the given reference and, in case of success, casts
and returns it.
- Classes - Class in org.kocakosm.pitaya.util
-
Utilities for Classes.
- clear() - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- clear() - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- clear() - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- clear() - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- clear() - Method in class org.kocakosm.pitaya.collection.HashBag
-
- clear() - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- clear() - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- clear() - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- clear() - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- clear() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Clears this buffer.
- close() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- close() - Method in class org.kocakosm.pitaya.io.CountingOutputStream
-
- close() - Method in class org.kocakosm.pitaya.io.CountingReader
-
- close() - Method in class org.kocakosm.pitaya.io.CountingWriter
-
- close(Closeable) - Static method in class org.kocakosm.pitaya.io.IO
-
Silently closes the given Closeable.
- close() - Method in class org.kocakosm.pitaya.io.NullOutputStream
-
- close() - Method in class org.kocakosm.pitaya.io.NullWriter
-
- close() - Method in class org.kocakosm.pitaya.io.RandomReader
-
- close() - Method in class org.kocakosm.pitaya.io.StringReader
-
- Comparators - Class in org.kocakosm.pitaya.util
-
- compareTo(Fraction) - Method in class org.kocakosm.pitaya.math.Fraction
-
- compareTo(Duration) - Method in class org.kocakosm.pitaya.time.Duration
-
- compose(Comparator<? super T>...) - Static method in class org.kocakosm.pitaya.util.Comparators
-
Returns a Comparator that will call each Comparator
in the given array until one of them returns a non-zero result (will
return 0 if they all return 0).
- compose(Iterable<? extends Comparator<? super T>>) - Static method in class org.kocakosm.pitaya.util.Comparators
-
Returns a Comparator that will call each Comparator
in the given Iterable until one of them returns a non-zero
result (will return 0 if they all return 0).
- concat(Iterable<? extends T>...) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Concatenates the given Iterables into a single one.
- concat(Iterable<? extends Iterable<? extends T>>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Concatenates the given Iterables into a single one.
- concat(Iterator<? extends E>...) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Concatenates all the given Iterators into a single one.
- concat(Iterator<? extends Iterator<? extends E>>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Concatenates all the given Iterators into a single one.
- concat(InputStream...) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Concatenates the given InputStreams into a single one.
- concat(Iterable<? extends InputStream>) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Concatenates the given InputStreams into a single one.
- concat(Reader...) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Concatenates the given Readers into a single one.
- concat(Iterable<? extends Reader>) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Concatenates the given Readers into a single one.
- concat(String...) - Static method in class org.kocakosm.pitaya.util.Strings
-
Concatenates the given Strings.
- concat(long[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(int[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(short[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(char[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(byte[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(boolean[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(float[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(double[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- concat(T[]...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Concatenates the given arrays into a single one.
- ConcurrentBag<E> - Interface in org.kocakosm.pitaya.collection
-
A
Bag providing thread safety and atomicity guarantees.
- ConcurrentHashBag<E> - Class in org.kocakosm.pitaya.collection
-
- ConcurrentHashBag() - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new empty ConcurrentHashBag.
- ConcurrentHashBag(int) - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new empty ConcurrentHashBag having the given
initial capacity.
- ConcurrentHashBag(Collection<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new ConcurrentHashBag using the elements contained
in the given Collection.
- ConcurrentHashBag(Iterable<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new ConcurrentHashBag using the elements contained
in the given Iterable.
- ConcurrentHashBag(Iterator<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new ConcurrentHashBag using the elements contained
in the given Iterator.
- ConcurrentHashBag(E...) - Constructor for class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
Creates a new ConcurrentHashBag using the elements contained
in the given array.
- contains(Object) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.HashBag
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- contains(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- containsAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- containsAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- containsAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- containsAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- containsAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- containsKey(Object) - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- containsKey(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- containsValue(Object) - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- containsValue(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- copy(InputStream, OutputStream) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Copies the content of the given InputStream into the given
OutputStream.
- copy(Reader, Writer) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Copies the content of the given Reader into the given
Writer.
- copy(InputStream, Writer) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Copies the content of the given InputStream into the given
Writer using the system's default charset.
- copy(InputStream, Writer, Charset) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Copies the content of the given InputStream into the given
Writer using the specified charset.
- copy(Reader, OutputStream) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Copies the content of the given Reader into the given
OutputStream using the system's default charset.
- copy(Reader, OutputStream, Charset) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Copies the content of the given Reader into the given
OutputStream using the specified charset.
- copy(Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns a copy of the given Date.
- copyOf(Collection<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableBag
-
Creates a new ImmutableBag from the given Collection.
- copyOf(Iterable<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableBag
-
Creates a new ImmutableBag from the given Iterable.
- copyOf(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableBag
-
Creates a new ImmutableBag from the given Iterator.
- copyOf(E[]) - Static method in class org.kocakosm.pitaya.collection.ImmutableBag
-
Creates a new ImmutableBag containing the given elements.
- copyOf(Collection<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableList
-
Creates a new ImmutableList from the given Collection.
- copyOf(Iterable<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableList
-
Creates a new ImmutableList from the given Iterable.
- copyOf(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableList
-
Creates a new ImmutableList from the given Iterator.
- copyOf(E[]) - Static method in class org.kocakosm.pitaya.collection.ImmutableList
-
Creates a new ImmutableList containing the given elements.
- copyOf(Map<? extends K, ? extends V>) - Static method in class org.kocakosm.pitaya.collection.ImmutableMap
-
Creates a new ImmutableSet from the given Iterable.
- copyOf(Collection<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableSet
-
Creates a new ImmutableSet from the given Collection.
- copyOf(Iterable<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableSet
-
Creates a new ImmutableSet from the given Iterable.
- copyOf(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.ImmutableSet
-
Creates a new ImmutableSet from the given Iterator.
- copyOf(E[]) - Static method in class org.kocakosm.pitaya.collection.ImmutableSet
-
Creates a new ImmutableSet containing the given elements.
- copyOf(long[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(int[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(short[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(char[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(byte[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(boolean[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(float[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(double[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(T[], int, int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Copies the specified range of elements from the given array into a
new array.
- copyOf(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- copyOf(T[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array.
- CopyOnWriteArrayBag<E> - Class in org.kocakosm.pitaya.collection
-
- CopyOnWriteArrayBag() - Constructor for class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
Creates a new empty CopyOnWriteArrayBag.
- CopyOnWriteArrayBag(Collection<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
Creates a new CopyOnWriteArrayBag using the elements
contained in the given Collection.
- CopyOnWriteArrayBag(Iterable<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
Creates a new CopyOnWriteArrayBag using the elements
contained in the given Iterable.
- CopyOnWriteArrayBag(Iterator<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
Creates a new CopyOnWriteArrayBag using the elements
contained in the given Iterator.
- CopyOnWriteArrayBag(E...) - Constructor for class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
Creates a new CopyOnWriteArrayBag using the elements
contained in the given array.
- copyTo(OutputStream) - Method in class org.kocakosm.pitaya.io.Resource
-
Copies the content of this resource to the specified stream.
- copyTo(Writer, Charset) - Method in class org.kocakosm.pitaya.io.Resource
-
Copies the content of this resource to the specified stream.
- count(E) - Method in class org.kocakosm.pitaya.collection.AbstractBag
-
- count(E) - Method in interface org.kocakosm.pitaya.collection.Bag
-
Returns the count of the given element in this bag.
- count(E) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- count(E) - Method in class org.kocakosm.pitaya.collection.HashBag
-
- count(E) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- CountingInputStream - Class in org.kocakosm.pitaya.io
-
A decorating InputStream that counts the number of bytes that have
been read from the underlying stream.
- CountingInputStream(InputStream) - Constructor for class org.kocakosm.pitaya.io.CountingInputStream
-
Creates a new CountingInputStream.
- CountingOutputStream - Class in org.kocakosm.pitaya.io
-
A decorating OutputStream that counts the number of bytes that have
been written to its underlying stream.
- CountingOutputStream(OutputStream) - Constructor for class org.kocakosm.pitaya.io.CountingOutputStream
-
Creates a new CountingOutputStream.
- CountingReader - Class in org.kocakosm.pitaya.io
-
A decorating Reader that counts the number of characters that have
been read from its underlying Reader.
- CountingReader(Reader) - Constructor for class org.kocakosm.pitaya.io.CountingReader
-
Creates a new CountingReader.
- CountingWriter - Class in org.kocakosm.pitaya.io
-
A decorating
Writer that counts the number of characters that have
been written to its underlying
Writer.
- CountingWriter(Writer) - Constructor for class org.kocakosm.pitaya.io.CountingWriter
-
Creates a new CountingWriter.
- countOccurrences(String, String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Counts the occurrences of the substring sub in str.
- cp(File, File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Copies the contents of src to dst.
- cp(File, OutputStream) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Copies the contents of the given input File to the given
OutputStream.
- cp(InputStream, File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Copies the contents of the given InputStream to the given
output File.
- create(String, String) - Static method in class org.kocakosm.pitaya.net.MediaType
-
Creates a new MediaType with the given type and subtype.
- create(String) - Static method in class org.kocakosm.pitaya.net.URLs
-
Creates a new URL by parsing the given String.
- create(String) - Static method in class org.kocakosm.pitaya.net.URN
-
Creates a new URN by parsing the given String.
- CSS - Static variable in class org.kocakosm.pitaya.net.MediaType
-
text/css
- cycle(Iterable<? extends T>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns a cyclic Iterable that cycles indefinitely over the
given Iterable's elements.
- cycle(T...) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns an Iterable that cycles indefinitely over the given
elements.
- cycle(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns an Iterator that cycles indefinitely over the content
of the given source Iterator.
- cycle(E...) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns an Iterator that cycles indefinitely over the given
elements.
- Dates - Class in org.kocakosm.pitaya.time
-
- decode(byte...) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Decodes the given ASCII encoded characters.
- decode(byte[], int, int) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Decodes len ASCII encoded bytes from the given input buffer,
starting at off.
- decode(byte...) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Decodes the given UTF-8 encoded characters.
- decode(byte[], int, int) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Decodes len UTF-8 encoded bytes from the given input buffer,
starting at off.
- decode(byte[]) - Static method in class org.kocakosm.pitaya.io.ObjectCodec
-
Deserializes the given array of bytes into an object.
- decode(byte[], Class<T>) - Static method in class org.kocakosm.pitaya.io.ObjectCodec
-
Deserializes the given array of bytes into an object.
- decode(String) - Method in class org.kocakosm.pitaya.util.BaseEncoding
-
Decodes the given encoded String according to this
BaseEncoding's configuration.
- decode(String, int, int) - Method in class org.kocakosm.pitaya.util.BaseEncoding
-
Decodes the specified range from the given encoded String
according to this BaseEncoding's configuration.
- decodeInt(byte[]) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Decodes the first 4 bytes of the given array into an int
value using big-endian byte ordering convention.
- decodeInt(byte[], int) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Decodes the first 4 bytes starting at off of the given array
into an int value using big-endian byte ordering convention.
- decodeInt(byte[]) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Decodes the first 4 bytes of the given array into an int
value using little-endian byte ordering convention.
- decodeInt(byte[], int) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Decodes the first 4 bytes starting at off of the given array
into an int value using little-endian byte ordering
convention.
- decodeLong(byte[]) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Decodes the first 8 bytes of the given array into a long
value using big-endian byte ordering convention.
- decodeLong(byte[], int) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Decodes the first 8 bytes starting at off of the given array
into a long value using big-endian byte ordering convention.
- decodeLong(byte[]) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Decodes the first 8 bytes of the given array into a long
value using little-endian byte ordering convention.
- decodeLong(byte[], int) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Decodes the first 8 bytes starting at off of the given array
into a long value using little-endian byte ordering
convention.
- DEFAULT - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
Default charset of this Java virtual machine.
- denominator() - Method in class org.kocakosm.pitaya.math.Fraction
-
Returns this Fraction's denominator.
- deriveKey(byte[], byte[]) - Method in interface org.kocakosm.pitaya.security.KDF
-
Derives a key from the given secret and salt.
- Digest - Interface in org.kocakosm.pitaya.security
-
A digest engine.
- digest() - Method in interface org.kocakosm.pitaya.security.Digest
-
Completes the hash computation.
- digest(byte...) - Method in interface org.kocakosm.pitaya.security.Digest
-
Performs a final update on the digest using the specified array of
bytes, then completes the digest computation.
- digest(byte[], int, int) - Method in interface org.kocakosm.pitaya.security.Digest
-
Performs a final update on the digest using the specified data bytes,
then completes the digest computation.
- digest() - Method in interface org.kocakosm.pitaya.security.MAC
-
Completes the MAC computation.
- digest(byte...) - Method in interface org.kocakosm.pitaya.security.MAC
-
Performs a final update on the MAC using the specified array of
bytes, then completes the MAC computation.
- digest(byte[], int, int) - Method in interface org.kocakosm.pitaya.security.MAC
-
Performs a final update on the MAC using the specified data bytes,
then completes the MAC computation.
- Digests - Class in org.kocakosm.pitaya.security
-
Somme commonly used digest algorithms.
- distance(String, String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Computes and returns the Damerau-Levenshtein distance between the
given Strings.
- dividedBy(Fraction) - Method in class org.kocakosm.pitaya.math.Fraction
-
Divides this value by the given one and returns the result in reduced
form.
- dividedBy(int) - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the result of dividing this duration by the given divisor.
- doubleValue() - Method in class org.kocakosm.pitaya.math.Fraction
-
- Duration - Class in org.kocakosm.pitaya.time
-
A duration.
- elapsedTime() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
Returns the current elapsed time, expressed in milliseconds.
- EMPTY_BAG - Static variable in class org.kocakosm.pitaya.collection.Bags
-
The empty Bag.
- EMPTY_ITERABLE - Static variable in class org.kocakosm.pitaya.collection.Iterables
-
The empty Iterable.
- EMPTY_ITERATOR - Static variable in class org.kocakosm.pitaya.collection.Iterators
-
The empty Iterator.
- emptyBag() - Static method in class org.kocakosm.pitaya.collection.Bags
-
Returns the empty Bag for a particular type (type-safe).
- emptyIterable() - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns the empty Iterable for a particular type (type-safe).
- emptyIterator() - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns the empty Iterator for a particular type (type-safe).
- emptyToNull(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns null if the given String is empty, returns
the (unmodified) parameter otherwise.
- encode(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns the ASCII encoding of the given String.
- encode(String, int, int) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns the ASCII encoding of the specified character sequence.
- encode(String) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns the UTF-8 encoding of the given String.
- encode(String, int, int) - Static method in class org.kocakosm.pitaya.charset.UTF8
-
Returns the UTF-8 encoding of the specified character sequence.
- encode(Serializable) - Static method in class org.kocakosm.pitaya.io.ObjectCodec
-
Serializes the given Serializable object into an array of
bytes.
- encode(byte...) - Method in class org.kocakosm.pitaya.util.BaseEncoding
-
Encodes the given data bytes according to this BaseEncoding's
configuration.
- encode(byte[], int, int) - Method in class org.kocakosm.pitaya.util.BaseEncoding
-
Encodes the given data bytes according to this BaseEncoding's
configuration.
- encode(int) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Encodes the given int value using big-endian byte ordering
convention.
- encode(int, byte[], int) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Encodes the given int value using big-endian byte ordering
convention into the given array, starting at the given offset.
- encode(long) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Encodes the given long value using big-endian byte ordering
convention.
- encode(long, byte[], int) - Static method in class org.kocakosm.pitaya.util.BigEndian
-
Encodes the given long value using big-endian byte ordering
convention into the given array, starting at the given offset.
- encode(int) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Encodes the given int value using little-endian byte ordering
convention.
- encode(int, byte[], int) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Encodes the given int value using little-endian byte ordering
convention into the given array, starting at the given offset.
- encode(long) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Encodes the given long value using little-endian byte
ordering convention.
- encode(long, byte[], int) - Static method in class org.kocakosm.pitaya.util.LittleEndian
-
Encodes the given long value using little-endian byte
ordering convention into the given array, starting at the given
offset.
- entrySet() - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- entrySet() - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- equal(Iterable<?>, Iterable<?>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns whether the given Iterables contain equal elements in
the same order.
- equal(Iterator<?>, Iterator<?>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns whether the given Iterators contain equal elements in
the same order.
- equal(InputStream, InputStream) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Returns whether the given streams have the same content.
- equal(Reader, Reader) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Returns whether the given streams have the same content.
- equal(File, File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Returns whether the given Files have the same content.
- equal(Object, Object) - Static method in class org.kocakosm.pitaya.util.XObjects
-
Returns true if the given objects are both null or if
they are equal, false in all other cases.
- equals(Object) - Method in class org.kocakosm.pitaya.collection.AbstractBag
-
- equals(Object) - Method in class org.kocakosm.pitaya.io.Resource
-
- equals(Object) - Method in class org.kocakosm.pitaya.math.Fraction
-
- equals(Object) - Method in class org.kocakosm.pitaya.net.MediaType
-
- equals(Object) - Method in class org.kocakosm.pitaya.net.URN
-
- equals(Object) - Method in class org.kocakosm.pitaya.time.Duration
-
- equals(Object) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
- gcd(long, long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the greatest common divisor of the absolute value of the
given two numbers.
- gcd(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the greatest common divisor of the absolute value of the
given two numbers.
- generate() - Static method in class org.kocakosm.pitaya.security.Passwords
-
Generates a pseudo-random password (10 alphanumeric characters).
- get(Object) - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- get(int) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- get(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- getBaseName(File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Returns the file name without its path or extension.
- getCauseChain(Throwable) - Static method in class org.kocakosm.pitaya.util.Throwables
-
Returns the chain of Throwables that caused the given one.
- getCommonSuperTypes(Class<?>...) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns the Set of common super types of the given classes,
that is, all the classes in which any instance of the given classes
can be cast into.
- getCommonSuperTypes(Iterable<Class<?>>) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns the Set of common super types of the given classes,
that is, all the classes in which any instance of the given classes
can be cast into.
- getCount() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
Returns the number of bytes that have been read from the underlying
stream so far.
- getCount() - Method in class org.kocakosm.pitaya.io.CountingOutputStream
-
Returns the number of bytes that have been written to the underlying
stream so far.
- getCount() - Method in class org.kocakosm.pitaya.io.CountingReader
-
Returns the number of characters that have been read from the
underlying stream so far.
- getCount() - Method in class org.kocakosm.pitaya.io.CountingWriter
-
Returns the number of characters that have been written to the
underlying stream so far.
- getExtension(File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Returns the extension of the given file, or the empty String
if the file has no extension.
- getPackageName(Class<?>) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns the name of the package of the given class or the empty
String if the class is defined in the default package.
- getQualifiedName(Class<?>) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns the qualified name of the given class (package name followed
by a dot, followed by the class name).
- getRootCause(Throwable) - Static method in class org.kocakosm.pitaya.util.Throwables
-
Returns the root cause of the given Throwable.
- getShortName(Class<?>) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns only the name of the given class, that is, without its
package name and without its eventual "outer" class name.
- getStackFrames(Throwable) - Static method in class org.kocakosm.pitaya.util.Throwables
-
Returns the stack frames of the given Throwable.
- getStackTrace(Throwable) - Static method in class org.kocakosm.pitaya.util.Throwables
-
Returns the stack trace of the given Throwable as a
String.
- getSuperTypes(Class<?>) - Static method in class org.kocakosm.pitaya.util.Classes
-
Returns all the super types of the given class, that is, all the
classes in which any instance of the given class can be cast into.
- getURL() - Method in class org.kocakosm.pitaya.io.Resource
-
Returns this resource's URL.
- GIF - Static variable in class org.kocakosm.pitaya.net.MediaType
-
image/gif
- hash(String) - Static method in class org.kocakosm.pitaya.security.Passwords
-
Hashes the given password (using
SCrypt).
- HashBag<E> - Class in org.kocakosm.pitaya.collection
-
- HashBag() - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new empty HashBag.
- HashBag(int) - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new empty HashBag having the given initial capacity.
- HashBag(Collection<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new HashBag using the elements contained in the
given Collection.
- HashBag(Iterable<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new HashBag using the elements contained in the
given Iterable.
- HashBag(Iterator<? extends E>) - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new HashBag using the elements contained in the
given Iterator.
- HashBag(E...) - Constructor for class org.kocakosm.pitaya.collection.HashBag
-
Creates a new HashBag using the elements contained in the
given array.
- hashCode() - Method in class org.kocakosm.pitaya.collection.AbstractBag
-
- hashCode() - Method in class org.kocakosm.pitaya.io.Resource
-
- hashCode() - Method in class org.kocakosm.pitaya.math.Fraction
-
- hashCode() - Method in class org.kocakosm.pitaya.net.MediaType
-
- hashCode() - Method in class org.kocakosm.pitaya.net.URN
-
- hashCode() - Method in class org.kocakosm.pitaya.time.Duration
-
- hashCode() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
- hashCode(Object...) - Static method in class org.kocakosm.pitaya.util.XObjects
-
Returns a hash code for the given Objects.
- hasWildcard() - Method in class org.kocakosm.pitaya.net.MediaType
-
Returns whether the type or the subtype of this media type is the
wildcard.
- head(File) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the first (up to 10) lines of the given File using
the system's default charset.
- head(File, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the first (up to 10) lines of the given File using
the specified charset.
- head(File, int) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the first (up to n) lines of the given File
using the system's default charset.
- head(File, int, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the first (up to n) lines of the given File
using the specified charset.
- head(File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Reads the first (up to 512) bytes of the given File.
- head(File, int) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Reads the first (up to n) bytes of the given File.
- hkdf(Algorithm<MAC>, byte[], int) - Static method in class org.kocakosm.pitaya.security.KDFs
-
Creates and returns a new immutable KDF instance implementing
the HKDF algorithm (RFC 5869).
- HMAC - Class in org.kocakosm.pitaya.security
-
Somme commonly used HMAC (Hash-based Message Authentication Code) engines.
- HMAC_KECCAK224 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-Keccak-224 MAC algorithm.
- HMAC_KECCAK256 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-Keccak-256 MAC algorithm.
- HMAC_KECCAK384 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-Keccak-384 MAC algorithm.
- HMAC_KECCAK512 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-Keccak-512 MAC algorithm.
- HMAC_MD2 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-MD2 MAC algorithm.
- HMAC_MD4 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-MD4 MAC algorithm.
- HMAC_MD5 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-MD5 MAC algorithm.
- HMAC_SHA1 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-SHA1 MAC algorithm.
- HMAC_SHA256 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-SHA-256 MAC algorithm.
- HMAC_SHA512 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The HMAC-SHA-512 MAC algorithm.
- HTML - Static variable in class org.kocakosm.pitaya.net.MediaType
-
text/html
- ignoreEmptyStrings() - Method in class org.kocakosm.pitaya.util.Joiner
-
Returns a new Joiner that will behave as this one except that
it will ignore empty input Strings.
- ignoreEmptyStrings() - Method in class org.kocakosm.pitaya.util.Splitter
-
Returns a new Splitter that will behave as this one except
that it will ignore empty results.
- ignoreNulls() - Method in class org.kocakosm.pitaya.util.Joiner
-
Returns a new Joiner that will behave as this one except that
it will ignore null input values.
- ignorePrefix(String) - Method in class org.kocakosm.pitaya.util.Splitter
-
Returns a new Splitter that will behave as this one except
that it will ignore the given prefix.
- ignoreSuffix(String) - Method in class org.kocakosm.pitaya.util.Splitter
-
Returns a new Splitter that will behave as this one except
that it will ignore the given suffix.
- ignoreUnknownCharacters() - Method in class org.kocakosm.pitaya.util.BaseEncoding
-
Returns a BaseEncoding that behaves as this one except that
it ignores any unknown character when decoding encoded data.
- ImmutableBag<E> - Class in org.kocakosm.pitaya.collection
-
Immutable
Bag implementation.
- ImmutableBag.Builder<E> - Class in org.kocakosm.pitaya.collection
-
ImmutableBag builder.
- ImmutableBag.Builder() - Constructor for class org.kocakosm.pitaya.collection.ImmutableBag.Builder
-
- ImmutableList<E> - Class in org.kocakosm.pitaya.collection
-
Immutable random access
List implementation.
- ImmutableList.Builder<E> - Class in org.kocakosm.pitaya.collection
-
ImmutableList builder.
- ImmutableList.Builder() - Constructor for class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
- ImmutableMap<K,V> - Class in org.kocakosm.pitaya.collection
-
- ImmutableMap.Builder<K,V> - Class in org.kocakosm.pitaya.collection
-
ImmutableMap builder.
- ImmutableMap.Builder() - Constructor for class org.kocakosm.pitaya.collection.ImmutableMap.Builder
-
- ImmutableSet<E> - Class in org.kocakosm.pitaya.collection
-
- ImmutableSet.Builder<E> - Class in org.kocakosm.pitaya.collection
-
ImmutableSet builder.
- ImmutableSet.Builder() - Constructor for class org.kocakosm.pitaya.collection.ImmutableSet.Builder
-
- indexOf(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- intValue() - Method in class org.kocakosm.pitaya.math.Fraction
-
- inverted() - Method in class org.kocakosm.pitaya.math.Fraction
-
Returns the inverse of this Fraction.
- IO - Class in org.kocakosm.pitaya.io
-
Common I/O utilities.
- is(MediaType) - Method in class org.kocakosm.pitaya.net.MediaType
-
Returns whether this media type is within the specified media range.
- isAlphabetic(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given String is an alphabetic sequence,
that is, a sequence which only contains letters.
- isAlphaNumeric(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given String is an alphanumeric sequence,
that is, a sequence which only contains letters and digits.
- isBlank(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns whether the given String only contains space, '\n',
'\r' or '\t' characters.
- isDigit(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given character represents a digit.
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- isEmpty() - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- isFalse(Boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns true if and only if the given Boolean object
is false.
- isFinite(float) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns whether the given value is a "real" value.
- isFinite(double) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns whether the given value is a "real" value.
- isLetter(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given character is a letter.
- isLowerCase(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given character is one of the lowercase ASCII
characters between 'a' and 'z' (inclusive).
- isNotFalse(Boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns true if and only if the given Boolean object
is not false.
- isNotTrue(Boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns true if and only if the given Boolean object
is not true.
- isNullOrBlank(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns whether the given String is null or only
contains space, '\n', '\r' or '\t' characters.
- isNullOrEmpty(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns whether the given String is null or empty.
- isNullOrEmpty(long[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(int[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(short[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(char[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(byte[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(boolean[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(float[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(double[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrEmpty(Object[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns whether the given array is null or empty,
that is, returns true if a is null or empty
and false otherwise.
- isNullOrWhiteSpace(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns whether the given String is null or only
contains space characters.
- isNumeric(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given String is a numeric sequence, that
is, a sequence which only contains digits.
- ISO_8859_1 - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
ISO Latin Alphabet 1 (ISO-LATIN-1).
- isPrintable(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given character is one of the 95 printable ASCII
characters.
- isRunning() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
- isSameDay(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same day.
- isSameDay(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same day.
- isSameInstant(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same instant.
- isSameInstant(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same instant.
- isSameLocalTime(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same local time.
- isSameLocalTime(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same local time.
- isSameMonth(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same month.
- isSameMonth(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same month.
- isSameWeek(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same week.
- isSameWeek(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same week.
- isSameYear(Date, Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Dates represent the same year.
- isSameYear(Calendar, Calendar) - Static method in class org.kocakosm.pitaya.time.Dates
-
Returns whether the given Calendars represent the same year.
- isTrue(Boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns true if and only if the given Boolean object
is true.
- isUpperCase(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns whether the given character is one of the uppercase ASCII
characters between 'A' and 'Z' (inclusive).
- isWhiteSpace(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns whether the given String only contains space
characters.
- Iterables - Class in org.kocakosm.pitaya.collection
-
Static utility methods that operate on or return
Iterables.
- iterator() - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- iterator() - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- iterator() - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- iterator() - Method in class org.kocakosm.pitaya.collection.HashBag
-
- iterator() - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- iterator() - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- iterator() - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- iterator() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
- Iterators - Class in org.kocakosm.pitaya.collection
-
Static utility methods that operate on or return
Iterators.
- MAC - Interface in org.kocakosm.pitaya.security
-
MAC (Message Authentication Code) engine.
- mark(int) - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- mark(int) - Method in class org.kocakosm.pitaya.io.CountingReader
-
- mark(int) - Method in class org.kocakosm.pitaya.io.StringReader
-
Marks the current position in the stream.
- markSupported() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- markSupported() - Method in class org.kocakosm.pitaya.io.CountingReader
-
- markSupported() - Method in class org.kocakosm.pitaya.io.StringReader
-
- max(long...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the maximum of the given values.
- max(int...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the maximum of the given values.
- max(float...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
- max(double...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
- MD2 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The MD2 digest algorithm.
- md2() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new MD2 Digest instance.
- md2(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new MD2 HMAC engine.
- MD4 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The MD4 digest algorithm.
- md4() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new MD4 Digest instance.
- md4(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new MD4 HMAC engine.
- MD5 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The MD5 digest algorithm.
- md5() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new MD5 Digest instance.
- md5(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new MD5 HMAC engine.
- mean(int...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the arithmetic mean of the given values.
- mean(long...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the arithmetic mean of the given values.
- mean(double...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the arithmetic mean of the given values.
- mean(float...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the arithmetic mean of the given values.
- MediaType - Class in org.kocakosm.pitaya.net
-
Represents an Internet Media Type.
- min(long...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the minimum of the given values.
- min(int...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the minimum of the given values.
- min(float...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
- min(double...) - Static method in class org.kocakosm.pitaya.math.Numbers
-
- minus(Fraction) - Method in class org.kocakosm.pitaya.math.Fraction
-
Subtracts the given value from this one and returns the result in
reduced form.
- minus(Duration) - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the result of subtracting the given duration from this one.
- mkdir(File...) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Creates the directories specified by the given paths.
- multipliedBy(Fraction) - Method in class org.kocakosm.pitaya.math.Fraction
-
Multiplies this value by the given one and returns the result in
reduced form.
- multipliedBy(int) - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the result of multiplying this duration by the given factor.
- mv(File, File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Moves a file from one path to another.
- random(int, char...) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns a pseudo-random String of the specified size using
characters from the given array.
- random(int, Random, char...) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns a random String using the given characters and the
specified source of randomness.
- RandomInputStream - Class in org.kocakosm.pitaya.io
-
InputStream that reads data from a (pseudo) random number generator.
- RandomInputStream() - Constructor for class org.kocakosm.pitaya.io.RandomInputStream
-
Creates a new RandomInputStream.
- RandomInputStream(Random) - Constructor for class org.kocakosm.pitaya.io.RandomInputStream
-
Creates a new RandomInputStream.
- RandomReader - Class in org.kocakosm.pitaya.io
-
Reader that (pseudo) randomly returns characters from a specified
alphabet.
- RandomReader(char...) - Constructor for class org.kocakosm.pitaya.io.RandomReader
-
Creates a new RandomReader.
- RandomReader(Random, char...) - Constructor for class org.kocakosm.pitaya.io.RandomReader
-
Creates a new RandomReader.
- read(InputStream) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Reads the content of the given InputStream.
- read(Reader) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads the whole content of the given Reader into a
String.
- read(InputStream) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads the whole content of the given InputStream into a
String using the system's default charset.
- read(InputStream, Charset) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads the whole content of the given InputStream into a
String using the specified charset.
- read() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- read(byte[]) - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- read(byte[], int, int) - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- read() - Method in class org.kocakosm.pitaya.io.CountingReader
-
- read(char[]) - Method in class org.kocakosm.pitaya.io.CountingReader
-
- read(char[], int, int) - Method in class org.kocakosm.pitaya.io.CountingReader
-
- read() - Method in class org.kocakosm.pitaya.io.RandomInputStream
-
- read(byte[]) - Method in class org.kocakosm.pitaya.io.RandomInputStream
-
- read(byte[], int, int) - Method in class org.kocakosm.pitaya.io.RandomInputStream
-
- read() - Method in class org.kocakosm.pitaya.io.RandomReader
-
- read(char[]) - Method in class org.kocakosm.pitaya.io.RandomReader
-
- read(char[], int, int) - Method in class org.kocakosm.pitaya.io.RandomReader
-
- read() - Method in class org.kocakosm.pitaya.io.Resource
-
Reads and returns this resource's content as a byte[].
- read(Charset) - Method in class org.kocakosm.pitaya.io.Resource
-
Reads and returns this resource's content as a String.
- read() - Method in class org.kocakosm.pitaya.io.StringReader
-
- read(char[]) - Method in class org.kocakosm.pitaya.io.StringReader
-
- read(char[], int, int) - Method in class org.kocakosm.pitaya.io.StringReader
-
- read(File) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Reads the whole content of the given File as a String
using the system's default charset.
- read(File, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Reads the whole content of the given File as a String
using the specified charset.
- read(File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Reads the content of the given File.
- readBigDecimal() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
BigDecimal value.
- readBigInteger() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
BigInteger value.
- readBigInteger(int) - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
BigInteger value with the specified radix.
- readBoolean() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
boolean value.
- readDouble() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
double value.
- readInt() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into an
int value.
- readInt(int) - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into an
int value with the specified radix.
- readLines(Reader) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads all the lines from the given source Reader.
- readLines(InputStream) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads all the lines from the given source InputStream using
the system's default charset.
- readLines(InputStream, Charset) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Reads all the lines from the given source InputStream using
the specified charset.
- readLines(Charset) - Method in class org.kocakosm.pitaya.io.Resource
-
Reads and returns all this resource's lines.
- readLines(File) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Reads all the lines from the given File using the system's
default charset.
- readLines(File, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Reads all the lines from the given File using the specified
charset.
- readLong() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
long value.
- readLong(int) - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input and parses it into a
long value with the specified radix.
- readString() - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input using the system's
default charset.
- readString(Charset) - Static method in class org.kocakosm.pitaya.io.Scanf
-
Reads the next line from the standard input using the given charset.
- ready() - Method in class org.kocakosm.pitaya.io.CountingReader
-
- ready() - Method in class org.kocakosm.pitaya.io.StringReader
-
- reduced() - Method in class org.kocakosm.pitaya.math.Fraction
-
Returns the reduced form of this Fraction.
- relativize(URL, URL) - Static method in class org.kocakosm.pitaya.net.URLs
-
Relativizes the specified full URL against the given base.
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.HashBag
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- remove(int) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- remove(Object) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.HashBag
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- removeAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- repeat(String, int) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns the String obtained by repeating count times
the given String.
- replaceEmptyStringWith(String) - Method in class org.kocakosm.pitaya.util.Joiner
-
Returns a new Joiner that will behave as this one except that
it will replace empty input Strings with the specified value.
- replaceEmptyStringWith(String) - Method in class org.kocakosm.pitaya.util.Splitter
-
Returns a new Splitter that will behave as this one except
that it will replace empty results by the specified String.
- replaceNullWith(String) - Method in class org.kocakosm.pitaya.util.Joiner
-
Returns a new Joiner that will behave as this one except that
it will replace null input values with the specified
String.
- reset() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- reset() - Method in class org.kocakosm.pitaya.io.CountingReader
-
- reset() - Method in class org.kocakosm.pitaya.io.StringReader
-
Resets the stream to the most recent mark, or to the beginning of the
stream if it has never been marked.
- reset() - Method in interface org.kocakosm.pitaya.security.Digest
-
Resets the engine.
- reset() - Method in interface org.kocakosm.pitaya.security.MAC
-
Resets the engine.
- reset() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
Resets this stopwatch (sets the elapsed time for this stopwatch to
zero).
- resetCount() - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
Sets the counter to 0 and returns its value before resetting it.
- resetCount() - Method in class org.kocakosm.pitaya.io.CountingOutputStream
-
Sets the counter to 0 and returns its value before resetting it.
- resetCount() - Method in class org.kocakosm.pitaya.io.CountingReader
-
Sets the counter to 0 and returns its value before resetting it.
- resetCount() - Method in class org.kocakosm.pitaya.io.CountingWriter
-
Sets the counter to 0 and returns its value before resetting it.
- resolve(URL, String) - Static method in class org.kocakosm.pitaya.net.URLs
-
Resolves the specified path against the given base URL.
- Resource - Class in org.kocakosm.pitaya.io
-
A classpath resource.
- Resource.NotFoundException - Exception in org.kocakosm.pitaya.io
-
Thrown to indicate that a resource can't be found.
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- retainAll(Collection<?>) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- reverse() - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Reverses the order of the elements currently in the
List being built.
- reverse(Comparator<T>) - Static method in class org.kocakosm.pitaya.util.Comparators
-
Returns a Comparator that represents the reverse ordering of
the given one.
- reverse(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Reverses the given String.
- reverse(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- reverse(T[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but in reverse order.
- rm(File...) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Deletes the given Files.
- rotate(int) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Rotates the elements currently in the List being
built by the specified distance.
- rotate(long[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(int[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(short[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(char[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(byte[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(boolean[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(float[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(double[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- rotate(T[], int) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a new array containing the same elements as the given one,
but rotated by the given distance.
- safeAbs(long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the absolute value of the given value, provided the result
fits into a long.
- safeAbs(int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the absolute value of the given value, provided the result
fits into an int.
- safeAdd(long, long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the sum of a and b, provided the result fits
into a long.
- safeAdd(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the sum of a and b, provided the result fits
into an int.
- safeDivide(long, long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the result of the integer division of the first number by the
second, provided the result fits into a long.
- safeDivide(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the result of the integer division of the first number by the
second, provided the result fits into an int.
- safeMultiply(long, long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the product of a and b, provided the result
fits into a long.
- safeMultiply(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the product of a and b, provided the result
fits into an int.
- safeNegate(long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the opposite of the given value, provided the result fits
into a long.
- safeNegate(int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the opposite of the given value, provided the result fits
into an int.
- safePow(long, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the value of the first argument raised to the power of the
second, provided the result fits into a long.
- safePow(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the value of the first argument raised to the power of the
second, provided the result fits into an int.
- safeSubtract(long, long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the difference of a and b, provided the
result fits into a long.
- safeSubtract(int, int) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Returns the difference of a and b, provided the
result fits into an int.
- safeToInt(long) - Static method in class org.kocakosm.pitaya.math.Numbers
-
Casts the given long value to int, if possible.
- Scanf - Class in org.kocakosm.pitaya.io
-
Very simple utility class to easily read from the standard input.
- scheme() - Method in class org.kocakosm.pitaya.net.URN
-
Returns the scheme part of this URN, namely it returns "urn"
modulo the case.
- scrypt(int, int, int, int) - Static method in class org.kocakosm.pitaya.security.KDFs
-
Creates and returns a new immutable KDF instance implementing
the SCrypt algorithm as specified by the Internet Engineering Task
Force.
- set(int, E) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- SHA1 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The SHA1 digest algorithm.
- sha1() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new SHA1 Digest instance.
- sha1(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new SHA1 HMAC engine.
- SHA256 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The SHA-256 digest algorithm.
- sha256() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new SHA-256 Digest instance.
- sha256(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new SHA-256 HMAC engine.
- SHA512 - Static variable in class org.kocakosm.pitaya.security.Algorithm
-
The SHA-512 digest algorithm.
- sha512() - Static method in class org.kocakosm.pitaya.security.Digests
-
Returns a new SHA-512 Digest instance.
- sha512(byte...) - Static method in class org.kocakosm.pitaya.security.HMAC
-
Returns a new SHA-512 HMAC engine.
- shuffle() - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Randomly permutes the elements currently in the List
being built using a default source of randomness.
- shuffle(Random) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Randomly permutes the elements currently in the List
being built using the specified source of randomness.
- shuffle(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Randomly permutes the characters from the given String.
- shuffle(String, Random) - Static method in class org.kocakosm.pitaya.util.Strings
-
Randomly permutes the characters from the given String using
the specified source of randomness.
- shuffle(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(long[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(int[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(short[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(char[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(byte[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(boolean[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(float[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(double[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- shuffle(T[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted.
- shuffle(T[], Random) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a copy of the given array where its element have been randomly
permuted using the specified source of randomness.
- sign() - Method in class org.kocakosm.pitaya.math.Fraction
-
Returns the sign of this Fraction, that is, this method
returns 1 if this fraction is positive, 0 if it is
equal to 0, and -1 if it is negative.
- sign() - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the sign of this duration, namely it returns 1 if
this duration is positive, 0 if it is equal to 0, and
-1 if it is negative.
- since(Date) - Static method in class org.kocakosm.pitaya.time.Duration
-
Creates a new Duration instance representing the amount of
time elapsed since the given date.
- size() - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- size() - Method in class org.kocakosm.pitaya.collection.ChainMap
-
- size() - Method in class org.kocakosm.pitaya.collection.ConcurrentHashBag
-
- size() - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- size() - Method in class org.kocakosm.pitaya.collection.HashBag
-
- size() - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- size() - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- size() - Method in class org.kocakosm.pitaya.collection.ImmutableMap
-
- size() - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- size() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Returns the number of bytes contained in this buffer.
- skip(Iterable<T>, int) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns an Iterable view of the given Iterable that
skips its first n elements.
- skip(Iterator<?>, int) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Skips n elements from the given Iterator.
- skip(long) - Method in class org.kocakosm.pitaya.io.CountingInputStream
-
- skip(long) - Method in class org.kocakosm.pitaya.io.CountingReader
-
- skip(long) - Method in class org.kocakosm.pitaya.io.StringReader
-
- sort() - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Sorts the elements currently in the
List being built
into ascending order, according to the natural ordering of
its elements (all elements in this builder must implement the
Comparable interface).
- sort(Comparator<? super E>) - Method in class org.kocakosm.pitaya.collection.ImmutableList.Builder
-
Sorts the elements currently in the List being built
into ascending order, according to the order induced by the
given Comparator.
- sort(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array into ascending numerical
order.
- sort(T[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array of objects into ascending
order, according to the natural ordering of its elements (all
elements in the array must implement the
Comparable
interface).
- sort(T[], Comparator<? super T>) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a sorted copy of the given array of objects into ascending
order, according to the order induced by the given Comparator.
- split(String) - Method in class org.kocakosm.pitaya.util.Splitter
-
Splits the given String into parts according to its
configuration.
- Splitter - Class in org.kocakosm.pitaya.util
-
Splits Strings using a predefined separator.
- start() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
Starts this stopwatch.
- stop() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
Stops this stopwatch.
- Stopwatch - Class in org.kocakosm.pitaya.time
-
Utility class to measure elapsed time between specific instants.
- Stopwatch() - Constructor for class org.kocakosm.pitaya.time.Stopwatch
-
Creates a new (unstarted) Stopwatch.
- StringReader - Class in org.kocakosm.pitaya.io
-
A
Reader whose source are
Strings.
- StringReader(String...) - Constructor for class org.kocakosm.pitaya.io.StringReader
-
Creates a new StringReader.
- StringReader(Iterable<String>) - Constructor for class org.kocakosm.pitaya.io.StringReader
-
Creates a new StringReader.
- Strings - Class in org.kocakosm.pitaya.util
-
String utilities.
- strip(String, int) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns the new String obtained by stripping the first and
last n characters from the given one.
- stripLeft(String, int) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns the new String obtained by stripping the first
n characters from the given one.
- stripRight(String, int) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns the new String obtained by stripping the last
n characters from the given one.
- subList(int, int) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- subtype() - Method in class org.kocakosm.pitaya.net.MediaType
-
Returns the media subtype.
- SystemProperties - Class in org.kocakosm.pitaya.util
-
System properties.
- tail(File) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the last (up to 10) lines of the given File using the
system's default charset.
- tail(File, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the last (up to 10) lines of the given File using the
specified charset.
- tail(File, int) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the last (up to n) lines of the given File using the
system's default charset.
- tail(File, int, Charset) - Static method in class org.kocakosm.pitaya.io.TextFiles
-
Returns the last (up to n) lines of the given File using the
specified charset.
- tail(File) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Reads the last (up to 512) bytes of the given File.
- tail(File, int) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Reads the last (up to n) bytes of the given File.
- tee(OutputStream...) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Returns an OutputStream that writes all bytes written to it
to the given underlying streams.
- tee(Iterable<? extends OutputStream>) - Static method in class org.kocakosm.pitaya.io.ByteStreams
-
Returns an OutputStream that writes all bytes written to it
to the given underlying streams.
- tee(Writer...) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Returns a Writer that writes all characters written to it
to the given underlying streams.
- tee(Iterable<? extends Writer>) - Static method in class org.kocakosm.pitaya.io.CharStreams
-
Returns a Writer that writes all characters written to it
to the given underlying streams.
- TextFiles - Class in org.kocakosm.pitaya.io
-
Text files utilities.
- THREE_QUARTERS - Static variable in class org.kocakosm.pitaya.math.Fraction
-
Fraction representation of 3/4.
- Throwables - Class in org.kocakosm.pitaya.util
-
- to(TimeUnit) - Method in class org.kocakosm.pitaya.time.Duration
-
Converts this duration into the given unit.
- toArray(T[]) - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- toArray() - Method in class org.kocakosm.pitaya.collection.ArrayBag
-
- toArray(T[]) - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- toArray() - Method in class org.kocakosm.pitaya.collection.CopyOnWriteArrayBag
-
- toArray() - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- toArray(T[]) - Method in class org.kocakosm.pitaya.collection.ImmutableBag
-
- toArray() - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- toArray(E[]) - Method in class org.kocakosm.pitaya.collection.ImmutableList
-
- toArray() - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- toArray(T[]) - Method in class org.kocakosm.pitaya.collection.ImmutableSet
-
- toBag(Iterable<? extends T>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns a Bag containing all the given Iterable's
elements.
- toBag(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns a Bag containing all the given Iterator's
elements.
- toByteArray() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Returns the content of this buffer.
- toByteArray(int) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Returns the bytes contained in this buffer, starting at off.
- toByteArray(int, int) - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
Returns len bytes from this buffer, starting at off.
- toCalendar(Date) - Static method in class org.kocakosm.pitaya.time.Dates
-
Converts a Date into a Calendar.
- toInteger(boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns 1 if bool is true, 0 otherwise.
- toInteger(Boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns 1 if bool is true, 0 if false.
- toList(Iterable<? extends T>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns a List containing all the given Iterable's
elements.
- toList(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns a List containing all the given Iterator's
elements.
- toLowerCase(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns the lowercase equivalent of the given character.
- toLowerCase(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns a String in which all uppercase ASCII characters have
been replaced by their lowercase equivalent (all other characters are
unchanged).
- toMilliseconds() - Method in class org.kocakosm.pitaya.time.Duration
-
Returns the number of milliseconds in this duration.
- toObject(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of longs to an array of Longs.
- toObject(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of ints to an array of Integers.
- toObject(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of shorts to an array of Shorts.
- toObject(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of chars to an array of Characters.
- toObject(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of bytes to an array of Bytes.
- toObject(boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of booleans to an array of Booleans.
- toObject(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of floats to an array of Floats.
- toObject(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of doubles to an array of Doubles.
- toPrimitive(Long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Longs to an array of longs.
- toPrimitive(Integer...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Integers to an array of ints.
- toPrimitive(Short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Shorts to an array of shorts.
- toPrimitive(Character...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Characters to an array of chars.
- toPrimitive(Byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Bytes to an array of bytes.
- toPrimitive(Boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Booleans to an array of booleans.
- toPrimitive(Float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Floats to an array of floats.
- toPrimitive(Double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Converts an array of Doubles to an array of doubles.
- toSet(Iterable<? extends T>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns a Set containing all the given Iterable's
elements.
- toSet(Iterator<? extends E>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns a Set containing all the given Iterator's
elements.
- toString(Iterable<?>) - Static method in class org.kocakosm.pitaya.collection.Iterables
-
Returns a String representation of the given Iterable
using the "[e1, e2, ..., en]" format.
- toString(Iterator<?>) - Static method in class org.kocakosm.pitaya.collection.Iterators
-
Returns a String representation of the given Iterator,
using the "[e1, e2, ..., en]" format.
- toString() - Method in class org.kocakosm.pitaya.io.Resource
-
- toString() - Method in class org.kocakosm.pitaya.math.Fraction
-
- toString() - Method in class org.kocakosm.pitaya.net.MediaType
-
- toString() - Method in class org.kocakosm.pitaya.net.URN
-
- toString() - Method in class org.kocakosm.pitaya.security.Algorithm
-
- toString() - Method in class org.kocakosm.pitaya.time.Duration
-
- toString() - Method in class org.kocakosm.pitaya.time.Stopwatch
-
- toString(boolean) - Static method in class org.kocakosm.pitaya.util.Booleans
-
Returns the given boolean's String representation.
- toString() - Method in class org.kocakosm.pitaya.util.ByteBuffer
-
- toString(long...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(int...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(short...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(char...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(byte...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(boolean...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(float...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(double...) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(Object[]) - Static method in class org.kocakosm.pitaya.util.XArrays
-
Returns a String representation of the contents of the given
array.
- toString(Object) - Static method in class org.kocakosm.pitaya.util.XObjects
-
Returns a
String representation of the given object obtained
by calling its
Object.toString() method if it's a "regular"
object or by calling the appropriate
Arrays'
toString
method if it's an array, returns
"null" if it's
null.
- toString(Object, String) - Static method in class org.kocakosm.pitaya.util.XObjects
-
Returns a
String representation of the given object obtained
by calling its
Object.toString() method if it's a "regular"
object or by calling the appropriate
Arrays'
toString
method if it's an array, returns
ifNull if it's
null.
- toString() - Method in class org.kocakosm.pitaya.util.XObjects.ToStringBuilder
-
- toStringBuilder(Object) - Static method in class org.kocakosm.pitaya.util.XObjects
-
- toStringBuilder(String) - Static method in class org.kocakosm.pitaya.util.XObjects
-
- touch(File...) - Static method in class org.kocakosm.pitaya.io.XFiles
-
Creates empty files at the specified paths or updates the last
modification time of the files at the specified paths.
- toUpperCase(char) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns the uppercase equivalent of the given character.
- toUpperCase(String) - Static method in class org.kocakosm.pitaya.charset.ASCII
-
Returns a String in which all lowercase ASCII characters have
been replaced by their uppercase equivalent (all other characters are
unchanged).
- toURI() - Method in class org.kocakosm.pitaya.net.URN
-
Returns the URI equivalent to this URN.
- trim(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns a copy of the given String with leading and trailing
whitespaces omitted.
- trimInputs() - Method in class org.kocakosm.pitaya.util.Joiner
-
Returns a new Joiner that will behave as this one except that
it will trim inputs before joining them.
- trimLeft(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns a copy of the given String with leading whitespaces
omitted.
- trimResults() - Method in class org.kocakosm.pitaya.util.Splitter
-
Returns a new Splitter that will behave as this one except
that it will trim splitting results.
- trimRight(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Returns a copy of the given String with trailing whitespaces
omitted.
- TRUE - Static variable in class org.kocakosm.pitaya.util.Booleans
-
The Boolean object corresponding to the primitive value
true.
- TWO_QUARTERS - Static variable in class org.kocakosm.pitaya.math.Fraction
-
Fraction representation of 2/4.
- TWO_THIRDS - Static variable in class org.kocakosm.pitaya.math.Fraction
-
Fraction representation of 2/3.
- type() - Method in class org.kocakosm.pitaya.net.MediaType
-
Returns the top-level media type.
- unquote(String) - Static method in class org.kocakosm.pitaya.util.Strings
-
Unquotes the given String, that is, this method removes any
leading or trailing double quotes.
- until(Date) - Static method in class org.kocakosm.pitaya.time.Duration
-
Creates a new Duration instance representing the amount of
time that will elapse until the given date.
- update(byte) - Method in interface org.kocakosm.pitaya.security.Digest
-
Updates the digest using the given byte.
- update(byte...) - Method in interface org.kocakosm.pitaya.security.Digest
-
Updates the digest using the specified array of bytes.
- update(byte[], int, int) - Method in interface org.kocakosm.pitaya.security.Digest
-
Updates the digest using the specified number of bytes from the given
array of bytes, starting at the specified offset.
- update(byte) - Method in interface org.kocakosm.pitaya.security.MAC
-
Updates the MAC using the given byte.
- update(byte...) - Method in interface org.kocakosm.pitaya.security.MAC
-
Updates the MAC using the specified array of bytes.
- update(byte[], int, int) - Method in interface org.kocakosm.pitaya.security.MAC
-
Updates the MAC using the specified number of bytes from the given
array of bytes, starting at the specified offset.
- URLs - Class in org.kocakosm.pitaya.net
-
URLs utilities.
- URN - Class in org.kocakosm.pitaya.net
-
Represents a Uniform Resource Name (URN) as specified in RFC 2141.
- URN(String) - Constructor for class org.kocakosm.pitaya.net.URN
-
Creates a new URN by parsing the given String as
specified by the grammar in RFC 2141.
- URN(String, String) - Constructor for class org.kocakosm.pitaya.net.URN
-
Creates a new URN with the specified Namespace Identifier and
Namespace Specific String.
- URN(String, String, String) - Constructor for class org.kocakosm.pitaya.net.URN
-
Creates a new URN with the specified scheme, Namespace
Identifier and Namespace Specific String.
- URNSyntaxException - Exception in org.kocakosm.pitaya.net
-
Thrown to indicate that a String could not be parsed to a URN
reference.
- URNSyntaxException(String) - Constructor for exception org.kocakosm.pitaya.net.URNSyntaxException
-
Creates a new URNSyntaxException.
- URNSyntaxException(Throwable) - Constructor for exception org.kocakosm.pitaya.net.URNSyntaxException
-
Creates a new URNSyntaxException.
- URNSyntaxException(String, Throwable) - Constructor for exception org.kocakosm.pitaya.net.URNSyntaxException
-
Creates a new URNSyntaxException.
- US_ASCII - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
7-bit ASCII (ISO646-US).
- USER_DIR - Static variable in class org.kocakosm.pitaya.util.SystemProperties
-
User's current working directory.
- USER_HOME - Static variable in class org.kocakosm.pitaya.util.SystemProperties
-
User's home directory.
- USER_NAME - Static variable in class org.kocakosm.pitaya.util.SystemProperties
-
User's account name.
- UTF8 - Class in org.kocakosm.pitaya.charset
-
Static utility methods to encode and decode UTF-8 Strings.
- UTF_16 - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
16-bit UCS Transformation Format, byte order identified by an
optional byte-order mark.
- UTF_16BE - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
16-bit UCS Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
16-bit UCS Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.kocakosm.pitaya.charset.Charsets
-
8-bit UCS Transformation Format.