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

A

AbstractEntity<ID extends Serializable> - Class in net.derquinse.common.orm
Abstract class for entities with a primary identifier.
AbstractEntity() - Constructor for class net.derquinse.common.orm.AbstractEntity
Contructor.
AbstractHibernateDAO - Class in net.derquinse.common.orm.hib
Abstract implementation for general and generic DAO.
AbstractHibernateDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.AbstractHibernateDAO
Constructs the DAO
AbstractHibernateDAO() - Constructor for class net.derquinse.common.orm.hib.AbstractHibernateDAO
Constructs the DAO
AbstractHibernateSequenceDAO<T extends Sequence> - Class in net.derquinse.common.orm.hib
Abstract DAO a sequence entity.
AbstractHibernateSequenceDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.AbstractHibernateSequenceDAO
Initialized the DAO
AbstractHierarchy<E> - Class in net.derquinse.common.collect
An immutable and thread-safe implementation of hierarchy.
AbstractLocalized<T> - Class in net.derquinse.common.i18n
Skeletal implementation for localized objects.
AbstractLocalized() - Constructor for class net.derquinse.common.i18n.AbstractLocalized
Default constructor.
AbstractTypeDescriptor<T> - Class in net.derquinse.common.reflect
Skeletal implementation of a type descriptors.
AbstractTypeDescriptor() - Constructor for class net.derquinse.common.reflect.AbstractTypeDescriptor
Constructor.
AbstractTypeDescriptor(Class<T>) - Constructor for class net.derquinse.common.reflect.AbstractTypeDescriptor
Constructor with a raw type.
add(int) - Method in class net.derquinse.common.base.IntegerWaterMark
Adds a certain amount to the current value.
add(long) - Method in class net.derquinse.common.base.LongWaterMark
Adds a certain amount to the current value.
add(E, E) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
add(String, String) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a string property.
add(String, Boolean) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a boolean property.
add(String, Character) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a character property.
add(String, Number) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a number property.
add(String, Object) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds an object property, serializing it first.
add(String, Object, Type) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds an object property, serializing it first.
add(StringMetaProperty<? super T>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a string property.
add(ComparableNumberMetaProperty<? super T, ?>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a number property.
add(CharacterMetaProperty<? super T>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a character property.
add(BooleanMetaProperty<? super T>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a boolean property.
add(MetaFlag<? super T>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds a boolean property.
add(MetaProperty<? super T, ?>) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds an object property.
add(MetaProperty<? super T, ?>, Type) - Method in class net.derquinse.common.gson.GsonObjectWriter
Adds an object property.
add(String, Object) - Method in class net.derquinse.common.meta.Metas.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(MetaProperty<? super C, ?>) - Method in class net.derquinse.common.meta.Metas.ToStringHelper
Adds a name/value pair to the formatted output based on the provided property.
add(MetaFlag<? super C>) - Method in class net.derquinse.common.meta.Metas.ToStringHelper
Adds a name/value pair to the formatted output based on the provided flag.
add(int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Adds a certain amount to the current value.
add(long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Adds a certain amount to the current value.
addAll(E, Iterable<? extends E>) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
addAll(E, E...) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
addHierarchy(E, Hierarchy<? extends E>, E, boolean) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
addHierarchy(E, Hierarchy<F>, F, boolean, Function<? super F, E>) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
addLength(Response.ResponseBuilder, ByteSource) - Static method in class net.derquinse.common.jaxrs.ByteSourceOutput
Adds the Content-Length header to a response if the ByteSource is a MemoryByteSource.
addValue(Object) - Method in class net.derquinse.common.meta.Metas.ToStringHelper
Adds a value to the formatted output in value format.
alwaysNull(Class<T>) - Static method in class net.derquinse.common.reflect.Proxies
 
alwaysNull(Class<?>...) - Static method in class net.derquinse.common.reflect.Proxies
 
and(Iterable<? extends Predicate<? super C>>) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if this flag and each of the provided components evaluates to true.
and(Predicate<? super C>...) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if this flag and each of the provided components components evaluates to true.
and(Predicate<? super C>) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if both this flag and the provided predicate evaluate to true.
append(CharSequence, File, Charset) - Static method in class net.derquinse.common.io.DurableFiles
Appends a character sequence (such as a string) to a file using the given character set.
append(PathSegments) - Method in class net.derquinse.common.jaxrs.PathSegments
Appends some segments after this list.
appender() - Method in class net.derquinse.common.jaxrs.PathSegments
Returns a new transformer that appends this segments to the provided path.
appendExtension(String) - Method in class net.derquinse.common.jaxrs.PathSegments
Appends an extension to the last segment.
apply(F) - Method in class net.derquinse.common.base.ForwardingFunction
 
apply(Locale) - Method in class net.derquinse.common.i18n.BundleLocalized
 
apply(Locale) - Method in interface net.derquinse.common.i18n.Localized
Returns the object for the specified locale.
apply(Locale) - Method in class net.derquinse.common.i18n.LocalizedMessage
 
apply(Locale) - Method in class net.derquinse.common.i18n.Unlocalized
 
asProperty() - Method in class net.derquinse.common.meta.MetaFlag
Returns a view of the flag as a Boolean property.
asReadOnlyByteBuffer() - Method in class net.derquinse.common.base.ByteString
Constructs a new read-only java.nio.ByteBuffer with the same backing byte array.
assemble(Serializable, Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
assemble(Serializable, Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
assemble(Serializable, Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
AtomicIntegerWaterMark - Class in net.derquinse.common.util.concurrent
An atomic IntegerWaterMark.
AtomicLongWaterMark - Class in net.derquinse.common.util.concurrent
An atomic LongWaterMark.

B

BigDecimalMetaProperty<C> - Class in net.derquinse.common.meta
Class for BigDecimal-valued property descriptor.
BigDecimalMetaProperty(String, boolean, Predicate<? super BigDecimal>, BigDecimal) - Constructor for class net.derquinse.common.meta.BigDecimalMetaProperty
Default constructor.
BigDecimalMetaProperty(String, boolean, Predicate<? super BigDecimal>) - Constructor for class net.derquinse.common.meta.BigDecimalMetaProperty
Constructor.
BigDecimalMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.BigDecimalMetaProperty
Constructor.
BigIntegerMetaProperty<C> - Class in net.derquinse.common.meta
Class for BigInteger-valued property descriptor.
BigIntegerMetaProperty(String, boolean, Predicate<? super BigInteger>, BigInteger) - Constructor for class net.derquinse.common.meta.BigIntegerMetaProperty
Default constructor.
BigIntegerMetaProperty(String, boolean, Predicate<? super BigInteger>) - Constructor for class net.derquinse.common.meta.BigIntegerMetaProperty
Constructor.
BigIntegerMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.BigIntegerMetaProperty
Constructor.
BooleanMetaProperty<C> - Class in net.derquinse.common.meta
Class for boolean-valued property descriptor.
BooleanMetaProperty(String, boolean, Predicate<? super Boolean>, Boolean) - Constructor for class net.derquinse.common.meta.BooleanMetaProperty
Default constructor.
BooleanMetaProperty(String, boolean, Predicate<? super Boolean>) - Constructor for class net.derquinse.common.meta.BooleanMetaProperty
Constructor.
BooleanMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.BooleanMetaProperty
Constructor.
build() - Method in interface net.derquinse.common.base.Builder
Returns the built object.
build() - Method in class net.derquinse.common.base.ByteString.Output
Creates a ByteString instance from this Output.
build() - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
Builds and returns an immutable hierarchy with the nodes added up to the method call.
build() - Method in class net.derquinse.common.i18n.LocalizedBuilder
Returns the localized value.
build() - Method in class net.derquinse.common.meta.MetaClassBuilder
Builds the meta class.
Builder<T> - Interface in net.derquinse.common.base
A class that builds objects of a certain type.
builder() - Static method in class net.derquinse.common.collect.ImmutableHierarchy
Returns a new builder that does not allow out of order insertion (initially).
builder(boolean) - Static method in class net.derquinse.common.collect.ImmutableHierarchy
Returns a new builder.
builder(Class<T>) - Static method in class net.derquinse.common.meta.MetaClass
Returns a builder for a new class.
BundleLocalized<T> - Class in net.derquinse.common.i18n
A localized objects backed by a resource bundle.
BundleLocalized(String, String) - Constructor for class net.derquinse.common.i18n.BundleLocalized
Default constructor.
BundleLocalized(Class<?>, String) - Constructor for class net.derquinse.common.i18n.BundleLocalized
Class-based constructor.
byteAt(int) - Method in class net.derquinse.common.base.ByteString
Gets the byte at the given index.
ByteMetaProperty<C> - Class in net.derquinse.common.meta
Class for byte-valued property descriptor.
ByteMetaProperty(String, boolean, Predicate<? super Byte>, Byte) - Constructor for class net.derquinse.common.meta.ByteMetaProperty
Default constructor.
ByteMetaProperty(String, boolean, Predicate<? super Byte>) - Constructor for class net.derquinse.common.meta.ByteMetaProperty
Constructor.
ByteMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ByteMetaProperty
Constructor.
ByteSourceBodyWriter - Class in net.derquinse.common.jaxrs
ByteSource message body writer.
ByteSourceBodyWriter() - Constructor for class net.derquinse.common.jaxrs.ByteSourceBodyWriter
Default constructor.
ByteSourceOutput - Class in net.derquinse.common.jaxrs
Utility methods for building JAX-RS outputs based on ByteSources.
BytesTransformer - Class in net.derquinse.common.io
Transformer for byte streams, suppliers and sources.
ByteStreamTransformer - Interface in net.derquinse.common.io
Interface for a transformer of byte streams.
ByteString - Class in net.derquinse.common.base
Immutable array of bytes.
ByteString.Output - Class in net.derquinse.common.base
Builder based on an output stream.
ByteStringMetaProperty<C> - Class in net.derquinse.common.meta
Class for byte string-valued property descriptor.
ByteStringMetaProperty(String, boolean, Predicate<? super ByteString>, ByteString) - Constructor for class net.derquinse.common.meta.ByteStringMetaProperty
Default constructor.
ByteStringMetaProperty(String, boolean, Predicate<? super ByteString>) - Constructor for class net.derquinse.common.meta.ByteStringMetaProperty
Constructor.
ByteStringMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ByteStringMetaProperty
Constructor.
ByteStringProvider - Class in net.derquinse.common.jaxrs.gson
ByteString Gson-based JSON JAX-RS provider.
ByteStringProvider() - Constructor for class net.derquinse.common.jaxrs.gson.ByteStringProvider
Default constructor.
ByteStringUserType - Class in net.derquinse.common.orm.hib
An hibernate user type representing a ByteString as a byte array.
ByteStringUserType() - Constructor for class net.derquinse.common.orm.hib.ByteStringUserType
Default constructor.

C

CacheMetrics - Class in net.derquinse.common.metrics.cache
Metrics for a Guava Cache.
CharacterMetaProperty<C> - Class in net.derquinse.common.meta
Class for character-valued property descriptor.
CharacterMetaProperty(String, boolean, Predicate<? super Character>, Character) - Constructor for class net.derquinse.common.meta.CharacterMetaProperty
Default constructor.
CharacterMetaProperty(String, boolean, Predicate<? super Character>) - Constructor for class net.derquinse.common.meta.CharacterMetaProperty
Constructor.
CharacterMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.CharacterMetaProperty
Constructor.
checkValue(T) - Method in class net.derquinse.common.meta.MetaProperty
Checks a value for validity.
chunkSize(int) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns a loader with the same configuration and the chunk size specified by the argument.
CIString - Class in net.derquinse.common.base
A string holder that implements equals ignoring case.
clear() - Method in interface net.derquinse.common.orm.DAO
Clears the session cache.
clear() - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
 
close() - Method in class net.derquinse.common.io.MemoryOutputStream
Closes the stream.
ComparableMetaProperty<C,T extends Comparable<T>> - Class in net.derquinse.common.meta
Base class for property descriptors of comparable types.
ComparableMetaProperty(String, boolean, Predicate<? super T>, T) - Constructor for class net.derquinse.common.meta.ComparableMetaProperty
Default constructor.
ComparableMetaProperty(String, boolean, Predicate<? super T>) - Constructor for class net.derquinse.common.meta.ComparableMetaProperty
Constructor.
ComparableMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ComparableMetaProperty
Constructor.
ComparableNumberMetaProperty<C,T extends Number & Comparable<T>> - Class in net.derquinse.common.meta
Class for comparable number-valued property descriptor.
ComparableNumberMetaProperty(String, boolean, Predicate<? super T>, T) - Constructor for class net.derquinse.common.meta.ComparableNumberMetaProperty
Default constructor.
ComparableNumberMetaProperty(String, boolean, Predicate<? super T>) - Constructor for class net.derquinse.common.meta.ComparableNumberMetaProperty
Constructor.
ComparableNumberMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ComparableNumberMetaProperty
Constructor.
compareAndAdd(IntegerWaterMark, int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Adds a certain amount to the current value if the current reference is the same as the provided one.
compareAndAdd(int, int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Adds a certain amount to the current value if it is the same as the provided one.
compareAndAdd(LongWaterMark, long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Adds a certain amount to the current value if the current reference is the same as the provided one.
compareAndAdd(int, long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Adds a certain amount to the current value if it is the same as the provided one.
compareAndSet(IntegerWaterMark, int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Sets the value if the current reference is the same as the provided one.
compareAndSet(int, int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Sets the value if the current one is the same as the provided one.
compareAndSet(LongWaterMark, long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Sets the value if the current reference is the same as the provided one.
compareAndSet(int, long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Sets the value if the current one is the same as the provided one.
compareTo(CIString) - Method in class net.derquinse.common.base.CIString
 
compose(Function<T, V>) - Method in class net.derquinse.common.meta.MetaProperty
Returns the composition of this property function with another that tranform the value.
compose(Predicate<? super T>) - Method in class net.derquinse.common.meta.MetaProperty
Returns the composition of this property function and a predicate on the value.
COMPRESSED - Static variable in class net.derquinse.common.util.zip.MaybeCompressed
Compressed flag.
compression() - Static method in class net.derquinse.common.util.zip.GZIP
Returns a GZIP compression transformer.
Configurations - Class in net.derquinse.common.orm.hib
Hibernate configurations support class.
consume(int) - Method in class net.derquinse.common.jaxrs.PathSegments
 
consume() - Method in class net.derquinse.common.jaxrs.PathSegments
 
consumeLast(int) - Method in class net.derquinse.common.jaxrs.PathSegments
 
consumeLast() - Method in class net.derquinse.common.jaxrs.PathSegments
 
contains(E) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
contains(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
contains(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns true if the hierarchy contains the provided element.
contains(Pattern) - Method in class net.derquinse.common.meta.StringMetaProperty
Returns a predicate that evaluates to true if the property value being tested contains any match for the given regular expression pattern.
containsAll(Iterable<? extends E>) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
containsAll(Iterable<? extends E>) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
containsAll(Iterable<? extends E>) - Method in interface net.derquinse.common.collect.Hierarchy
Returns true if the hierarchy contains all the provided elements.
containsPattern(String) - Method in class net.derquinse.common.meta.StringMetaProperty
Returns a predicate that evaluates to true if the property value being tested contains any match for the given regular expression pattern.
ContextLog - Class in net.derquinse.common.log
An SLF4J logger with an optional hierarchical context and String.format(java.lang.String, java.lang.Object...) formatting.
copy(ByteSource, File) - Static method in class net.derquinse.common.io.DurableFiles
Copies to a file all bytes from an InputStream supplied by a factory.
copy(File, File) - Static method in class net.derquinse.common.io.DurableFiles
Copies all the bytes from one file to another.The file is sync'd before being closed.
copy(CharSource, File, Charset) - Static method in class net.derquinse.common.io.DurableFiles
Copies to a file all characters from a CharSource and Closeable object supplied by a factory, using the given character set.
copyFrom(byte[], int, int) - Static method in class net.derquinse.common.base.ByteString
Copies the given bytes into a ByteString.
copyFrom(byte[]) - Static method in class net.derquinse.common.base.ByteString
Copies the given bytes into a ByteString.
copyFrom(HashCode) - Static method in class net.derquinse.common.base.ByteString
Copies the given HashCode into a ByteString.
copyFrom(ByteBuffer, int) - Static method in class net.derquinse.common.base.ByteString
Copies size bytes from a java.nio.ByteBuffer into a ByteString.
copyFrom(ByteBuffer) - Static method in class net.derquinse.common.base.ByteString
Copies the remaining bytes from a java.nio.ByteBuffer into a ByteString.
copyFrom(String, String) - Static method in class net.derquinse.common.base.ByteString
Encodes text into a sequence of bytes using the named charset and returns the result as a ByteString.
copyFrom(String, Charset) - Static method in class net.derquinse.common.base.ByteString
Encodes text into a sequence of bytes using the provided charset and returns the result as a ByteString.
copyFrom(List<ByteString>) - Static method in class net.derquinse.common.base.ByteString
Concatenates all byte strings in the list and returns the result.
copyFromUtf8(String) - Static method in class net.derquinse.common.base.ByteString
Encodes text into a sequence of UTF-8 bytes and returns the result as a ByteString.
copyOf(Hierarchy<? extends E>) - Static method in class net.derquinse.common.collect.ImmutableHierarchy
Returns an immutable copy of the provided hierarchy.
copyOf(boolean, byte[]) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged memory byte source backed by a copy of the provided array.
copyOf(boolean, ByteBuffer) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged memory byte source backed by a copy of the provided buffer, which is consumed.
copyTo(byte[], int) - Method in class net.derquinse.common.base.ByteString
Copies bytes into a buffer at the given offset.
copyTo(byte[], int, int, int) - Method in class net.derquinse.common.base.ByteString
Copies bytes into a buffer.
copyTo(ByteBuffer) - Method in class net.derquinse.common.base.ByteString
Copies bytes into a ByteBuffer.
counted(T, Runnable) - Static method in class net.derquinse.common.util.concurrent.Refs
Creates a counted reference with a shutdown hook.
CovariantBuilder<B extends CovariantBuilder<B,T>,T> - Class in net.derquinse.common.reflect
Base class for covariant builders.
CovariantBuilder() - Constructor for class net.derquinse.common.reflect.CovariantBuilder
Constructs a new builder.
create() - Static method in class net.derquinse.common.i18n.LocalizedBuilder
Creates a new builder.
create(T) - Static method in class net.derquinse.common.i18n.LocalizedBuilder
Creates a new builder.
create(String, long, long) - Method in class net.derquinse.common.orm.hib.AbstractHibernateSequenceDAO
Creates a new sequence.
create(String, long, long) - Method in class net.derquinse.common.orm.hib.HibernateSequenceDAO
 

D

DAO - Interface in net.derquinse.common.orm
Base DAO interface.
debug(String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the DEBUG level.
debug(Throwable, String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the DEBUG level.
dec() - Method in class net.derquinse.common.base.IntegerWaterMark
Subtract one to the current value.
dec() - Method in class net.derquinse.common.base.LongWaterMark
Subtract one to the current value.
dec() - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Subtract one to the current value.
dec() - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Subtract one to the current value.
decompression() - Static method in class net.derquinse.common.util.zip.GZIP
Returns a GZIP decompression transformer.
decorate(GsonBuilder) - Static method in class net.derquinse.common.gson.DerquinseGson
Decorates a GsonBuilder with conquiris clases.
deepCopy(Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
deepCopy(Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
deepCopy(Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
delegate() - Method in class net.derquinse.common.base.ForwardingFunction
Returns the backing delegate instance that methods are forwarded to.
delegate() - Method in class net.derquinse.common.base.ForwardingPartialFunction
Returns the backing delegate instance that methods are forwarded to.
delegate() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
delegate() - Method in class net.derquinse.common.i18n.ForwardingLocalized
Returns the backing delegate instance that methods are forwarded to.
delegate() - Method in class net.derquinse.common.jaxrs.PathSegments
 
delegate() - Method in class net.derquinse.common.util.zip.LoadedZipFile
 
delete(Object) - Method in interface net.derquinse.common.orm.GeneralDAO
Deletes an entity instance.
delete(T) - Method in interface net.derquinse.common.orm.GenericDAO
Deletes an entity instance.
delete(Object) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
delete(T) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
deleteById(Class<T>, Serializable) - Method in interface net.derquinse.common.orm.GeneralDAO
Deletes an entity instance.
deleteById(ID) - Method in interface net.derquinse.common.orm.GenericDAO
Deletes an entity instance.
deleteById(Class<T>, Serializable) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
deleteById(ID) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
DerquinseGson - Class in net.derquinse.common.gson
Derquinse Gson support class.
DerquinseMySQL5Dialect - Class in net.derquinse.common.orm.hib.dialect
MySQL 5 Dialect.
DerquinseMySQL5Dialect() - Constructor for class net.derquinse.common.orm.hib.dialect.DerquinseMySQL5Dialect
Constructor.
DerquinseMySQL5InnoDBDialect - Class in net.derquinse.common.orm.hib.dialect
MySQL 5 InnoDB Dialect.
DerquinseMySQL5InnoDBDialect() - Constructor for class net.derquinse.common.orm.hib.dialect.DerquinseMySQL5InnoDBDialect
Constructor.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.derquinse.common.gson.GsonObjectAdapter
 
deserialize(GsonObjectReader<T>) - Method in class net.derquinse.common.gson.GsonObjectAdapter
Deserializes an object.
Digests - Class in net.derquinse.common.base
Utility class for dealing with message digests.
direct(boolean) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns a loader with the same configuration and the use of direct memory specified by the argument.
directCopyOf(byte[]) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged direct memory byte source backed by a copy of the provided array.
directCopyOf(ByteBuffer) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged direct memory byte source backed by a copy of the provided buffer, which is consumed.
disassemble(Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
disassemble(Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
disassemble(Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
Disposable<T> - Interface in net.derquinse.common.base
Interface to provide objects that must be disposed when no longer in use.
dispose() - Method in interface net.derquinse.common.base.Disposable
Called when the object is no longer in use.
DoubleMetaProperty<C> - Class in net.derquinse.common.meta
Class for double-valued property descriptor.
DoubleMetaProperty(String, boolean, Predicate<? super Double>, Double) - Constructor for class net.derquinse.common.meta.DoubleMetaProperty
Default constructor.
DoubleMetaProperty(String, boolean, Predicate<? super Double>) - Constructor for class net.derquinse.common.meta.DoubleMetaProperty
Constructor.
DoubleMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.DoubleMetaProperty
Constructor.
DurableFiles - Class in net.derquinse.common.io
Provides utility methods for working with durable files.

E

elementSet() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
elementSet() - Method in interface net.derquinse.common.collect.Hierarchy
Returns the set of distinct elements contained in this hierarchy.
elementSet() - Method in class net.derquinse.common.collect.ImmutableHierarchy
 
EMPTY - Static variable in class net.derquinse.common.base.ByteString
Empty ByteString.
Entities - Class in net.derquinse.common.orm
Support methods for entities.
Entity<ID extends Serializable> - Interface in net.derquinse.common.orm
Interface for entities with a primary identifier.
EntityDAO<T extends Entity<ID>,ID extends Serializable> - Interface in net.derquinse.common.orm
Generic DAO interface for entities.
entityId(Entity<ID>) - Static method in class net.derquinse.common.orm.Entities
Returns the id of the provided entity or null if the argument is null.
equals(Object) - Method in class net.derquinse.common.base.ByteString
 
equals(Object) - Method in class net.derquinse.common.base.CIString
 
equals(Object) - Method in class net.derquinse.common.base.IntegerWaterMark
 
equals(Object) - Method in class net.derquinse.common.base.LongWaterMark
 
equals(Object) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
equals(Object) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
equals(Object) - Method in interface net.derquinse.common.collect.Hierarchy
Compares the specified object with this hierarchy for equality.
equals(Object) - Method in class net.derquinse.common.io.BytesTransformer
 
equals(Object) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
 
equals(Object) - Method in class net.derquinse.common.jaxrs.PathSegments
 
equals(Object) - Method in class net.derquinse.common.meta.MetaField
Uses identity equality.
equals(Object, Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
equals(Object, Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
equals(Object, Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
equals(Object) - Method in class net.derquinse.common.util.zip.MaybeCompressed
 
equals(Object) - Method in class net.derquinse.common.util.zip.ZipFileLoader
 
equalTo(T) - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value equals() the given target or both are null.
error(String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the ERROR level.
error(Throwable, String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the ERROR level.
evict(Object) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Remove the provided instance from the session cache.

F

FieldMap<T extends WithMetaClass> - Interface in net.derquinse.common.meta
A metaclass field map.
findAll(Class<T>) - Method in interface net.derquinse.common.orm.GeneralDAO
Returns all entities of the persistent type.
findAll() - Method in interface net.derquinse.common.orm.GenericDAO
Returns all entities of the persistent type.
findAll(Class<T>) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
findAll() - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
findByCriteria(Class<T>, Criteria, Criterion...) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
Returns the list of entity instances that matches the provided criteria.
findByCriteria(Class<T>, Criterion...) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
Returns the list of entity instances that matches the provided criteria.
findByCriteria(Criterion...) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns the list of entity instances that matches the provided crtieria.
findById(Class<T>, Serializable, boolean) - Method in interface net.derquinse.common.orm.GeneralDAO
Finds an entity by ID.
findById(ID, boolean) - Method in interface net.derquinse.common.orm.GenericDAO
Finds an entity by ID.
findById(Class<T>, Serializable, boolean) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
findById(ID, boolean) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
findByIds(Class<T>, Iterable<? extends ID>) - Method in interface net.derquinse.common.orm.GeneralDAO
Finds a set of entities by ID.
findByIds(Iterable<? extends ID>) - Method in interface net.derquinse.common.orm.GenericDAO
Finds a set of entities by ID.
findByIds(Criteria, Iterable<? extends ID>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Finds a set of entities by ID.
findByIds(Class<T>, Iterable<? extends ID>) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
findByIds(Iterable<? extends ID>) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
first(Class<T>, Query) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the first result of a query returning instances of a specified class.
first(Query) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns the first result of a query returning instances of the persisted class.
flag(MetaFlag<? super T>) - Method in class net.derquinse.common.gson.GsonObjectReader
Returns a boolean flag.
FloatMetaProperty<C> - Class in net.derquinse.common.meta
Class for float-valued property descriptor.
FloatMetaProperty(String, boolean, Predicate<? super Float>, Float) - Constructor for class net.derquinse.common.meta.FloatMetaProperty
Default constructor.
FloatMetaProperty(String, boolean, Predicate<? super Float>) - Constructor for class net.derquinse.common.meta.FloatMetaProperty
Constructor.
FloatMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.FloatMetaProperty
Constructor.
flush() - Method in interface net.derquinse.common.orm.DAO
Flushes the session.
flush() - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
 
ForwardingFunction<F,T> - Class in net.derquinse.common.base
An abstract base class for implementing the decorator pattern for functions.
ForwardingFunction() - Constructor for class net.derquinse.common.base.ForwardingFunction
 
ForwardingHierarchy<E> - Class in net.derquinse.common.collect
A hierarchy that forward its method calls to a delegated hierarchy.
ForwardingHierarchy() - Constructor for class net.derquinse.common.collect.ForwardingHierarchy
 
ForwardingLocalized<T> - Class in net.derquinse.common.i18n
An abstract base class for implementing the decorator pattern for localized values.
ForwardingLocalized() - Constructor for class net.derquinse.common.i18n.ForwardingLocalized
 
ForwardingPartialFunction<F,T> - Class in net.derquinse.common.base
An abstract base class for implementing the decorator pattern for partial functions.
ForwardingPartialFunction() - Constructor for class net.derquinse.common.base.ForwardingPartialFunction
 
fromHexChars(char[]) - Static method in class net.derquinse.common.base.ByteString
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
fromHexString(String) - Static method in class net.derquinse.common.base.ByteString
Converts an string representing hexadecimal values into an array of bytes of those same values.
fromMap(T, Map<? extends Locale, ? extends T>) - Static method in class net.derquinse.common.i18n.LocalizedValues
Builds a localized value.
fromNullable() - Static method in class net.derquinse.common.base.MoreFunctions
Returns a function invocation of Optional.fromNullable(Object).
fromString(String) - Static method in class net.derquinse.common.i18n.Locales
Returns a locale parsed from a string.
fromString() - Static method in class net.derquinse.common.i18n.Locales
Returns a function encapsulating the fromString method.
fromString() - Static method in class net.derquinse.common.uuid.UUIDs
Returns a function transforming a string into an UUID.
fromStringMap(T, Map<String, ? extends T>) - Static method in class net.derquinse.common.i18n.LocalizedValues
Builds a localized map.

G

GeneralDAO - Interface in net.derquinse.common.orm
General DAO interface.
GenericDAO<T extends Entity<ID>,ID extends Serializable> - Interface in net.derquinse.common.orm
Generic DAO interface.
GenericGsonProvider<T> - Class in net.derquinse.common.jaxrs.gson
Base class from Gson-based JSON JAX-RS providers.
GenericGsonProvider(Supplier<Gson>) - Constructor for class net.derquinse.common.jaxrs.gson.GenericGsonProvider
Constructor.
GenericGsonProvider(Gson) - Constructor for class net.derquinse.common.jaxrs.gson.GenericGsonProvider
Constructor.
GenericGsonProvider() - Constructor for class net.derquinse.common.jaxrs.gson.GenericGsonProvider
Default constructor.
get() - Method in interface net.derquinse.common.base.Disposable
Returns the disposabe object.
get() - Method in class net.derquinse.common.base.IntegerWaterMark
Returns the current value.
get() - Method in class net.derquinse.common.base.LongWaterMark
Returns the current value.
get() - Static method in class net.derquinse.common.gson.DerquinseGson
Returns a shared decorated instance.
get() - Method in class net.derquinse.common.gson.GsonObjectReader.Property
Returns the required value of the property.
get() - Method in class net.derquinse.common.i18n.AbstractLocalized
 
get() - Method in class net.derquinse.common.i18n.ForwardingLocalized
 
get() - Method in interface net.derquinse.common.i18n.Localized
Returns the default value for the localized object.
get() - Method in class net.derquinse.common.i18n.Unlocalized
 
get() - Static method in class net.derquinse.common.io.MemoryByteSourceLoader
Gets the default loader.
get() - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Returns the current value.
get() - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Returns the current value.
get() - Method in interface net.derquinse.common.util.concurrent.RefCounted
Returns a new disposable reference.
get() - Static method in class net.derquinse.common.util.zip.ZipFileLoader
Returns a zip file loader with a default memory loader (heap, chunked, 16 KB chunks).
get() - Method in class net.derquinse.common.uuid.RandomUUIDGenerator
Returns a random UUID.
get() - Method in class net.derquinse.common.uuid.SafeUUIDGenerator
 
get() - Method in class net.derquinse.common.uuid.TimeBasedUUIDGenerator
 
getAncestors(E) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
getAncestors(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getAncestors(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the ancestors of the specified element.
getAverageLoadPenalty() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Average load penalty.
getChildren(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getChildren(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the children of the specified element.
getChunkSize() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns the chunk size.
getContext() - Method in class net.derquinse.common.gson.GsonObjectReader
Returns the serialization context.
getContext() - Method in class net.derquinse.common.gson.GsonObjectWriter
Returns the serialization context.
getCount() - Method in interface net.derquinse.common.util.concurrent.RefCounted
Returns the current number of active references.
getCurrent() - Method in class net.derquinse.common.orm.hib.SequenceImpl
Returns the current value of the sequence.
getCurrent() - Method in interface net.derquinse.common.orm.Sequence
Returns the current value of the sequence.
getCurrentTime() - Method in class net.derquinse.common.uuid.SystemUUIDTimer
 
getCurrentTime() - Method in interface net.derquinse.common.uuid.UUIDTimer
Returns the current time in 100-nanosecond units since midnight, October 15, 1582 UTC.
getCurrentValue(String) - Method in class net.derquinse.common.orm.hib.AbstractHibernateSequenceDAO
Gets the current value of a sequence.
getCurrentValue(String) - Method in interface net.derquinse.common.orm.SequenceDAO
Gets the current value of a sequence.
getDeclaredFields() - Method in class net.derquinse.common.meta.MetaClass
Returns the declared fields.
getDeclaredFields() - Method in class net.derquinse.common.meta.MetaClassBuilder
Returns the declared field map.
getDefaultIfInvalid(T) - Method in class net.derquinse.common.meta.MetaProperty
Returns the default value if the provided value is invalid.
getDefaultIfNull(T) - Method in class net.derquinse.common.meta.MetaProperty
Returns the default value if the provided value is null.
getDefaultValue() - Method in class net.derquinse.common.meta.MetaFlag
Returns the default value.
getDefaultValue() - Method in class net.derquinse.common.meta.MetaProperty
Returns the default value.
getDescendants(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getDescendants(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the descendants of the specified element.
getDescendants(E) - Method in class net.derquinse.common.collect.ImmutableHierarchy
 
getDigest(byte[], MessageDigest) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the digest of the provided data.
getDigest(ByteSource, MessageDigest) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the digest of the provided data.
getEnclosingType() - Method in class net.derquinse.common.meta.MetaField
Returns the enclosing type.
getEvictionCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Eviction Count.
getExtension() - Method in class net.derquinse.common.jaxrs.PathSegments
Extracts the extension from the last segment.
getFields() - Method in class net.derquinse.common.meta.MetaClass
Returns the all fields map.
getFields() - Method in class net.derquinse.common.meta.MetaClassBuilder
Returns the all fields map.
getFieldType() - Method in class net.derquinse.common.meta.MetaField
Returns the field type.
getFirstLevel() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getFirstLevel() - Method in interface net.derquinse.common.collect.Hierarchy
Returns the first level of the hierarchy.
getGson() - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
Returns the Gson object to use.
getHitCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Hit Count.
getHitRate() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Hit rate.
getId() - Method in interface net.derquinse.common.orm.Entity
Returns the id.
getId() - Method in class net.derquinse.common.orm.hib.MappedLongEntity
Returns the entity id.
getId() - Method in class net.derquinse.common.orm.hib.MappedStringEntity
Returns the entity id.
getId() - Method in class net.derquinse.common.orm.hib.MappedUUIDEntity
Returns the entity id.
getId() - Method in class net.derquinse.common.orm.hib.SequenceImpl
Returns the name of the sequence.
getId() - Method in interface net.derquinse.common.orm.Sequence
Returns the name of the sequence.
getId() - Method in exception net.derquinse.common.orm.SequenceNotFoundException
Returns the name (id) of the requested sequence.
getIncrement() - Method in class net.derquinse.common.orm.hib.SequenceImpl
Returns the increment to use in the sequence.
getIncrement() - Method in interface net.derquinse.common.orm.Sequence
Returns the increment to use in the sequence.
getIndex(E) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
getIndex(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getIndex(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the index of the specified element among its siblings.
getInstance(String) - Static method in class net.derquinse.common.base.Digests
Creates a new instance.
getLoadCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Load Count.
getLoadExceptionCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Load Exception Count.
getLoadExceptionRate() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Load Exception Rate.
getLoadSuccessCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Load Success Count.
getMax() - Method in class net.derquinse.common.base.IntegerWaterMark
Returns the maximum value.
getMax() - Method in class net.derquinse.common.base.LongWaterMark
Returns the maximum value.
getMaxCount() - Method in interface net.derquinse.common.util.concurrent.RefCounted
Returns the maximum number of active references.
getMaxSize() - Method in exception net.derquinse.common.io.MaximumSizeExceededException
Returns the maximum size.
getMaxSize() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns the maximum size.
getMessage() - Method in exception net.derquinse.common.orm.SequenceNotFoundException
 
getMetaClass() - Method in class net.derquinse.common.meta.MetaBuilder
Returns the metaclass of the object to build.
getMin() - Method in class net.derquinse.common.base.IntegerWaterMark
Returns the minimum value.
getMin() - Method in class net.derquinse.common.base.LongWaterMark
Returns the minimum value.
getMissCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Miss Count.
getMissRate() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Miss Rate.
getName() - Method in class net.derquinse.common.meta.MetaField
Returns the field name.
getName() - Method in interface net.derquinse.common.meta.WithNameProperty
Returns the property name.
getNamedQuery(String) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns a externally defined named query.
getNamedQuery(String, Iterable<?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns a externally defined named query, with a list of non-null parameter values.
getNamedQuery(String, Map<String, ?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns a externally defined named query, setting named parameters.
getNamedQuery(String, Object...) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns a externally defined named query, with a list of non-null parameter values.
getNext() - Method in class net.derquinse.common.orm.hib.SequenceImpl
Increments the sequence.
getNext() - Method in interface net.derquinse.common.orm.Sequence
Increments the sequence.
getNextValue(String) - Method in class net.derquinse.common.orm.hib.AbstractHibernateSequenceDAO
Gets the next value of a sequence.
getNextValue(String, long, long) - Method in class net.derquinse.common.orm.hib.AbstractHibernateSequenceDAO
Gets the next value of a sequence, creating it if it does not exist.
getNextValue(String) - Method in interface net.derquinse.common.orm.SequenceDAO
Gets the next value of a sequence.
getNextValue(String, long, long) - Method in interface net.derquinse.common.orm.SequenceDAO
Gets the next value of a sequence, creating it if it does not exist.
getObject() - Method in class net.derquinse.common.gson.GsonObjectReader
Returns the gson object.
getObject() - Method in class net.derquinse.common.gson.GsonObjectWriter
Returns the gson object.
getOptional() - Method in class net.derquinse.common.gson.GsonObjectReader.Property
Returns the loaded value of the property as an Optional.
getParent(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getParent(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the parent of the specified element.
getParent(Locale) - Static method in class net.derquinse.common.i18n.Locales
Returns the parent of the provided locale.
getPayload() - Method in class net.derquinse.common.util.zip.MaybeCompressed
Returns the payload.
getPersistentClass() - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns the persistent class.
getRawType() - Method in class net.derquinse.common.reflect.AbstractTypeDescriptor
 
getRawType() - Method in interface net.derquinse.common.reflect.WithRawTypeProperty
Returns the raw type.
getRegistrationKeys() - Static method in class net.derquinse.common.orm.hib.ByteStringUserType
Get the names under which this type should be registered in the type registry.
getRegistrationKeys() - Static method in class net.derquinse.common.orm.hib.HashCodeUserType
Get the names under which this type should be registered in the type registry.
getRegistrationKeys() - Static method in class net.derquinse.common.orm.hib.LocaleUserType
Get the names under which this type should be registered in the type registry.
getRequestCount() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Request Count.
getResolution() - Method in class net.derquinse.common.uuid.SystemUUIDTimer
 
getResolution() - Method in interface net.derquinse.common.uuid.UUIDTimer
Returns the resolution of the current timer.
getRoot() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
getRoot() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getRoot() - Method in interface net.derquinse.common.collect.Hierarchy
Returns the root element.
getSegmentExtension(String) - Static method in class net.derquinse.common.jaxrs.PathSegments
Extracts the extension from a segment.
getSession() - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the current session.
getSiblings(E) - Method in class net.derquinse.common.collect.AbstractHierarchy
 
getSiblings(E) - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
getSiblings(E) - Method in interface net.derquinse.common.collect.Hierarchy
Returns the siblings of the specified element.
getSize(ByteSource, Class<?>, Type, Annotation[], MediaType) - Method in class net.derquinse.common.jaxrs.ByteSourceBodyWriter
 
getSize(T, Class<?>, Type, Annotation[], MediaType) - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
 
getSource() - Method in class net.derquinse.common.gson.GsonObjectWriter
Returns the object to write.
getSuperclass() - Method in class net.derquinse.common.meta.MetaClass
Returns the supermetaclass.
getSuperclass() - Method in class net.derquinse.common.meta.MetaClassBuilder
Returns the supermetaclass.
getSuperinterfaces() - Method in class net.derquinse.common.meta.MetaClass
Returns the superinterfaces.
getSuperinterfaces() - Method in class net.derquinse.common.meta.MetaClassBuilder
Returns the superinterfaces.
getSupplier() - Static method in class net.derquinse.common.gson.DerquinseGson
Returns a supplier for the shared decorated instance.
getTotalLoadTime() - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Total load time.
getTransformer() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns the transformer used.
getType() - Method in class net.derquinse.common.gson.GsonObjectReader
Returns the source object type.
getType() - Method in class net.derquinse.common.gson.GsonObjectWriter
Returns the object type.
getType() - Method in class net.derquinse.common.meta.MetaClass
Returns the enclosing type.
getType() - Method in class net.derquinse.common.meta.MetaClassBuilder
Returns the described type.
getType() - Method in class net.derquinse.common.reflect.AbstractTypeDescriptor
 
getType() - Method in interface net.derquinse.common.reflect.WithTypeProperty
Returns the type.
getTypeToken() - Method in class net.derquinse.common.reflect.AbstractTypeDescriptor
 
getTypeToken() - Method in interface net.derquinse.common.reflect.WithTypeTokenProperty
Returns the type token.
getVersion() - Method in class net.derquinse.common.orm.hib.MappedLongVersionedEntity
Returns the entity version.
getVersion() - Method in class net.derquinse.common.orm.hib.MappedStringVersionedEntity
Returns the entity version.
getVersion() - Method in class net.derquinse.common.orm.hib.MappedUUIDVersionedEntity
Returns the entity version.
getVersion() - Method in interface net.derquinse.common.orm.WithVersionProperty
Returns the version.
greaterOrEqual(T) - Static method in class net.derquinse.common.base.MorePredicates
Returns a predicate that evaluates to true if the object being tested is greater than or equal to the given value.
greaterOrEqual(T) - Method in class net.derquinse.common.meta.ComparableMetaProperty
Returns a predicate that evaluates to true if the property value is greater than or equal to the given value.
greaterThan(T) - Static method in class net.derquinse.common.base.MorePredicates
Returns a predicate that evaluates to true if the object being tested is greater than the given value.
greaterThan(T) - Method in class net.derquinse.common.meta.ComparableMetaProperty
Returns a predicate that evaluates to true if the property value is greater than the given value.
GsonByteString - Class in net.derquinse.common.gson
Gson representation for ByteString.
GsonByteString() - Constructor for class net.derquinse.common.gson.GsonByteString
Constructor.
GsonHashCode - Class in net.derquinse.common.gson
Gson representation for HashCode.
GsonHashCode() - Constructor for class net.derquinse.common.gson.GsonHashCode
Constructor.
GsonObjectAdapter<T> - Class in net.derquinse.common.gson
Gson object adapter support.
GsonObjectAdapter() - Constructor for class net.derquinse.common.gson.GsonObjectAdapter
Constructor.
GsonObjectReader<T> - Class in net.derquinse.common.gson
Reader for gson object adapter support.
GsonObjectReader.Property<V> - Class in net.derquinse.common.gson
Object property.
GsonObjectWriter<T> - Class in net.derquinse.common.gson
Writer for gson object adapter support.
GsonProvider - Class in net.derquinse.common.jaxrs.gson
Gson-based JSON JAX-RS Provider.
GsonProvider(Supplier<Gson>) - Constructor for class net.derquinse.common.jaxrs.gson.GsonProvider
Constructor.
GsonProvider(Gson) - Constructor for class net.derquinse.common.jaxrs.gson.GsonProvider
Constructor.
GsonProvider() - Constructor for class net.derquinse.common.jaxrs.gson.GsonProvider
Default constructor.
gunzip(MemoryByteSourceLoader) - Static method in class net.derquinse.common.util.zip.GZIP
Returns a function performing GZIP decompression.
GZIP - Class in net.derquinse.common.util.zip
Provides utility methods for working with gzip streams.
gzip(MemoryByteSourceLoader) - Static method in class net.derquinse.common.util.zip.GZIP
Returns a function performing GZIP compression.
gzip() - Method in class net.derquinse.common.util.zip.LoadedZipFile
Compress the entries with GZIP.

H

hashCode() - Method in class net.derquinse.common.base.ByteString
 
hashCode() - Method in class net.derquinse.common.base.CIString
 
hashCode() - Method in class net.derquinse.common.base.IntegerWaterMark
 
hashCode() - Method in class net.derquinse.common.base.LongWaterMark
 
hashCode() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
hashCode() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
hashCode() - Method in interface net.derquinse.common.collect.Hierarchy
Returns the hash code value for this hierarchy.
hashCode() - Method in class net.derquinse.common.io.BytesTransformer
 
hashCode() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
 
hashCode() - Method in class net.derquinse.common.jaxrs.PathSegments
 
hashCode() - Method in class net.derquinse.common.meta.MetaField
Uses identity hash code.
hashCode(Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
hashCode(Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
hashCode(Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
hashCode() - Method in class net.derquinse.common.util.zip.MaybeCompressed
 
hashCode() - Method in class net.derquinse.common.util.zip.ZipFileLoader
 
HashCodeUserType - Class in net.derquinse.common.orm.hib
An hibernate user type representing a HashCode as a byte array.
HashCodeUserType() - Constructor for class net.derquinse.common.orm.hib.HashCodeUserType
Default constructor.
hasRows(Query) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns whether a query has results.
head() - Method in class net.derquinse.common.jaxrs.PathSegments
 
heapCopyOf(byte[]) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged heap memory byte source backed by a copy of the provided array.
heapCopyOf(ByteBuffer) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a merged heap memory byte source backed by a copy of the provided buffer, which is consumed.
HibernateEntityDAO<T extends Entity<ID>,ID extends Serializable> - Class in net.derquinse.common.orm.hib
Implementation of the Generic DAO for entities.
HibernateEntityDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateEntityDAO
Constructs the DAO
HibernateEntityDAO(Class<T>, SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateEntityDAO
Constructs the DAO.
HibernateEntityDAO() - Constructor for class net.derquinse.common.orm.hib.HibernateEntityDAO
Constructs the DAO
HibernateEntityDAO(Class<T>) - Constructor for class net.derquinse.common.orm.hib.HibernateEntityDAO
Constructs the DAO.
HibernateGeneralDAO - Class in net.derquinse.common.orm.hib
Implementation of the General DAO.
HibernateGeneralDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateGeneralDAO
Constructs the DAO
HibernateGeneralDAO() - Constructor for class net.derquinse.common.orm.hib.HibernateGeneralDAO
Constructs the DAO
HibernateGenericDAO<T extends Entity<ID>,ID extends Serializable> - Class in net.derquinse.common.orm.hib
Implementation of the Generic DAO.
HibernateGenericDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateGenericDAO
Constructs the DAO
HibernateGenericDAO(Class<T>, SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateGenericDAO
Constructs the DAO.
HibernateGenericDAO() - Constructor for class net.derquinse.common.orm.hib.HibernateGenericDAO
Constructs the DAO
HibernateGenericDAO(Class<T>) - Constructor for class net.derquinse.common.orm.hib.HibernateGenericDAO
Constructs the DAO.
HibernateSequenceDAO - Class in net.derquinse.common.orm.hib
Data access object for the sequence entity.
HibernateSequenceDAO(SessionFactory) - Constructor for class net.derquinse.common.orm.hib.HibernateSequenceDAO
Initialized the DAO
Hierarchies - Class in net.derquinse.common.collect
Support methods for hierarchies.
Hierarchy<E> - Interface in net.derquinse.common.collect
A hierarchy is a set of objects identified organized in a tree-like structure, where each level is an ordered list.
HierarchyVisitor<E> - Interface in net.derquinse.common.collect
Visitor for hierarchy traversal.

I

ID - Static variable in interface net.derquinse.common.orm.LongEntity
ID property.
ID - Static variable in interface net.derquinse.common.orm.StringEntity
ID property.
ID - Static variable in interface net.derquinse.common.orm.UUIDEntity
ID property.
idEquals(Class<? extends T>, Object) - Method in class net.derquinse.common.orm.AbstractEntity
Checks if an object is an instance of an entity type and its id is equals to this entity id.
idEquals(Entity<ID>, Entity<ID>) - Static method in class net.derquinse.common.orm.Entities
Checks if two entities are both null or have the same id (that can be null.
idEquals(Entity<ID>, Class<? extends T>, Object) - Static method in class net.derquinse.common.orm.Entities
Checks if an object is an instance of an entity type and its id is equals to the provided entity id.
idHashCode() - Method in class net.derquinse.common.orm.AbstractEntity
Returns the hash code of the id of the entity.
idHashCode(Entity<?>) - Static method in class net.derquinse.common.orm.Entities
Returns the hash code of the id of the entity.
ImmutableHierarchy<E> - Class in net.derquinse.common.collect
An immutable and thread-safe implementation of hierarchy.
ImmutableHierarchy.Builder<E> - Class in net.derquinse.common.collect
Builder for immutable hierarchies.
in(Collection<? extends T>) - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value being tested is a member of the given collection.
inc() - Method in class net.derquinse.common.base.IntegerWaterMark
Adds one to the current value.
inc() - Method in class net.derquinse.common.base.LongWaterMark
Adds one to the current value.
inc() - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Adds one to the current value.
inc() - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Adds one to the current value.
info(String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the INFO level.
info(Throwable, String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the INFO level.
inserter() - Method in class net.derquinse.common.jaxrs.PathSegments
Returns a new transformer that inserts this segments at the beginning of the provided path.
INSTANCE - Static variable in class net.derquinse.common.uuid.SystemUUIDTimer
 
instanceOf(Class<?>) - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value tested is an instance of the given class.
IntegerMetaProperty<C> - Class in net.derquinse.common.meta
Class for integer-valued property descriptor.
IntegerMetaProperty(String, boolean, Predicate<? super Integer>, Integer) - Constructor for class net.derquinse.common.meta.IntegerMetaProperty
Default constructor.
IntegerMetaProperty(String, boolean, Predicate<? super Integer>) - Constructor for class net.derquinse.common.meta.IntegerMetaProperty
Constructor.
IntegerMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.IntegerMetaProperty
Constructor.
IntegerWaterMark - Class in net.derquinse.common.base
An int value together with its hictoric maximum and minimum values.
Interruptions - Class in net.derquinse.common.util.concurrent
Interruptions support class.
IS_RAW_TYPE - Static variable in interface net.derquinse.common.reflect.TypeDescriptor
Is raw type predicate.
isAllowOutOfOrder() - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
isCompressed() - Method in class net.derquinse.common.util.zip.MaybeCompressed
Returns whether the payload is compressed.
isDebugEnabled() - Method in class net.derquinse.common.log.ContextLog
Return whether the logger instance enabled for the DEBUG level.
isDefinedAt(F) - Method in class net.derquinse.common.base.ForwardingPartialFunction
 
isDefinedAt(F) - Method in interface net.derquinse.common.base.PartialFunction
Returns whether an input value is part of the function domain.
isDirect() - Method in class net.derquinse.common.io.MemoryByteSource
Returns whether the data is stored in direct memory.
isDirect() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns whether the loader uses direct memory.
isEmpty() - Method in class net.derquinse.common.base.ByteString
Returns true if the size is 0, false otherwise.
isEmpty() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
isEmpty() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
isEmpty() - Method in interface net.derquinse.common.collect.Hierarchy
Returns true if the hierarchy is empty.
isErrorEnabled() - Method in class net.derquinse.common.log.ContextLog
Return whether the logger instance enabled for the ERROR level.
isHeap() - Method in class net.derquinse.common.io.MemoryByteSource
Returns whether the data is stored in the heap.
isInfoEnabled() - Method in class net.derquinse.common.log.ContextLog
Return whether the logger instance enabled for the INFO level.
isMerge() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns whether the loader merges after loading.
isMutable() - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
isMutable() - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
isMutable() - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
isNull() - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value is null.
isRawType() - Method in class net.derquinse.common.reflect.AbstractTypeDescriptor
 
isRawType() - Method in interface net.derquinse.common.reflect.TypeDescriptor
Returns whether the described type is a raw type.
isReadable(Class<?>, Type, Annotation[], MediaType) - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
 
isRequired() - Method in class net.derquinse.common.meta.MetaProperty
Returns whether the property is required.
isRequired() - Method in interface net.derquinse.common.meta.WithRequiredFlag
Returns whether the property is required.
isRoot() - Method in class net.derquinse.common.meta.MetaClass
Returns whether is the root metaclass.
isRooted() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
isRooted() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
isRooted() - Method in interface net.derquinse.common.collect.Hierarchy
Returns whether the hierarchy is rooted.
isTraceEnabled() - Method in class net.derquinse.common.log.ContextLog
Return whether the logger instance enabled for the TRACE level.
isValid(T) - Method in class net.derquinse.common.meta.MetaProperty
Returns whether a value is valid.
isWarnEnabled() - Method in class net.derquinse.common.log.ContextLog
Return whether the logger instance enabled for the WARN level.
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class net.derquinse.common.jaxrs.ByteSourceBodyWriter
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
 

J

join() - Method in class net.derquinse.common.jaxrs.PathSegments
 

L

L7d - Annotation Type in net.derquinse.common.i18n
String value localized to one locale annotation.
L7dString - Annotation Type in net.derquinse.common.i18n
Localized string annotation.
last() - Method in class net.derquinse.common.jaxrs.PathSegments
 
lessOrEqual(T) - Static method in class net.derquinse.common.base.MorePredicates
Returns a predicate that evaluates to true if the object being tested is less than or equal to the given value.
lessOrEqual(T) - Method in class net.derquinse.common.meta.ComparableMetaProperty
Returns a predicate that evaluates to true if the property value is less than or equal to the given value.
lessThan(T) - Static method in class net.derquinse.common.base.MorePredicates
Returns a predicate that evaluates to true if the object being tested is less than the given value.
lessThan(T) - Method in class net.derquinse.common.meta.ComparableMetaProperty
Returns a predicate that evaluates to true if the property value is less than the given value.
list(Class<T>, Query) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the results of a query as a list of a specified class.
list(Class<T>, String, Iterable<?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the results of a named query with a list of non-null parameter values as a list of a specified class.
list(Class<T>, String, Object...) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the results of a named query with a list of non-null parameter values as a list of a specified class.
list(Class<T>, String, Map<String, ?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the results of a named query setting named parameters as a list of a specified class.
list(Query) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns the results of a query as a list of the persisted class.
listOf(Class<T>) - Static method in class net.derquinse.common.reflect.Types
Returns a type token modelling a List whose elements are of type elementType.
load(InputStream) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Loads the contents of the input stream into a memory byte source.
load(ByteSource) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Loads the contents of an existing source into a memory byte source.
load(File) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Loads the contents of an existing file into a memory byte source.
load(InputStream) - Method in class net.derquinse.common.util.zip.ZipFileLoader
Loads a zip file into memory.
load(ByteSource) - Method in class net.derquinse.common.util.zip.ZipFileLoader
Loads a zip file into memory.
load(File) - Method in class net.derquinse.common.util.zip.ZipFileLoader
Loads a zip file into memory.
LoadedZipFile - Class in net.derquinse.common.util.zip
Zip file loaded into memory.
loader(MemoryByteSourceLoader) - Method in class net.derquinse.common.util.zip.ZipFileLoader
Returns a zip file loader with the provided memory loader and the same maximum loaded size.
LOCALE_CHARS - Static variable in class net.derquinse.common.orm.PropertyLengths
Locale in chars.
Locales - Class in net.derquinse.common.i18n
Utility methods for Locales.
LocaleUserType - Class in net.derquinse.common.orm.hib
An hibernate user type representing a Locale as string.
LocaleUserType() - Constructor for class net.derquinse.common.orm.hib.LocaleUserType
Default constructor.
Localized<T> - Interface in net.derquinse.common.i18n
Generic interface for localized objects.
LocalizedBuilder<T> - Class in net.derquinse.common.i18n
A localized value builder.
LocalizedMessage - Class in net.derquinse.common.i18n
A localized formatted message.
LocalizedMessage(Localized<String>, Object...) - Constructor for class net.derquinse.common.i18n.LocalizedMessage
Default constructor.
LocalizedValues - Class in net.derquinse.common.i18n
Utility methods to build localized values.
LongEntity - Interface in net.derquinse.common.orm
Interface for entities with a primary identifier of type Long.
LongMetaProperty<C> - Class in net.derquinse.common.meta
Class for long-valued property descriptor.
LongMetaProperty(String, boolean, Predicate<? super Long>, Long) - Constructor for class net.derquinse.common.meta.LongMetaProperty
Default constructor.
LongMetaProperty(String, boolean, Predicate<? super Long>) - Constructor for class net.derquinse.common.meta.LongMetaProperty
Constructor.
LongMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.LongMetaProperty
Constructor.
LongWaterMark - Class in net.derquinse.common.base
An long value together with its hictoric maximum and minimum values.

M

mapOf(Class<K>, Class<V>) - Static method in class net.derquinse.common.reflect.Types
Returns a type modelling a Map whose keys are of type keyType and whose values are of type valueType.
MappedLongEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for model entities with an long primary key.
MappedLongEntity() - Constructor for class net.derquinse.common.orm.hib.MappedLongEntity
Default constructor.
MappedLongEntity(Long) - Constructor for class net.derquinse.common.orm.hib.MappedLongEntity
Constructor.
MappedLongVersionedEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for versioned model entities with an long primary key.
MappedLongVersionedEntity() - Constructor for class net.derquinse.common.orm.hib.MappedLongVersionedEntity
Default constructor.
MappedLongVersionedEntity(Long) - Constructor for class net.derquinse.common.orm.hib.MappedLongVersionedEntity
Constructor.
MappedStringEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for model entities with an string primary key.
MappedStringEntity() - Constructor for class net.derquinse.common.orm.hib.MappedStringEntity
Default constructor.
MappedStringEntity(String) - Constructor for class net.derquinse.common.orm.hib.MappedStringEntity
Constructor.
MappedStringVersionedEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for versioned model entities with an string primary key.
MappedStringVersionedEntity() - Constructor for class net.derquinse.common.orm.hib.MappedStringVersionedEntity
Default constructor.
MappedStringVersionedEntity(String) - Constructor for class net.derquinse.common.orm.hib.MappedStringVersionedEntity
Constructor.
MappedUUIDEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for model entities with an UUID primary key, stored in binary form.
MappedUUIDEntity() - Constructor for class net.derquinse.common.orm.hib.MappedUUIDEntity
Default constructor.
MappedUUIDEntity(UUID) - Constructor for class net.derquinse.common.orm.hib.MappedUUIDEntity
Constructor.
MappedUUIDVersionedEntity - Class in net.derquinse.common.orm.hib
Abstract superclass for versioned model entities with an UUID primary key, stored in binary form.
MappedUUIDVersionedEntity() - Constructor for class net.derquinse.common.orm.hib.MappedUUIDVersionedEntity
Default constructor.
MappedUUIDVersionedEntity(UUID) - Constructor for class net.derquinse.common.orm.hib.MappedUUIDVersionedEntity
Constructor.
MaximumSizeExceededException - Exception in net.derquinse.common.io
Exception thrown when the maximum size of the loader is exceeded.
MaximumSizeExceededException(int) - Constructor for exception net.derquinse.common.io.MaximumSizeExceededException
Constructor.
maxSize(int) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns a loader with the same configuration and the maximum allowed size specified by the argument.
maxSize(long) - Method in class net.derquinse.common.util.zip.ZipFileLoader
Returns a zip file loader with the same memory loader and the provided maximum loaded size.
MaybeCompressed<T> - Class in net.derquinse.common.util.zip
Decorator flag for an object that may be compressed.
maybeGzip(MemoryByteSourceLoader, MemoryByteSource) - Static method in class net.derquinse.common.util.zip.GZIP
Compress the input with gzip if the input is longer than 128 bytes and the output is smaller than the input.
maybeGzip(MemoryByteSourceLoader) - Static method in class net.derquinse.common.util.zip.GZIP
maybeGzip() - Method in class net.derquinse.common.util.zip.LoadedZipFile
Compress the entries with GZIP.
MD5 - Static variable in class net.derquinse.common.base.Digests
Algorithm: MD5.
md5() - Static method in class net.derquinse.common.base.Digests
Returns a Digest object that implements the MD5 algorithm.
md5(byte[]) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the MD5 digest of the provided data.
md5(ByteSource) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the MD5 digest of the provided data.
MD5_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
MD5 hash in bytes.
MemoryByteSink - Class in net.derquinse.common.io
Memory byte sink.
MemoryByteSource - Class in net.derquinse.common.io
Base class for byte sources that are guaranteed to be stored in memory, either in byte arrays in the heap or direct buffers.
MemoryByteSourceLoader - Class in net.derquinse.common.io
Memory byte source loader.
MemoryByteStreams - Class in net.derquinse.common.io
Provides utility methods for working with byte arrays, byte buffers and I/O streams backed by those.
MemoryOutputStream - Class in net.derquinse.common.io
Output stream that stores written bytes in memory readable using a MemoryByteSource.
merge() - Method in class net.derquinse.common.io.MemoryByteSource
Merges to a byte source consisting of a single chunk.
merge(int) - Method in class net.derquinse.common.io.MemoryByteSource
Merges to a byte source consisting with a chunk size of at least the provided argument.
merge(boolean) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns a loader with the same configuration and that merges the source after loading according to the provided argument.
MetaBuilder<T extends WithMetaClass> - Class in net.derquinse.common.meta
Meta builder class.
MetaClass<T extends WithMetaClass> - Class in net.derquinse.common.meta
Meta class descriptors.
MetaClassBuilder<T extends WithMetaClass> - Class in net.derquinse.common.meta
Meta class descriptor builder.
MetaField<C,T> - Class in net.derquinse.common.meta
Base class for property and flag descriptors.
MetaFlag<C> - Class in net.derquinse.common.meta
Base class for flag descriptors.
MetaFlag(String, boolean) - Constructor for class net.derquinse.common.meta.MetaFlag
Default constructor.
MetaFlag(String) - Constructor for class net.derquinse.common.meta.MetaFlag
Constructor with a default value of false.
MetaProperty<C,T> - Class in net.derquinse.common.meta
Base class for property descriptors.
MetaProperty(String, boolean, Predicate<? super T>, T) - Constructor for class net.derquinse.common.meta.MetaProperty
Default constructor.
MetaProperty(String, boolean, Predicate<? super T>) - Constructor for class net.derquinse.common.meta.MetaProperty
Constructor.
MetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.MetaProperty
Constructor.
Metas - Class in net.derquinse.common.meta
Support methods for property and flag descriptors.
Metas.ToStringHelper<C> - Class in net.derquinse.common.meta
Support class for Metas.toStringHelper(C).
MoreFunctions - Class in net.derquinse.common.base
Static utility methods pertaining to Function instances.
MorePredicates - Class in net.derquinse.common.base
Static utility methods pertaining to Predicate instances.

N

NAME - Static variable in interface net.derquinse.common.meta.WithNameProperty
Descriptor for name property.
net.derquinse.common.base - package net.derquinse.common.base
Basic utility libraries and interfaces.
net.derquinse.common.collect - package net.derquinse.common.collect
This package contains generic collection interfaces and implementations.
net.derquinse.common.gson - package net.derquinse.common.gson
 
net.derquinse.common.i18n - package net.derquinse.common.i18n
 
net.derquinse.common.io - package net.derquinse.common.io
 
net.derquinse.common.jaxrs - package net.derquinse.common.jaxrs
 
net.derquinse.common.jaxrs.gson - package net.derquinse.common.jaxrs.gson
 
net.derquinse.common.log - package net.derquinse.common.log
 
net.derquinse.common.meta - package net.derquinse.common.meta
 
net.derquinse.common.metrics.cache - package net.derquinse.common.metrics.cache
 
net.derquinse.common.orm - package net.derquinse.common.orm
 
net.derquinse.common.orm.hib - package net.derquinse.common.orm.hib
 
net.derquinse.common.orm.hib.dialect - package net.derquinse.common.orm.hib.dialect
 
net.derquinse.common.reflect - package net.derquinse.common.reflect
 
net.derquinse.common.util.concurrent - package net.derquinse.common.util.concurrent
 
net.derquinse.common.util.zip - package net.derquinse.common.util.zip
 
net.derquinse.common.uuid - package net.derquinse.common.uuid
 
newCriteria(Class<?>) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
Returns a new criteria object.
newCriteria() - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns a new criteria object.
newInput() - Method in class net.derquinse.common.base.ByteString
Creates an InputStream which can be used to read the bytes.
newInputStream(ByteBuffer) - Static method in class net.derquinse.common.io.MemoryByteStreams
Returns an input stream that reads the remaining bytes of the bprovided buffer.
newInputStreamSupplier(ByteBuffer) - Static method in class net.derquinse.common.io.MemoryByteStreams
Returns a factory that will supply instances of ByteSource that read from an sliced view of the given byte buffer.
newOutput(int) - Static method in class net.derquinse.common.base.ByteString
Creates a new ByteString.Output with the given initial capacity.
newOutput() - Static method in class net.derquinse.common.base.ByteString
Creates a new ByteString.Output.
newSink() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Creates a new sink based on this loader.
not() - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if this flag evaluates to false.
NotInstantiable - Class in net.derquinse.common.base
Marker class for not instantiable objects.
NotInstantiable() - Constructor for class net.derquinse.common.base.NotInstantiable
Constructor.
notNull() - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value being tested is not null.
nullSafe(Function<F, T>) - Static method in class net.derquinse.common.base.MoreFunctions
Returns a functions that always returns null for a null argument and the result of the provided function otherwise.
nullSafeGet(ResultSet, String[], Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
nullSafeGet(ResultSet, String[], Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
nullSafeGet(ResultSet, String[], Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
nullSafeSet(PreparedStatement, Object, int) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
nullSafeSet(PreparedStatement, Object, int) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
nullSafeSet(PreparedStatement, Object, int) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 

O

of(int) - Static method in class net.derquinse.common.base.IntegerWaterMark
Creates a new object with the provided initial value.
of() - Static method in class net.derquinse.common.base.IntegerWaterMark
Creates a new object with initial value 0.
of(long) - Static method in class net.derquinse.common.base.LongWaterMark
Creates a new object with the provided initial value.
of() - Static method in class net.derquinse.common.base.LongWaterMark
Creates a new object with initial value 0.
of() - Static method in class net.derquinse.common.collect.ImmutableHierarchy
Returns an empty immutable hierarchy.
of(T) - Static method in class net.derquinse.common.i18n.Unlocalized
Returns an unlocalized value.
of(ByteStreamTransformer) - Static method in class net.derquinse.common.io.BytesTransformer
of() - Static method in class net.derquinse.common.jaxrs.PathSegments
Returns an empty list of segments.
of(String, boolean) - Static method in class net.derquinse.common.jaxrs.PathSegments
Turns a path string into a list of decoded segments.
of(boolean, Iterable<String>) - Static method in class net.derquinse.common.jaxrs.PathSegments
Turns a collection of string into a list of decoded segments.
of(boolean, String...) - Static method in class net.derquinse.common.jaxrs.PathSegments
Turns an array of strings into a list of decoded segments.
of(Logger) - Static method in class net.derquinse.common.log.ContextLog
Returns a context log based on the provided logger.
of(String) - Static method in class net.derquinse.common.log.ContextLog
Returns a context log based on a logger with the provided name.
of(Class<?>) - Static method in class net.derquinse.common.log.ContextLog
Returns a context log based on a logger named after the provided class.
of(Class<T>) - Static method in class net.derquinse.common.meta.MetaClass
Returns the metaclass for a type, discovering it if needed.
of(Cache<?, ?>) - Static method in class net.derquinse.common.metrics.cache.CacheMetrics
Creates metrics for a Cache based on its statistics.
of(IntegerWaterMark) - Static method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Creates a new high watermark with the provided initial value.
of(int) - Static method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Creates a new object with the provided initial value.
of() - Static method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Creates a new object with initial value 0.
of(LongWaterMark) - Static method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Creates a new high watermark with the provided initial value.
of(long) - Static method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Creates a new object with the provided initial value.
of() - Static method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Creates a new object with initial value 0.
of(boolean, T) - Static method in class net.derquinse.common.util.zip.MaybeCompressed
Factory method.
openStream() - Method in class net.derquinse.common.io.MemoryByteSink
 
openStream() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Opens a new memory output stream.
or(V) - Method in class net.derquinse.common.gson.GsonObjectReader.Property
Returns the loaded value of the property or the provided value if there is no value.
or(Iterable<? extends Predicate<? super C>>) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if any one of this flag or the provided components evaluates to true.
or(Predicate<? super C>...) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if any one of this flag or the provided components evaluates to true.
or(Predicate<? super C>) - Method in class net.derquinse.common.meta.MetaFlag
Returns a predicate that evaluates to true if any of this flag or the provided predicate evaluate to true.
ordering() - Method in class net.derquinse.common.meta.ComparableMetaProperty
Returns the natural ordering on the property value.
orNull() - Method in class net.derquinse.common.gson.GsonObjectReader.Property
Returns the loaded value of the property or null if there is no value.
output(ByteSource) - Static method in class net.derquinse.common.jaxrs.ByteSourceOutput
Creates an StreamingOutput from the byte source.

P

parse(Iterable<? extends L7d>) - Static method in class net.derquinse.common.i18n.LocalizedValues
Parses a collection of L7d annotations.
parse(L7d...) - Static method in class net.derquinse.common.i18n.LocalizedValues
Parses an array of L7d annotations.
parse(L7dString) - Static method in class net.derquinse.common.i18n.LocalizedValues
Parses a L7dString annotation.
parse(Annotation, String, String) - Static method in class net.derquinse.common.i18n.LocalizedValues
Parses a custom annotation.
PartialFunction<F,T> - Interface in net.derquinse.common.base
A partial function is a unary function where the domain does not include all values of the source type.
PathSegments - Class in net.derquinse.common.jaxrs
List of non-encoded URI path segments.
property(TypeToken<V>, String) - Method in class net.derquinse.common.gson.GsonObjectReader
Returns a property.
property(MetaProperty<? super T, V>) - Method in class net.derquinse.common.gson.GsonObjectReader
Returns a property.
PropertyLengths - Class in net.derquinse.common.orm
Common lengths values used for properties in ORM mappings.
Proxies - Class in net.derquinse.common.reflect
Utility methods for Dynamic Proxies.
pushMap(Map<K, V>, Map<? extends K, ? extends V>) - Static method in class net.derquinse.common.orm.Entities
Clears the target map and inserts every non-null element from the source one.
pushSet(Set<T>, Iterable<? extends T>) - Static method in class net.derquinse.common.orm.Entities
Clears the target set and inserts every non-null element from the source iterable.
put(Locale, T) - Method in class net.derquinse.common.i18n.LocalizedBuilder
Puts the value for a locale.
putAll(Map<? extends Locale, ? extends T>) - Method in class net.derquinse.common.i18n.LocalizedBuilder
Puts all the localized values from the argument map.

Q

queue() - Method in class net.derquinse.common.io.MemoryByteSink
Returns a view of the sink queue.

R

RandomUUIDGenerator - Class in net.derquinse.common.uuid
Simple random UUID generator.
RandomUUIDGenerator() - Constructor for class net.derquinse.common.uuid.RandomUUIDGenerator
 
RAW_TYPE - Static variable in interface net.derquinse.common.reflect.WithRawTypeProperty
 
read(JsonReader) - Method in class net.derquinse.common.gson.GsonByteString
 
read(JsonReader) - Method in class net.derquinse.common.gson.GsonHashCode
 
ReadableInstantMetaProperty<C> - Class in net.derquinse.common.meta
Class for string-valued property descriptor.
ReadableInstantMetaProperty(String, boolean, Predicate<? super ReadableInstant>, ReadableInstant) - Constructor for class net.derquinse.common.meta.ReadableInstantMetaProperty
Default constructor.
ReadableInstantMetaProperty(String, boolean, Predicate<? super ReadableInstant>) - Constructor for class net.derquinse.common.meta.ReadableInstantMetaProperty
Constructor.
ReadableInstantMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ReadableInstantMetaProperty
Constructor.
readFrom(Class<T>, Type, Annotation[], MediaType, MultivaluedMap<String, String>, InputStream) - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
 
RefCounted<T> - Interface in net.derquinse.common.util.concurrent
Interface for suppliers of reference counted disposable objects.
Refs - Class in net.derquinse.common.util.concurrent
Support methods for reference objects.
register(MetricRegistry, String) - Method in class net.derquinse.common.metrics.cache.CacheMetrics
Registers the cache metrics in a registry.
registerTypes(Configuration) - Static method in class net.derquinse.common.orm.hib.Configurations
Register Joda-Time (from usertype) and user types defined in this package in the provided configuration.
removeExtension() - Method in class net.derquinse.common.jaxrs.PathSegments
Removes the extension from the last segment.
removeSegmentExtension(String) - Static method in class net.derquinse.common.jaxrs.PathSegments
Removes the extension from a segment.
replace(Object, Object, Object) - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
replace(Object, Object, Object) - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
replace(Object, Object, Object) - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
REQUIRED - Static variable in interface net.derquinse.common.meta.WithRequiredFlag
Descriptor for required flag.
returnedClass() - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
returnedClass() - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
returnedClass() - Method in class net.derquinse.common.orm.hib.LocaleUserType
 

S

safeFromString(String) - Static method in class net.derquinse.common.i18n.Locales
Returns a locale parsed from a string.
safeFromString() - Static method in class net.derquinse.common.i18n.Locales
Returns a function encapsulating the safeFromString method.
safeFromString(String) - Static method in class net.derquinse.common.uuid.UUIDs
Returns an UUID parsed from a string.
safeFromString() - Static method in class net.derquinse.common.uuid.UUIDs
Returns a function encapsulating the safeFromString method.
SafeUUIDGenerator - Class in net.derquinse.common.uuid
Default safe UUID generator.
SafeUUIDGenerator(UUIDGenerator) - Constructor for class net.derquinse.common.uuid.SafeUUIDGenerator
 
sameAs(T) - Static method in class net.derquinse.common.base.MorePredicates
Returns a predicate that evaluates to true if the object being tested is the same (identity equality) as the given target or both are null.
sameAs(T) - Method in class net.derquinse.common.meta.MetaProperty
Returns a predicate that evaluates to true if the property value is the same (identity equality) as the given target or both are null.
save(Object) - Method in interface net.derquinse.common.orm.GeneralDAO
Saves an entity.
save(T) - Method in interface net.derquinse.common.orm.GenericDAO
Saves an entity.
save(Object) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
save(T) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
saveOrUpdate(Object) - Method in interface net.derquinse.common.orm.GeneralDAO
Saves or updates an entity, depending upon resolution of the unsaved-value checks.
saveOrUpdate(T) - Method in interface net.derquinse.common.orm.GenericDAO
Saves or updates an entity, depending upon resolution of the unsaved-value checks.
saveOrUpdate(Object) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
saveOrUpdate(T) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
segment(String, boolean) - Static method in class net.derquinse.common.jaxrs.PathSegments
Turns a single segment into a list of decoded segments.
segment(URI) - Static method in class net.derquinse.common.jaxrs.PathSegments
Extracts the path from an URI.
Sequence - Interface in net.derquinse.common.orm
Interface for entities representing database row-backed sequences.
SequenceDAO - Interface in net.derquinse.common.orm
Data access object interface for the sequence entity.
SequenceImpl - Class in net.derquinse.common.orm.hib
Entity representing database row-backed sequences.
SequenceImpl() - Constructor for class net.derquinse.common.orm.hib.SequenceImpl
Default constructor.
SequenceNotFoundException - Exception in net.derquinse.common.orm
Exception thrown when a sequence is not found by name.
SequenceNotFoundException(String) - Constructor for exception net.derquinse.common.orm.SequenceNotFoundException
Initializes the exception.
serialize(T, Type, JsonSerializationContext) - Method in class net.derquinse.common.gson.GsonObjectAdapter
 
serialize(GsonObjectWriter<T>) - Method in class net.derquinse.common.gson.GsonObjectAdapter
Serializes the object.
serializeNulls() - Method in class net.derquinse.common.gson.GsonObjectWriter
Configures the writer the serialize null values.
set(int) - Method in class net.derquinse.common.base.IntegerWaterMark
Sets the new current value.
set(long) - Method in class net.derquinse.common.base.LongWaterMark
Sets the new current value.
set(MetaProperty<? super T, V>, V) - Method in class net.derquinse.common.meta.MetaBuilder
Sets a property value.
set(MetaFlag<? super T>, boolean) - Method in class net.derquinse.common.meta.MetaBuilder
Sets a flag value.
set(int) - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
Sets the current value.
set(long) - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
Sets the current value.
setAllowOutOfOrder(boolean) - Method in class net.derquinse.common.collect.ImmutableHierarchy.Builder
 
setDefault(T) - Method in class net.derquinse.common.i18n.LocalizedBuilder
Sets the default value.
setId(Long) - Method in class net.derquinse.common.orm.hib.MappedLongEntity
Sets the entity id.
setId(String) - Method in class net.derquinse.common.orm.hib.MappedStringEntity
Sets the entity id.
setId(UUID) - Method in class net.derquinse.common.orm.hib.MappedUUIDEntity
Sets the entity id.
setIncrement(long) - Method in class net.derquinse.common.orm.hib.SequenceImpl
Sets the new increment.
setIncrement(long) - Method in interface net.derquinse.common.orm.Sequence
Sets the new increment.
setOf(Class<T>) - Static method in class net.derquinse.common.reflect.Types
Returns a type modelling a Set whose elements are of type elementType.
setParameters(Query, Iterable<?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Sets the parameters of a query to a list of non-null values.
setParameters(Query, Object...) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Sets the parameters of a query to a list of non-null values.
setParameters(Query, Map<String, ?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Sets named parameters of a query.
setSessionFactory(SessionFactory) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Sets the session factory to use.
SHA1 - Static variable in class net.derquinse.common.base.Digests
Algorithm: SHA-1.
sha1() - Static method in class net.derquinse.common.base.Digests
Returns a Digest object that implements the SHA-1 algorithm.
sha1(byte[]) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-1 digest of the provided data.
sha1(ByteSource) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-1 digest of the provided data.
SHA1_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
SHA-1 hash in bytes.
SHA224_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
SHA-224 hash in bytes.
SHA256 - Static variable in class net.derquinse.common.base.Digests
Algorithm: SHA-256.
sha256() - Static method in class net.derquinse.common.base.Digests
Returns a Digest object that implements the SHA-256 algorithm.
sha256(byte[]) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-256 digest of the provided data.
sha256(ByteSource) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-256 digest of the provided data.
SHA256_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
SHA-256 hash in bytes.
SHA384_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
SHA-384 hash in bytes.
SHA512 - Static variable in class net.derquinse.common.base.Digests
Algorithm: SHA-512.
sha512() - Static method in class net.derquinse.common.base.Digests
Returns a Digest object that implements the SHA-512 algorithm.
sha512(byte[]) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-512 digest of the provided data.
sha512(ByteSource) - Static method in class net.derquinse.common.base.Digests
Computes and returns as a byte string the SHA-512 digest of the provided data.
SHA512_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
SHA-512 hash in bytes.
ShortMetaProperty<C> - Class in net.derquinse.common.meta
Class for short-valued property descriptor.
ShortMetaProperty(String, boolean, Predicate<? super Short>, Short) - Constructor for class net.derquinse.common.meta.ShortMetaProperty
Default constructor.
ShortMetaProperty(String, boolean, Predicate<? super Short>) - Constructor for class net.derquinse.common.meta.ShortMetaProperty
Constructor.
ShortMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.ShortMetaProperty
Constructor.
shutdown(Executor) - Method in interface net.derquinse.common.util.concurrent.RefCounted
Shuts the reference down.
shutdown() - Method in interface net.derquinse.common.util.concurrent.RefCounted
Shuts the reference down using the calling thread of the last disposed reference.
size() - Method in class net.derquinse.common.base.ByteString
Gets the number of bytes.
size() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
size() - Method in class net.derquinse.common.collect.ForwardingHierarchy
 
size() - Method in interface net.derquinse.common.collect.Hierarchy
Returns the number of elements in the hierarchy.
size() - Method in class net.derquinse.common.io.MemoryByteSource
Returns the exact number of bytes in the source.
sqlTypes() - Method in class net.derquinse.common.orm.hib.ByteStringUserType
 
sqlTypes() - Method in class net.derquinse.common.orm.hib.HashCodeUserType
 
sqlTypes() - Method in class net.derquinse.common.orm.hib.LocaleUserType
 
StringEntity - Interface in net.derquinse.common.orm
Interface for entities with a primary identifier of type String.
StringMetaProperty<C> - Class in net.derquinse.common.meta
Class for string-valued property descriptor.
StringMetaProperty(String, boolean, Predicate<? super String>, String) - Constructor for class net.derquinse.common.meta.StringMetaProperty
Default constructor.
StringMetaProperty(String, boolean, Predicate<? super String>) - Constructor for class net.derquinse.common.meta.StringMetaProperty
Constructor.
StringMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.StringMetaProperty
Constructor.
SUFFIX - Static variable in class net.derquinse.common.i18n.BundleLocalized
Default suffix.
sync() - Method in interface net.derquinse.common.orm.DAO
Flushes the session and clears the session cache.
sync() - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
 
SystemUUIDTimer - Class in net.derquinse.common.uuid
Simple UUID timer based on System.currentTimeMillis.
SystemUUIDTimer() - Constructor for class net.derquinse.common.uuid.SystemUUIDTimer
 

T

This<T extends This<T>> - Class in net.derquinse.common.reflect
Base class for classes that make reference to themselves' types.
This() - Constructor for class net.derquinse.common.reflect.This
Constructor.
thisValue() - Method in class net.derquinse.common.reflect.This
Returns the "this" value.
throwIfInterrupted() - Static method in class net.derquinse.common.util.concurrent.Interruptions
Throws InterruptedException if the current thread has been interrupted.
TimeBasedUUIDGenerator - Class in net.derquinse.common.uuid
Time based UUID generator.
TimeBasedUUIDGenerator(UUIDTimer, long, int) - Constructor for class net.derquinse.common.uuid.TimeBasedUUIDGenerator
 
TimeBasedUUIDGenerator(UUIDTimer) - Constructor for class net.derquinse.common.uuid.TimeBasedUUIDGenerator
 
TimeBasedUUIDGenerator(long, int) - Constructor for class net.derquinse.common.uuid.TimeBasedUUIDGenerator
 
TimeBasedUUIDGenerator() - Constructor for class net.derquinse.common.uuid.TimeBasedUUIDGenerator
 
to(String) - Method in class net.derquinse.common.log.ContextLog
Adds an aditional context.
toByteArray() - Method in class net.derquinse.common.base.ByteString
Copies bytes to a byte[].
toByteSource() - Method in class net.derquinse.common.io.MemoryOutputStream
Returns the result.
toDirect(boolean) - Method in class net.derquinse.common.io.MemoryByteSource
Transforms this source into a byte source stored in direct memory.
toDirect(int) - Method in class net.derquinse.common.io.MemoryByteSource
Transforms this source into a byte source stored in direct memory with at least the specified chunk size.
toHashCode() - Method in class net.derquinse.common.base.ByteString
Converts the byte string to a HashCode.
toHeap(boolean) - Method in class net.derquinse.common.io.MemoryByteSource
Transforms this source into a byte source stored in the heap.
toHeap(int) - Method in class net.derquinse.common.io.MemoryByteSource
Transforms this source into a byte source stored in the heap with at least the specified chunk size.
toHexString(boolean) - Method in class net.derquinse.common.base.ByteString
Constructs a new String by encoding the bytes in hexadecimal.
toHexString() - Method in class net.derquinse.common.base.ByteString
Constructs a new String by encoding the bytes in hexadecimal.
toString(String) - Method in class net.derquinse.common.base.ByteString
Constructs a new String by decoding the bytes using the specified charset.
toString() - Method in class net.derquinse.common.base.ByteString
Default toString = toHexString (max 32 chars)
toString() - Method in class net.derquinse.common.base.CIString
 
toString() - Method in class net.derquinse.common.base.IntegerWaterMark
 
toString() - Method in class net.derquinse.common.base.LongWaterMark
 
toString() - Method in class net.derquinse.common.collect.AbstractHierarchy
 
toString() - Method in class net.derquinse.common.io.BytesTransformer
 
toString() - Method in class net.derquinse.common.io.MemoryByteSourceLoader
 
toString() - Method in class net.derquinse.common.jaxrs.PathSegments
 
toString() - Method in class net.derquinse.common.meta.MetaClass
 
toString() - Method in class net.derquinse.common.meta.MetaClassBuilder
 
toString() - Method in class net.derquinse.common.meta.MetaField
 
toString() - Method in class net.derquinse.common.meta.MetaProperty
 
toString() - Method in class net.derquinse.common.meta.Metas.ToStringHelper
Returns a string in the format specified by Objects.toStringHelper(Object).
toString() - Method in class net.derquinse.common.util.concurrent.AtomicIntegerWaterMark
 
toString() - Method in class net.derquinse.common.util.concurrent.AtomicLongWaterMark
 
toString() - Method in class net.derquinse.common.util.zip.ZipFileLoader
 
toStringHelper(C) - Static method in class net.derquinse.common.meta.Metas
Creates an instance of ToStringHelper, which is an enriched Objects.ToStringHelper with support for properties and flags.
toStringUtf8() - Method in class net.derquinse.common.base.ByteString
Constructs a new String by decoding the bytes as UTF-8.
trace(String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the TRACE level.
trace(Throwable, String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the TRACE level.
transform(InputStream, OutputStream) - Method in class net.derquinse.common.io.BytesTransformer
 
transform(InputStream, ByteSink) - Method in class net.derquinse.common.io.BytesTransformer
Transforms a stream of bytes.
transform(ByteSource, ByteSink) - Method in class net.derquinse.common.io.BytesTransformer
Transforms a byte source.
transform(ByteSource, OutputStream) - Method in class net.derquinse.common.io.BytesTransformer
Transforms a byte source.
transform(InputStream, OutputStream) - Method in interface net.derquinse.common.io.ByteStreamTransformer
Transforms a stream of bytes.
transformer(ByteStreamTransformer) - Method in class net.derquinse.common.io.MemoryByteSourceLoader
Returns a loader with the same configuration and the transformer specified by the argument.
TYPE - Static variable in interface net.derquinse.common.reflect.WithTypeProperty
 
TYPE_TOKEN - Static variable in interface net.derquinse.common.reflect.WithTypeTokenProperty
 
TypeDescriptor<T> - Interface in net.derquinse.common.reflect
Base interface for type descriptors.
Types - Class in net.derquinse.common.reflect
Static methods for working with types.

U

UnableToLocalizeException - Exception in net.derquinse.common.i18n
Exception throws when an error localizing and object occurs.
UnableToLocalizeException(Throwable) - Constructor for exception net.derquinse.common.i18n.UnableToLocalizeException
 
unique(Class<T>, Query) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the unique result of a query returning instances of a specified class.
unique(Class<T>, String, Iterable<?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the unique result of a named query with a list of non-null parameter values returning instances of a specified class.
unique(Class<T>, String, Object...) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the unique result of a named query with a list of non-null parameter values returning instances of a specified class.
unique(Class<T>, String, Map<String, ?>) - Method in class net.derquinse.common.orm.hib.AbstractHibernateDAO
Returns the unique result of a named query setting named parameters returning instances of a specified class.
unique(Class<T>, Criteria, Criterion...) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
Returns the unique entity instance that matches the provided criteria.
unique(Class<T>, Criterion...) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
Returns the unique entity instance that matches the provided criteria.
unique(Query) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
Returns the unique result of a query returning instances of the persisted class.
Unlocalized<T> - Class in net.derquinse.common.i18n
Adapter for language-independent or unlocalized values.
unsupported(Class<T>) - Static method in class net.derquinse.common.reflect.Proxies
 
unsupported(Class<?>...) - Static method in class net.derquinse.common.reflect.Proxies
 
update(Object) - Method in interface net.derquinse.common.orm.GeneralDAO
Updates an entity.
update(T) - Method in interface net.derquinse.common.orm.GenericDAO
Updates an entity.
update(Object) - Method in class net.derquinse.common.orm.hib.HibernateGeneralDAO
 
update(T) - Method in class net.derquinse.common.orm.hib.HibernateGenericDAO
 
UUID_BYTES - Static variable in class net.derquinse.common.orm.PropertyLengths
UUID in bytes.
UUID_CHARS - Static variable in class net.derquinse.common.orm.PropertyLengths
UUID in chars.
UUIDEntity - Interface in net.derquinse.common.orm
Interface for entities with a primary identifier of type UUID.
UUIDGenerator - Interface in net.derquinse.common.uuid
Marker interface for UUID generators.
UUIDMetaProperty<C> - Class in net.derquinse.common.meta
Class for UUID-valued property descriptor.
UUIDMetaProperty(String, boolean, Predicate<? super UUID>, UUID) - Constructor for class net.derquinse.common.meta.UUIDMetaProperty
Default constructor.
UUIDMetaProperty(String, boolean, Predicate<? super UUID>) - Constructor for class net.derquinse.common.meta.UUIDMetaProperty
Constructor.
UUIDMetaProperty(String, boolean) - Constructor for class net.derquinse.common.meta.UUIDMetaProperty
Constructor.
UUIDs - Class in net.derquinse.common.uuid
Static utility methods pertaining to UUID objects.
UUIDTimer - Interface in net.derquinse.common.uuid
Simple interface for a timer for an UUID generator.

V

valueOf(String) - Static method in class net.derquinse.common.base.CIString
Builds a new case ignoring string from a existing string.
valueOfFunction() - Static method in class net.derquinse.common.base.CIString
Returns the valueOf static method as a function.
VERSION - Static variable in interface net.derquinse.common.orm.WithVersionProperty
Version property getter.
VersionedEntity<ID extends Serializable> - Interface in net.derquinse.common.orm
Interface for versioned entities with a primary identifier.
visit(E, E, int) - Method in interface net.derquinse.common.collect.HierarchyVisitor
Visits an entry.
visitDepthFirst(Hierarchy<E>, HierarchyVisitor<? super E>) - Static method in class net.derquinse.common.collect.Hierarchies
Traverses the hierarchy depth-first.
visitDepthFirst(Hierarchy<E>, HierarchyVisitor<? super E>, E, boolean) - Static method in class net.derquinse.common.collect.Hierarchies
Traverses the hierarchy depth-first, starting in the specified element.

W

warn(String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the WARN level.
warn(Throwable, String, Object...) - Method in class net.derquinse.common.log.ContextLog
Log a message at the WARN level.
withFallback(Localized<T>, T) - Static method in class net.derquinse.common.i18n.LocalizedValues
Wraps a localized value with another that provides fallback value.
WithMetaClass - Interface in net.derquinse.common.meta
Interface for objects with meta class descriptors.
WithNameProperty - Interface in net.derquinse.common.meta
Property name property.
WithRawTypeProperty<T> - Interface in net.derquinse.common.reflect
Interface for the "raw type" property.
WithRequiredFlag - Interface in net.derquinse.common.meta
Property required flag.
WithTypeProperty - Interface in net.derquinse.common.reflect
Interface for the "type" property.
WithTypeTokenProperty<T> - Interface in net.derquinse.common.reflect
Interface for the "type token" property.
WithVersionProperty - Interface in net.derquinse.common.orm
Interface for the version property.
wrap(byte[]) - Static method in class net.derquinse.common.io.MemoryByteSource
Creates a heap memory byte source that is backed by a the provided array.
write(JsonWriter, ByteString) - Method in class net.derquinse.common.gson.GsonByteString
 
write(JsonWriter, HashCode) - Method in class net.derquinse.common.gson.GsonHashCode
 
write(byte[], File) - Static method in class net.derquinse.common.io.DurableFiles
Overwrites a file with the contents of a byte array.The file is sync'd before being closed.
write(CharSequence, File, Charset) - Static method in class net.derquinse.common.io.DurableFiles
Writes a character sequence (such as a string) to a file using the given character set.
write(int) - Method in class net.derquinse.common.io.MemoryOutputStream
 
write(byte[], int, int) - Method in class net.derquinse.common.io.MemoryOutputStream
 
writeTo(ByteSource, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class net.derquinse.common.jaxrs.ByteSourceBodyWriter
 
writeTo(T, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class net.derquinse.common.jaxrs.gson.GenericGsonProvider
 

Z

ZipFileLoader - Class in net.derquinse.common.util.zip
Zip file loader.
A B C D E F G H I J L M N O P Q R S T U V W Z 
Skip navigation links

Copyright © 2014 Derquinse Projects. All rights reserved.