- AbstractAccessor - Class in org.batoo.common.reflect
-
Abstract definition of accessors.
- AbstractAccessor() - Constructor for class org.batoo.common.reflect.AbstractAccessor
-
- AbstractListListener<E> - Class in org.batoo.common.collections
-
Abstract implementation of ListListeners that are notified when items are added or removed.
- AbstractListListener() - Constructor for class org.batoo.common.collections.AbstractListListener
-
- acronym(String) - Static method in class org.batoo.common.util.BatooUtils
-
Returns the acronym of the name
- add(E) - Method in class org.batoo.common.collections.FastLinkedList
- add(int, E) - Method in class org.batoo.common.collections.FastLinkedList
- add(E) - Method in class org.batoo.common.collections.FastLinkedListIterator
- add(K, V) - Method in interface org.batoo.common.util.MultiValueMap
-
Add the given single value to the current list of values for the given key.
- addAll(Collection<? extends E>) - Method in class org.batoo.common.collections.FastLinkedList
- addAll(int, Collection<? extends E>) - Method in class org.batoo.common.collections.FastLinkedList
- addAll(Collection<? extends E>, Collection<E>) - Static method in class org.batoo.common.util.BatooUtils
-
Adds all the elements in the source to target.
- addFirst(E) - Method in class org.batoo.common.collections.FastLinkedList
- addLast(E) - Method in class org.batoo.common.collections.FastLinkedList
- addObjectToArray(A[], O) - Static method in class org.batoo.common.util.ObjectUtils
-
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
- addStringToArray(String[], String) - Static method in class org.batoo.common.util.StringUtils
-
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given
String.
- applyRelativePath(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Apply the given relative path to the given path, assuming standard Java folder separation (i.e.
- arrayToCommaDelimitedString(Object[]) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to return a String array as a CSV String.
- arrayToDelimitedString(Object[], String) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to return a String array as a delimited (e.g.
- arrayToList(Object) - Static method in class org.batoo.common.util.CollectionUtils
-
Convert the supplied array into a List.
- Assert - Class in org.batoo.common.util
-
Assertion utility class that assists in validating arguments.
- Assert() - Constructor for class org.batoo.common.util.Assert
-
- capitalize(String) - Static method in class org.batoo.common.util.StringUtils
-
- caseInsensitiveValueOf(E[], String) - Static method in class org.batoo.common.util.ObjectUtils
-
- cleanPath(String) - Static method in class org.batoo.common.util.StringUtils
-
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
- clear() - Method in class org.batoo.common.collections.FastLinkedList
- clone() - Method in class org.batoo.common.collections.FastLinkedList
- collectionToCommaDelimitedString(Collection<?>) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to return a Collection as a CSV String.
- collectionToDelimitedString(Collection<?>, String) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to return a Collection as a delimited (e.g.
- collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to return a Collection as a delimited (e.g.
- CollectionUtils - Class in org.batoo.common.util
-
Miscellaneous collection utility methods.
- CollectionUtils() - Constructor for class org.batoo.common.util.CollectionUtils
-
- commaDelimitedListToSet(String) - Static method in class org.batoo.common.util.StringUtils
-
Convenience method to convert a CSV string list to a set.
- commaDelimitedListToStringArray(String) - Static method in class org.batoo.common.util.StringUtils
-
Convert a CSV list into an array of Strings.
- concatenateStringArrays(String[], String[]) - Static method in class org.batoo.common.util.StringUtils
-
Concatenate the given String arrays into one, with overlapping array elements included twice.
- ConstructorAccessor - Class in org.batoo.common.reflect
-
The interface to construct objects.
- ConstructorAccessor() - Constructor for class org.batoo.common.reflect.ConstructorAccessor
-
- contains(Object) - Method in class org.batoo.common.collections.FastLinkedList
- contains(Enumeration<?>, Object) - Static method in class org.batoo.common.util.CollectionUtils
-
Check whether the given Enumeration contains the given element.
- contains(Iterator<?>, Object) - Static method in class org.batoo.common.util.CollectionUtils
-
Check whether the given Iterator contains the given element.
- containsAny(Collection<?>, Collection<?>) - Static method in class org.batoo.common.util.CollectionUtils
-
Return true if any element in 'candidates' is contained in 'source'; otherwise returns
false.
- containsConstant(Enum<?>[], String) - Static method in class org.batoo.common.util.ObjectUtils
-
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
- containsConstant(Enum<?>[], String, boolean) - Static method in class org.batoo.common.util.ObjectUtils
-
Check whether the given array of enum constants contains a constant with the given name.
- containsElement(Object[], Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Check whether the given array contains the given element.
- containsInstance(Collection<?>, Object) - Static method in class org.batoo.common.util.CollectionUtils
-
Check whether the given Collection contains the given element instance.
- containsWhitespace(CharSequence) - Static method in class org.batoo.common.util.StringUtils
-
Check whether the given CharSequence contains any whitespace characters.
- containsWhitespace(String) - Static method in class org.batoo.common.util.StringUtils
-
Check whether the given String contains any whitespace characters.
- convertNumber(Number, Class<?>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Converts the number into number Type
- countOccurrencesOf(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Count the occurrences of the substring in string s.
- create(F, S) - Static method in class org.batoo.jpa.core.util.Pair
-
Creates a pair.
- createConstructor(Constructor<?>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Creates and returns a fast constructor accessor.
- createMemberName(Member) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the qualified name for the member.
- debug(String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- debug(String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- debug(Throwable, String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- debug(Throwable, String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- debug(String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- debug(String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- debug(Throwable, String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- debug(Throwable, String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- delete(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Delete all occurrences of the given substring.
- deleteAny(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Delete any character in a given String.
- delimitedListToStringArray(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Take a String which is a delimited list and convert it to a String array.
- delimitedListToStringArray(String, String, String) - Static method in class org.batoo.common.util.StringUtils
-
Take a String which is a delimited list and convert it to a String array.
- descendingIterator() - Method in class org.batoo.common.collections.FastLinkedList
- doesNotContain(String, String) - Static method in class org.batoo.common.util.Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String, String) - Static method in class org.batoo.common.util.Assert
-
Assert that the given text does not contain the given substring.
- FastLinkedList<E> - Class in org.batoo.common.collections
-
Doubly-linked list implementation that avoids interfaces.
- FastLinkedList() - Constructor for class org.batoo.common.collections.FastLinkedList
-
Constructs an empty list.
- FastLinkedList(AbstractListListener<E>) - Constructor for class org.batoo.common.collections.FastLinkedList
-
Constructs an empty list with an optional addition removal listener.
- FastLinkedList(AbstractListListener<E>, Collection<? extends E>) - Constructor for class org.batoo.common.collections.FastLinkedList
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- FastLinkedList(Collection<? extends E>) - Constructor for class org.batoo.common.collections.FastLinkedList
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- FastLinkedListIterator<E> - Class in org.batoo.common.collections
-
- fatal(String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- fatal(String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- fatal(Throwable, String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- fatal(Throwable, String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- fatal(String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- fatal(String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- fatal(Throwable, String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- fatal(Throwable, String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- FieldAccessor - Class in org.batoo.common.reflect
-
- FieldAccessor(Field) - Constructor for class org.batoo.common.reflect.FieldAccessor
-
- FinalWrapper<T> - Class in org.batoo.common.util
-
The wrapper to use instead of double synchronized blocks.
- FinalWrapper(T) - Constructor for class org.batoo.common.util.FinalWrapper
-
- findCommonElementType(Collection<?>) - Static method in class org.batoo.common.util.CollectionUtils
-
Find the common element type of the given Collection, if any.
- findFirstMatch(Collection<?>, Collection<?>) - Static method in class org.batoo.common.util.CollectionUtils
-
Return the first element in 'candidates' that is contained in 'source'.
- findValueOfType(Collection<?>, Class<?>[]) - Static method in class org.batoo.common.util.CollectionUtils
-
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then
searching for a value of the second type, etc.
- findValueOfType(Collection<?>, Class<T>) - Static method in class org.batoo.common.util.CollectionUtils
-
Find a single value of the given type in the given Collection.
- get(int) - Method in class org.batoo.common.collections.FastLinkedList
- get(Object) - Method in class org.batoo.common.reflect.AbstractAccessor
-
Returns the value of the member.
- get(Object) - Method in class org.batoo.common.reflect.FieldAccessor
-
Returns the value of the member.
- get(Object) - Method in class org.batoo.common.reflect.PropertyAccessor
-
Returns the value of the member.
- get(Object) - Method in class org.batoo.common.reflect.UnsafeFieldAccessor
-
Returns the value of the member.
- getAccessor(Member) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the accessor for the member
- getActualType(Class<?>, String, Class<?>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the actual type of the attribute, resolving generic types if necessary.
- getAnnotation(Member, Class<A>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the annotation instance if the member has the annotation.
- getDisplayString(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a content-based String representation if obj is not null; otherwise returns an empty String.
- getFilename(String) - Static method in class org.batoo.common.util.StringUtils
-
Extract the filename from the given path, e.g.
- getFilenameExtension(String) - Static method in class org.batoo.common.util.StringUtils
-
Extract the filename extension from the given path, e.g.
- getFirst() - Method in class org.batoo.common.collections.FastLinkedList
- getFirst(K) - Method in interface org.batoo.common.util.MultiValueMap
-
Return the first value for the given key.
- getFirst() - Method in class org.batoo.jpa.core.util.Pair
-
Returns the first.
- getGenericType(Member, int) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the actual generic type of a class's type parameter of the member.
- getIdentityHexString(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hex String form of an object's identity hash code.
- getLast() - Method in class org.batoo.common.collections.FastLinkedList
- getLogger(Class<?>) - Static method in class org.batoo.common.log.BLoggerFactory
-
Returns an instance of BLogger for the class
- getLogger(String) - Static method in class org.batoo.common.log.BLoggerFactory
-
Returns an instance of BLogger with the class
- getMemberType(Member) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the type class of the member.
- getName() - Method in class org.batoo.common.reflect.PropertyDescriptor
-
Returns the name of the PropertyDescriptor.
- getProperties(Class<?>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns the property descriptors for the class.
- getReader() - Method in class org.batoo.common.reflect.PropertyDescriptor
-
Returns the reader of the PropertyDescriptor.
- getSecond() - Method in class org.batoo.jpa.core.util.Pair
-
Returns the second.
- getWriter() - Method in class org.batoo.common.reflect.PropertyDescriptor
-
Returns the writer of the PropertyDescriptor.
- identityToString(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of an object's overall identity.
- IncrementalNamingThreadFactory - Class in org.batoo.jpa.core.util
-
Thread factory that names the threads in the form of "name [no]".
- IncrementalNamingThreadFactory(String) - Constructor for class org.batoo.jpa.core.util.IncrementalNamingThreadFactory
-
- indent(String) - Static method in class org.batoo.common.util.BatooUtils
-
Indents the string by one tab.
- indexOf(Object) - Method in class org.batoo.common.collections.FastLinkedList
- info(String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- info(String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- info(Throwable, String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- info(Throwable, String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- info(String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- info(String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- info(Throwable, String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- info(Throwable, String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- InternalInstance - Interface in org.batoo.common.reflect
-
Instance is an internal instance.
- isArray(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Determine whether the given object is an array: either an Object array or a primitive array.
- isAssignable(Class<?>, Class<?>) - Static method in class org.batoo.common.util.Assert
-
Assert that superType.isAssignableFrom(subType) is true.
- isAssignable(Class<?>, Class<?>, String) - Static method in class org.batoo.common.util.Assert
-
Assert that superType.isAssignableFrom(subType) is true.
- isBlank(String) - Static method in class org.batoo.common.util.StringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isCheckedException(Throwable) - Static method in class org.batoo.common.util.ObjectUtils
-
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
- isCollection(Class<?>) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Returns if the type is a collection type.
- isCompatibleWithThrowsClause(Throwable, Class<?>[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Check whether the given exception is compatible with the exceptions declared in a throws clause.
- isDebugEnabled() - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Returns if the logger instance enabled for the DEBUG level.
- isDebugEnabled() - Method in interface org.batoo.common.log.BLogger
-
Returns if the logger instance enabled for the DEBUG level.
- isEmpty(Collection<?>) - Static method in class org.batoo.common.util.CollectionUtils
-
Return true if the supplied Collection is null or empty.
- isEmpty(Map<?, ?>) - Static method in class org.batoo.common.util.CollectionUtils
-
Return true if the supplied Map is null or empty.
- isEmpty(Object[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Determine whether the given array is empty: i.e.
- isErrorEnabled() - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Returns if the logger instance enabled for the ERROR level.
- isErrorEnabled() - Method in interface org.batoo.common.log.BLogger
-
Returns if the logger instance enabled for the ERROR level.
- isInfoEnabled() - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Returns if the logger instance enabled for the INFO level.
- isInfoEnabled() - Method in interface org.batoo.common.log.BLogger
-
Returns if the logger instance enabled for the INFO level.
- isInstanceOf(Class<?>, Object) - Static method in class org.batoo.common.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class<?>, Object, String) - Static method in class org.batoo.common.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isNotBlank(String) - Static method in class org.batoo.common.util.StringUtils
-
Checks if a String is not empty (""), not null and not whitespace only.
- isNull(Object) - Static method in class org.batoo.common.util.Assert
-
Assert that an object is null .
- isNull(Object, String) - Static method in class org.batoo.common.util.Assert
-
Assert that an object is null .
- isTraceEnabled() - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Returns if the logger instance enabled for the TRACE level.
- isTraceEnabled() - Method in interface org.batoo.common.log.BLogger
-
Returns if the logger instance enabled for the TRACE level.
- isTrue(boolean) - Static method in class org.batoo.common.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
- isTrue(boolean, String) - Static method in class org.batoo.common.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
- isWarnEnabled() - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Returns if the logger instance enabled for the WARN level.
- isWarnEnabled() - Method in interface org.batoo.common.log.BLogger
-
Returns if the logger instance enabled for the WARN level.
- iterator() - Method in class org.batoo.common.collections.FastLinkedList
- newInstance(Object[]) - Method in class org.batoo.common.reflect.ConstructorAccessor
-
Constructs the object.
- newInstance(Object[]) - Method in class org.batoo.common.reflect.SimpleConstructorAccessor
-
Constructs the object.
- newInstance(Object[]) - Method in class org.batoo.common.reflect.SunConstructorAccessor
-
Constructs the object.
- newThread(Runnable) - Method in class org.batoo.jpa.core.util.IncrementalNamingThreadFactory
- next() - Method in class org.batoo.common.collections.FastLinkedListIterator
- nextIndex() - Method in class org.batoo.common.collections.FastLinkedListIterator
- noNullElements(Object[]) - Static method in class org.batoo.common.util.Assert
-
Assert that an array has no null elements.
- noNullElements(Object[], String) - Static method in class org.batoo.common.util.Assert
-
Assert that an array has no null elements.
- notBlank(String) - Static method in class org.batoo.common.util.Assert
-
Assert that a string is not null, and has characters other than white space characters.
- notBlank(String, String) - Static method in class org.batoo.common.util.Assert
-
Assert that a string is not null, and has charachters other than white space characters.
- notEmpty(Collection<?>) - Static method in class org.batoo.common.util.Assert
-
Assert that a collection has elements; that is, it must not be null and must have at least one element.
- notEmpty(Collection<?>, String) - Static method in class org.batoo.common.util.Assert
-
Assert that a collection has elements; that is, it must not be null and must have at least one element.
- notEmpty(Map<?, ?>) - Static method in class org.batoo.common.util.Assert
-
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
- notEmpty(Map<?, ?>, String) - Static method in class org.batoo.common.util.Assert
-
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
- notEmpty(Object[]) - Static method in class org.batoo.common.util.Assert
-
Assert that an array has elements; that is, it must not be null and must have at least one element.
- notEmpty(Object[], String) - Static method in class org.batoo.common.util.Assert
-
Assert that an array has elements; that is, it must not be null and must have at least one element.
- notNull(Object) - Static method in class org.batoo.common.util.Assert
-
Assert that an object is not null .
- notNull(Object, String) - Static method in class org.batoo.common.util.Assert
-
Assert that an object is not null .
- nullSafeClassName(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Determine the class name for the given object.
- nullSafeEquals(Object, Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Determine if the given objects are equal, returning true if both are null or false if only one
is null.
- nullSafeHashCode(boolean[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(byte[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(char[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(double[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(float[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(int[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(long[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
- nullSafeHashCode(Object[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(short[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeToString(boolean[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(byte[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(char[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(double[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(float[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(int[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(long[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the specified Object.
- nullSafeToString(Object[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(short[]) - Static method in class org.batoo.common.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- Pair<F,S> - Class in org.batoo.jpa.core.util
-
A utility class to hold two values together.
- Pair(F, S) - Constructor for class org.batoo.jpa.core.util.Pair
-
- parseLocaleString(String) - Static method in class org.batoo.common.util.StringUtils
-
Parse the given
localeString value into a
Locale.
- pathEquals(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Compare two paths after normalization of them.
- peek() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves, but does not remove, the head (first element) of this list.
- peekFirst() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves, but does not remove, the first element of this list, or returns null if this list is empty.
- peekLast() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves, but does not remove, the last element of this list, or returns null if this list is empty.
- poll() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves and removes the head (first element) of this list.
- pollFirst() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves and removes the first element of this list, or returns null if this list is empty.
- pollLast() - Method in class org.batoo.common.collections.FastLinkedList
-
Retrieves and removes the last element of this list, or returns null if this list is empty.
- pop() - Method in class org.batoo.common.collections.FastLinkedList
-
Pops an element from the stack represented by this list.
- previous() - Method in class org.batoo.common.collections.FastLinkedListIterator
- previousIndex() - Method in class org.batoo.common.collections.FastLinkedListIterator
- PropertyAccessor - Class in org.batoo.common.reflect
-
- PropertyAccessor(PropertyDescriptor) - Constructor for class org.batoo.common.reflect.PropertyAccessor
-
- PropertyDescriptor - Class in org.batoo.common.reflect
-
A Simple property desciptor.
- PropertyDescriptor(Class<?>, String, Method) - Constructor for class org.batoo.common.reflect.PropertyDescriptor
-
- push(E) - Method in class org.batoo.common.collections.FastLinkedList
-
Pushes an element onto the stack represented by this list.
- set(int, E) - Method in class org.batoo.common.collections.FastLinkedList
-
Replaces the element at the specified position in this list with the specified element.
- set(E) - Method in class org.batoo.common.collections.FastLinkedListIterator
- set(Object, Object) - Method in class org.batoo.common.reflect.AbstractAccessor
-
Sets the value of the member.
- set(Object, Object) - Method in class org.batoo.common.reflect.FieldAccessor
-
Sets the value of the member.
- set(Object, Object) - Method in class org.batoo.common.reflect.PropertyAccessor
-
Sets the value of the member.
- set(Object, Object) - Method in class org.batoo.common.reflect.UnsafeFieldAccessor
-
Sets the value of the member.
- set(K, V) - Method in interface org.batoo.common.util.MultiValueMap
-
Set the given single value under the given key.
- setAccessible(Member, boolean) - Static method in class org.batoo.common.reflect.ReflectHelper
-
Sets the member's accessibility status.
- setAll(Map<K, V>) - Method in interface org.batoo.common.util.MultiValueMap
-
Set the given values under.
- setDetailLevel(ToStringBuilder.DetailLevel) - Static method in class org.batoo.common.log.ToStringBuilder
-
Sets the context detail level.
- SimpleConstructorAccessor - Class in org.batoo.common.reflect
-
Constructor accessor for non-sun java environments.
- SimpleConstructorAccessor(Constructor<?>) - Constructor for class org.batoo.common.reflect.SimpleConstructorAccessor
-
- size() - Method in class org.batoo.common.collections.FastLinkedList
-
Returns the number of elements in this list.
- sortStringArray(String[]) - Static method in class org.batoo.common.util.StringUtils
-
Turn given source String array into sorted array.
- split(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Split a String at the first occurrence of the delimiter.
- splitArrayElementsIntoProperties(String[], String) - Static method in class org.batoo.common.util.StringUtils
-
Take an array Strings and split each element based on the given delimiter.
- splitArrayElementsIntoProperties(String[], String, String) - Static method in class org.batoo.common.util.StringUtils
-
Take an array Strings and split each element based on the given delimiter.
- startsWithIgnoreCase(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Test if the given String starts with the specified prefix, ignoring upper/lower case.
- state(boolean) - Static method in class org.batoo.common.util.Assert
-
- state(boolean, String) - Static method in class org.batoo.common.util.Assert
-
Assert a boolean expression, throwing IllegalStateException if the test result is false.
- StringUtils - Class in org.batoo.common.util
-
Miscellaneous
String utility methods.
- StringUtils() - Constructor for class org.batoo.common.util.StringUtils
-
- stripFilenameExtension(String) - Static method in class org.batoo.common.util.StringUtils
-
Strip the filename extension from the given path, e.g.
- substringMatch(CharSequence, int, CharSequence) - Static method in class org.batoo.common.util.StringUtils
-
Test whether the given string matches the given substring at the given index.
- subtract(Collection<X>, Collection<X>) - Static method in class org.batoo.common.util.BatooUtils
-
- subtract(Map<X, Y>, Map<X, Y>) - Static method in class org.batoo.common.util.BatooUtils
-
- SunConstructorAccessor - Class in org.batoo.common.reflect
-
Constructor accessor for sun java environents.
- SunConstructorAccessor(Object) - Constructor for class org.batoo.common.reflect.SunConstructorAccessor
-
- toArray() - Method in class org.batoo.common.collections.FastLinkedList
-
Returns an array containing all of the elements in this list in proper sequence (from first to last element).
- toArray(T[]) - Method in class org.batoo.common.collections.FastLinkedList
-
Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
- toArray(Enumeration<E>, A[]) - Static method in class org.batoo.common.util.CollectionUtils
-
Marshal the elements from the given enumeration into an array of the given type.
- toIterator(Enumeration<E>) - Static method in class org.batoo.common.util.CollectionUtils
-
Adapt an enumeration to an iterator.
- tokenizeToStringArray(String, String) - Static method in class org.batoo.common.util.StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- tokenizeToStringArray(String, String, boolean, boolean) - Static method in class org.batoo.common.util.StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- toLanguageTag(Locale) - Static method in class org.batoo.common.util.StringUtils
-
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
- toMultiValueMap(Map<K, List<V>>) - Static method in class org.batoo.common.util.CollectionUtils
-
Adapts a Map<K, List<V>> to an MultiValueMap<K,V>.
- toObjectArray(Object) - Static method in class org.batoo.common.util.ObjectUtils
-
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
- toSingleValueMap() - Method in interface org.batoo.common.util.MultiValueMap
-
Returns the first values contained in this MultiValueMap.
- toString() - Method in class org.batoo.common.util.FinalWrapper
- toString() - Method in class org.batoo.jpa.core.util.Pair
- toStringArray(Collection<String>) - Static method in class org.batoo.common.util.StringUtils
-
Copy the given Collection into a String array.
- toStringArray(Enumeration<String>) - Static method in class org.batoo.common.util.StringUtils
-
Copy the given Enumeration into a String array.
- ToStringBuilder - Class in org.batoo.common.log
-
Extended version of ReflectionToStringBuilder to further style and inline the children elements.
- ToStringBuilder(Object) - Constructor for class org.batoo.common.log.ToStringBuilder
-
- ToStringBuilder(Object, ToStringBuilder.DetailLevel) - Constructor for class org.batoo.common.log.ToStringBuilder
-
- ToStringBuilder.DetailLevel - Enum in org.batoo.common.log
-
The detail level
- trace(String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- trace(String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- trace(Throwable, String) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- trace(Throwable, String, Object...) - Method in class org.batoo.common.impl.log.BLoggerImpl
-
Convenience method to log a message
- trace(String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- trace(String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- trace(Throwable, String) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- trace(Throwable, String, Object...) - Method in interface org.batoo.common.log.BLogger
-
Convenience method to log a message
- tree(String) - Static method in class org.batoo.common.util.BatooUtils
-
Indents the string by one tab.
- trimAllWhitespace(String) - Static method in class org.batoo.common.util.StringUtils
-
Trim all whitespace from the given String: leading, trailing, and inbetween characters.
- trimArrayElements(String[]) - Static method in class org.batoo.common.util.StringUtils
-
Trim the elements of the given String array, calling String.trim() on each of them.
- trimLeadingCharacter(String, char) - Static method in class org.batoo.common.util.StringUtils
-
Trim all occurences of the supplied leading character from the given String.
- trimLeadingWhitespace(String) - Static method in class org.batoo.common.util.StringUtils
-
Trim leading whitespace from the given String.
- trimTrailingCharacter(String, char) - Static method in class org.batoo.common.util.StringUtils
-
Trim all occurences of the supplied trailing character from the given String.
- trimTrailingWhitespace(String) - Static method in class org.batoo.common.util.StringUtils
-
Trim trailing whitespace from the given String.
- trimWhitespace(String) - Static method in class org.batoo.common.util.StringUtils
-
Trim leading and trailing whitespace from the given String.