A B C D E F G H I M N O P Q R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accessibleConstructor(Class<T>, Class<?>...) - Static method in class yakworks.util.ReflectionUtils
-
Obtain an accessible constructor for the given class and parameters.
- addObjectToArray(A[], O) - Static method in class yakworks.util.ObjectUtils
-
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
- addResourcePathToPackagePath(Class<?>, String) - Static method in class yakworks.util.ClassUtils
-
Return a path suitable for use with
ClassLoader.getResource(also suitable for use withClass.getResourceby prepending a slash ('/') to the return value). - addStringToArray(String[], String) - Static method in class yakworks.util.StringUtils
-
Append the given
Stringto the givenStringarray, returning a new array consisting of the input array contents plus the givenString. - and(ReflectionUtils.FieldFilter) - Method in interface yakworks.util.ReflectionUtils.FieldFilter
-
Create a composite filter based on this filter and the provided filter.
- and(ReflectionUtils.MethodFilter) - Method in interface yakworks.util.ReflectionUtils.MethodFilter
-
Create a composite filter based on this filter and the provided filter.
- applyRelativePath(String, String) - Static method in class yakworks.util.StringUtils
-
Apply the given relative path to the given Java resource path, assuming standard Java folder separation (i.e.
- ARRAY_SUFFIX - Static variable in class yakworks.util.ClassUtils
-
Suffix for array class names:
"[]". - arrayToCommaDelimitedString(Object[]) - Static method in class yakworks.util.StringUtils
-
Convert a
Stringarray into a comma delimitedString(i.e., CSV). - arrayToDelimitedString(Object[], String) - Static method in class yakworks.util.StringUtils
-
Convert a
Stringarray into a delimitedString(e.g. - Assert - Class in yakworks.util
-
Assertion utility class that assists in validating arguments.
- Assert() - Constructor for class yakworks.util.Assert
- AssignUtils - Class in yakworks.commons.lang
-
Provides methods to help with reflective operations
- AssignUtils() - Constructor for class yakworks.commons.lang.AssignUtils
B
- BUFFER_SIZE - Static variable in class yakworks.util.StreamUtils
-
The default buffer size used when copying bytes.
C
- calculateShift(int, int) - Static method in class yakworks.util.ConcurrentReferenceHashMap
-
Calculate a shift value that can be used to create a power-of-two value between the specified maximum and minimum values.
- capitalize(String) - Static method in class yakworks.util.StringUtils
-
Capitalize a
String, changing the first letter to upper case as perCharacter.toUpperCase(char). - caseInsensitiveValueOf(E[], String) - Static method in class yakworks.util.ObjectUtils
-
Case insensitive alternative to
Enum.valueOf(Class, String). - CGLIB_CLASS_SEPARATOR - Static variable in class yakworks.util.ClassUtils
-
The CGLIB class separator:
"$$". - CLASS_FILE_SUFFIX - Static variable in class yakworks.util.ClassUtils
-
The ".class" file suffix.
- classNamesToString(Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Build a String that consists of the names of the classes/interfaces in the given array.
- classNamesToString(Collection<Class<?>>) - Static method in class yakworks.util.ClassUtils
-
Build a String that consists of the names of the classes/interfaces in the given collection.
- classPackageAsResourcePath(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').
- ClassUtils - Class in yakworks.util
-
Miscellaneous
java.lang.Classutility methods. - ClassUtils() - Constructor for class yakworks.util.ClassUtils
- cleanPath(String) - Static method in class yakworks.util.StringUtils
-
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
- clear() - Method in class yakworks.util.ConcurrentReferenceHashMap
- clear() - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
-
Clear all items from this segment.
- clearCache() - Static method in class yakworks.util.ReflectionUtils
-
Clear the internal method/field cache.
- collectionToCommaDelimitedString(Collection<?>) - Static method in class yakworks.util.StringUtils
-
Convert a
Collectioninto a delimitedString(e.g., CSV). - collectionToDelimitedString(Collection<?>, String) - Static method in class yakworks.util.StringUtils
-
Convert a
Collectioninto a delimitedString(e.g. - collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class yakworks.util.StringUtils
-
Convert a
Collectionto a delimitedString(e.g. - CollectionUtils - Class in yakworks.util
-
Miscellaneous collection utility methods.
- CollectionUtils() - Constructor for class yakworks.util.CollectionUtils
- commaDelimitedListToSet(String) - Static method in class yakworks.util.StringUtils
-
Convert a comma delimited list (e.g., a row from a CSV file) into a set.
- commaDelimitedListToStringArray(String) - Static method in class yakworks.util.StringUtils
-
Convert a comma delimited list (e.g., a row from a CSV file) into an array of strings.
- concatenateStringArrays(String[], String[]) - Static method in class yakworks.util.StringUtils
-
Concatenate the given
Stringarrays into one, with overlapping array elements included twice. - ConcurrentReferenceHashMap<K,V> - Class in yakworks.util
- ConcurrentReferenceHashMap() - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int, float) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int, float, int) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int, int) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class yakworks.util.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMapinstance. - ConcurrentReferenceHashMap.Entry<K,V> - Class in yakworks.util
-
A single map entry.
- ConcurrentReferenceHashMap.Reference<K,V> - Interface in yakworks.util
-
A reference to an
ConcurrentReferenceHashMap.Entrycontained in the map. - ConcurrentReferenceHashMap.ReferenceManager - Class in yakworks.util
-
Strategy class used to manage
References. - ConcurrentReferenceHashMap.ReferenceType - Enum in yakworks.util
-
Various reference types supported by this map.
- ConcurrentReferenceHashMap.Restructure - Enum in yakworks.util
-
The types of restructuring that can be performed.
- ConcurrentReferenceHashMap.Segment - Class in yakworks.util
-
A single segment used to divide the map to allow better concurrent performance.
- containsConstant(Enum<?>[], String) - Static method in class yakworks.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 yakworks.util.ObjectUtils
-
Check whether the given array of enum constants contains a constant with the given name.
- containsElement(Object[], Object) - Static method in class yakworks.util.ObjectUtils
-
Check whether the given array contains the given element.
- containsKey(Object) - Method in class yakworks.util.ConcurrentReferenceHashMap
- containsWhitespace(CharSequence) - Static method in class yakworks.util.StringUtils
-
Check whether the given
CharSequencecontains any whitespace characters. - containsWhitespace(String) - Static method in class yakworks.util.StringUtils
-
Check whether the given
Stringcontains any whitespace characters. - convertClassNameToResourcePath(String) - Static method in class yakworks.util.ClassUtils
-
Convert a "."-based fully qualified class name to a "/"-based resource path.
- convertResourcePathToClassName(String) - Static method in class yakworks.util.ClassUtils
-
Convert a "/"-based resource path to a "."-based fully qualified class name.
- copy(byte[], OutputStream) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given byte array to the given OutputStream.
- copy(InputStream, OutputStream) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given InputStream to the given OutputStream.
- copy(String, Charset, OutputStream) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given String to the given OutputStream.
- COPYABLE_FIELDS - Static variable in class yakworks.util.ReflectionUtils
-
Pre-built FieldFilter that matches all non-static, non-final fields.
- copyRange(InputStream, OutputStream, long, long) - Static method in class yakworks.util.StreamUtils
-
Copy a range of content of the given InputStream to the given OutputStream.
- copyToByteArray(InputStream) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given InputStream into a new byte array.
- copyToString(ByteArrayOutputStream, Charset) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given
ByteArrayOutputStreaminto aString. - copyToString(InputStream, Charset) - Static method in class yakworks.util.StreamUtils
-
Copy the contents of the given InputStream into a String.
- countOccurrencesOf(String, String) - Static method in class yakworks.util.StringUtils
-
Count the occurrences of the substring
subin stringstr. - createCompositeInterface(Class<?>[], ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Create a composite interface Class for the given interfaces, implementing the given interfaces in one single Class.
- createReference(ConcurrentReferenceHashMap.Entry<K, V>, int, ConcurrentReferenceHashMap.Reference<K, V>) - Method in class yakworks.util.ConcurrentReferenceHashMap.ReferenceManager
-
Factory method used to create a new
ConcurrentReferenceHashMap.Reference. - createReferenceManager() - Method in class yakworks.util.ConcurrentReferenceHashMap
-
Factory method that returns the
ConcurrentReferenceHashMap.ReferenceManager.
D
- declaresException(Method, Class<?>) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method explicitly declares the given exception or one of its superclasses, which means that an exception of that type can be propagated as-is within a reflective invocation.
- delete(String, String) - Static method in class yakworks.util.StringUtils
-
Delete all occurrences of the given substring.
- deleteAny(String, String) - Static method in class yakworks.util.StringUtils
-
Delete any character in a given
String. - delimitedListToStringArray(String, String) - Static method in class yakworks.util.StringUtils
-
Take a
Stringthat is a delimited list and convert it into aStringarray. - delimitedListToStringArray(String, String, String) - Static method in class yakworks.util.StringUtils
-
Take a
Stringthat is a delimited list and convert it into aStringarray. - deserialize(JsonParser, DeserializationContext) - Method in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeDeserializer
- determineCommonAncestor(Class<?>, Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine the common ancestor of the given classes, if any.
- doesNotContain(String, String) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.doesNotContain(String, String, String) - doesNotContain(String, String, String) - Static method in class yakworks.util.Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that the given text does not contain the given substring.
- doTask(int, Object, ConcurrentReferenceHashMap.Task<T>) - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
-
Apply an update operation to this segment.
- doWith(Field) - Method in interface yakworks.util.ReflectionUtils.FieldCallback
-
Perform an operation using the given field.
- doWith(Method) - Method in interface yakworks.util.ReflectionUtils.MethodCallback
-
Perform an operation using the given method.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class yakworks.util.ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - Static method in class yakworks.util.ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
- doWithLocalFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class yakworks.util.ReflectionUtils
-
Invoke the given callback on all locally declared fields in the given class.
- doWithLocalMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class yakworks.util.ReflectionUtils
-
Perform the given callback operation on all matching methods of the given class, as locally declared or equivalent thereof (such as default methods on Java 8 based interfaces that the given class implements).
- doWithMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class yakworks.util.ReflectionUtils
-
Perform the given callback operation on all matching methods of the given class and superclasses.
- doWithMethods(Class<?>, ReflectionUtils.MethodCallback, ReflectionUtils.MethodFilter) - Static method in class yakworks.util.ReflectionUtils
-
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).
- drain(InputStream) - Static method in class yakworks.util.StreamUtils
-
Drain the remaining content of the given InputStream.
E
- emptyInput() - Static method in class yakworks.util.StreamUtils
-
Return an efficient empty
InputStream. - endsWithIgnoreCase(String, String) - Static method in class yakworks.util.StringUtils
-
Test if the given
Stringends with the specified suffix, ignoring upper/lower case. - Entry(K, V) - Constructor for class yakworks.util.ConcurrentReferenceHashMap.Entry
- entrySet() - Method in class yakworks.util.ConcurrentReferenceHashMap
- EnumUtils - Class in yakworks.commons.lang
-
Utility library to provide helper methods for Java enums.
- EnumUtils() - Constructor for class yakworks.commons.lang.EnumUtils
-
This constructor is public to permit tools that require a JavaBean instance to operate.
- equals(Object) - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
F
- findField(Class<?>, String) - Static method in class yakworks.util.ReflectionUtils
-
Attempt to find a
fieldon the suppliedClasswith the suppliedname. - findField(Class<?>, String, Class<?>) - Static method in class yakworks.util.ReflectionUtils
-
Attempt to find a
fieldon the suppliedClasswith the suppliednameand/ortype. - findMethod(Class<?>, String) - Static method in class yakworks.util.ReflectionUtils
-
Attempt to find a
Methodon the supplied class with the supplied name and no parameters. - findMethod(Class<?>, String, Class<?>...) - Static method in class yakworks.util.ReflectionUtils
-
Attempt to find a
Methodon the supplied class with the supplied name and parameter types. - forName(String, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Replacement for
Class.forName()that also returns Class instances for primitives (e.g. - fromBytes(byte[], Class<T>) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- fromBytes(byte[], Type) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- fromString(String, Class<T>) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- fromString(String, Type) - Method in class yakworks.json.jackson.ObjectMapperWrapper
G
- get() - Method in interface yakworks.util.ConcurrentReferenceHashMap.Reference
-
Return the referenced entry, or
nullif the entry is no longer available. - get(Object) - Method in class yakworks.util.ConcurrentReferenceHashMap
- getAllDeclaredMethods(Class<?>) - Static method in class yakworks.util.ReflectionUtils
-
Get all declared methods on the leaf class and all superclasses.
- getAllInterfaces(Object) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given instance implements as an array, including ones implemented by superclasses.
- getAllInterfacesAsSet(Object) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given instance implements as a Set, including ones implemented by superclasses.
- getAllInterfacesForClass(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given class implements as an array, including ones implemented by superclasses.
- getAllInterfacesForClass(Class<?>, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given class implements as an array, including ones implemented by superclasses.
- getAllInterfacesForClassAsSet(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given class implements as a Set, including ones implemented by superclasses.
- getAllInterfacesForClassAsSet(Class<?>, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Return all interfaces that the given class implements as a Set, including ones implemented by superclasses.
- getClassFileName(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine the name of the class file, relative to the containing package: e.g.
- getConstructorIfAvailable(Class<T>, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public constructor with the given signature, and return it if available (else return
null). - getCount() - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
-
Return the total number of references in this segment.
- getDeclaredMethods(Class<?>) - Static method in class yakworks.util.ReflectionUtils
-
Variant of
Class.getDeclaredMethods()that uses a local cache in order to avoid the JVM's SecurityManager check and new Method instances. - getDefaultClassLoader() - Static method in class yakworks.util.ClassUtils
-
Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.
- getDescriptiveType(Object) - Static method in class yakworks.util.ClassUtils
-
Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.
- getDisplayString(Object) - Static method in class yakworks.util.ObjectUtils
-
Return a content-based String representation if
objis notnull; otherwise returns an empty String. - getEnum(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the enum for the class, returning
nullif not found. - getEnum(Class<E>, String, E) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the enum for the class, returning
defaultEnumif not found. - getEnumIgnoreCase(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the enum for the class, returning
nullif not found. - getEnumIgnoreCase(Class<E>, String, E) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the enum for the class, returning
defaultEnumif not found. - getEnumList(Class<E>) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the
Listof enums. - getEnumMap(Class<E>) - Static method in class yakworks.commons.lang.EnumUtils
-
Gets the
Mapof enums by name. - getField(Field, Object) - Static method in class yakworks.util.ReflectionUtils
-
Get the field represented by the supplied
field objecton the specifiedtarget object. - getFilename(String) - Static method in class yakworks.util.StringUtils
-
Extract the filename from the given Java resource path, e.g.
- getFilenameExtension(String) - Static method in class yakworks.util.StringUtils
-
Extract the filename extension from the given Java resource path, e.g.
- getHash() - Method in interface yakworks.util.ConcurrentReferenceHashMap.Reference
-
Return the hash for the reference.
- getHash(Object) - Method in class yakworks.util.ConcurrentReferenceHashMap
-
Get the hash for a given object, apply an additional hash function to reduce collisions.
- getIdentityHexString(Object) - Static method in class yakworks.util.ObjectUtils
-
Return a hex String form of an object's identity hash code.
- getInterfaceMethodIfPossible(Method) - Static method in class yakworks.util.ClassUtils
-
Deprecated.
- getInterfaceMethodIfPossible(Method, Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine a corresponding interface method for the given method handle, if possible.
- getKey() - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
- getLoadFactor() - Method in class yakworks.util.ConcurrentReferenceHashMap
- getMethod(Class<?>, String, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public method with the given signature, and return it if available (else throws an
IllegalStateException). - getMethodCountForName(Class<?>, String) - Static method in class yakworks.util.ClassUtils
-
Return the number of methods with a given name (with any argument types), for the given class and/or its superclasses.
- getMethodIfAvailable(Class<?>, String, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public method with the given signature, and return it if available (else return
null). - getMostSpecificMethod(Method, Class<?>) - Static method in class yakworks.util.ClassUtils
-
Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one.
- getNext() - Method in interface yakworks.util.ConcurrentReferenceHashMap.Reference
-
Return the next reference in the chain, or
nullif none. - getObjectMapper() - Method in class yakworks.json.jackson.ObjectMapperWrapper
- getOrDefault(Object, V) - Method in class yakworks.util.ConcurrentReferenceHashMap
- getPackageName(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine the name of the package of the given class, e.g.
- getPackageName(String) - Static method in class yakworks.util.ClassUtils
-
Determine the name of the package of the given fully-qualified class name, e.g.
- getQualifiedMethodName(Method) - Static method in class yakworks.util.ClassUtils
-
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
- getQualifiedMethodName(Method, Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
- getQualifiedName(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return the qualified name of the given class: usually simply the class name, but component type class name + "[]" for arrays.
- getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
- getReference(Object, ConcurrentReferenceHashMap.Restructure) - Method in class yakworks.util.ConcurrentReferenceHashMap
-
Return a
ConcurrentReferenceHashMap.Referenceto theConcurrentReferenceHashMap.Entryfor the specifiedkey, ornullif not found. - getSegment(int) - Method in class yakworks.util.ConcurrentReferenceHashMap
- getSegmentsSize() - Method in class yakworks.util.ConcurrentReferenceHashMap
- getShortName(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Get the class name without the qualified package name.
- getShortName(String) - Static method in class yakworks.util.ClassUtils
-
Get the class name without the qualified package name.
- getShortNameAsProperty(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return the short string name of a Java class in uncapitalized JavaBeans property format.
- getSize() - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
-
Return the size of the current references array.
- getStaticMethod(Class<?>, String, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Return a public static method of a class.
- getUniqueDeclaredMethods(Class<?>) - Static method in class yakworks.util.ReflectionUtils
-
Get the unique set of declared methods on the leaf class and all superclasses.
- getUniqueDeclaredMethods(Class<?>, ReflectionUtils.MethodFilter) - Static method in class yakworks.util.ReflectionUtils
-
Get the unique set of declared methods on the leaf class and all superclasses.
- getUserClass(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Return the user-defined class for the given class: usually simply the given class, but the original class in case of a CGLIB-generated subclass.
- getUserClass(Object) - Static method in class yakworks.util.ClassUtils
-
Return the user-defined class for the given instance: usually simply the class of the given instance, but the original class in case of a CGLIB-generated subclass.
- getValue() - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
- GStringJsonSerializer() - Constructor for class yakworks.json.jackson.ObjectMapperWrapper.GStringJsonSerializer
H
- handledType() - Method in class yakworks.json.jackson.ObjectMapperWrapper.GStringJsonSerializer
- handledType() - Method in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeDeserializer
- handledType() - Method in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeSerializer
- handleInvocationTargetException(InvocationTargetException) - Static method in class yakworks.util.ReflectionUtils
-
Handle the given invocation target exception.
- handleReflectionException(Exception) - Static method in class yakworks.util.ReflectionUtils
-
Handle the given reflection exception.
- hasAtLeastOneMethodWithName(Class<?>, String) - Static method in class yakworks.util.ClassUtils
-
Does the given class or one of its superclasses at least have one or more methods with the supplied name (with any argument types)? Includes non-public methods.
- hasConstructor(Class<?>, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public constructor with the given signature.
- hashCode() - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
- hashCode(boolean) - Static method in class yakworks.util.ObjectUtils
-
Deprecated.as of Spring Framework 5.0, in favor of the native JDK 8 variant
- hashCode(double) - Static method in class yakworks.util.ObjectUtils
-
Deprecated.as of Spring Framework 5.0, in favor of the native JDK 8 variant
- hashCode(float) - Static method in class yakworks.util.ObjectUtils
-
Deprecated.as of Spring Framework 5.0, in favor of the native JDK 8 variant
- hashCode(long) - Static method in class yakworks.util.ObjectUtils
-
Deprecated.as of Spring Framework 5.0, in favor of the native JDK 8 variant
- hashKey() - Method in annotation type yakworks.commons.transform.IdEqualsHashCode
-
List of field and/or property names to use in the hashCode if id is null
- hasLength(CharSequence) - Static method in class yakworks.util.StringUtils
-
Check that the given
CharSequenceis neithernullnor of length 0. - hasLength(String) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.hasLength(String, String) - hasLength(String) - Static method in class yakworks.util.StringUtils
-
Check that the given
Stringis neithernullnor of length 0. - hasLength(String, String) - Static method in class yakworks.util.Assert
-
Assert that the given String is not empty; that is, it must not be
nulland not the empty String. - hasLength(String, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that the given String is not empty; that is, it must not be
nulland not the empty String. - hasMethod(Class<?>, Method) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public method with the given signature.
- hasMethod(Class<?>, String, Class<?>...) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given class has a public method with the given signature.
- hasText(CharSequence) - Static method in class yakworks.util.StringUtils
-
Check whether the given
CharSequencecontains actual text. - hasText(String) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.hasText(String, String) - hasText(String) - Static method in class yakworks.util.StringUtils
-
Check whether the given
Stringcontains actual text. - hasText(String, String) - Static method in class yakworks.util.Assert
-
Assert that the given String contains valid text content; that is, it must not be
nulland must contain at least one non-whitespace character. - hasText(String, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that the given String contains valid text content; that is, it must not be
nulland must contain at least one non-whitespace character.
I
- identityToString(Object) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of an object's overall identity.
- IdEqualsHashCode - Annotation Type in yakworks.commons.transform
-
Equals and hash code annotation for Gorm and JPA entites when you want it based on id.
- includes() - Method in annotation type yakworks.commons.transform.IdEqualsHashCode
-
List of field and/or property names to include within the equals and hashCode calculations.
- instance - Static variable in class yakworks.json.jackson.ObjectMapperWrapper
- INSTANCE - Static variable in class yakworks.json.jackson.ObjectMapperWrapper.GStringJsonSerializer
- INSTANCE - Static variable in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeDeserializer
- INSTANCE - Static variable in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeSerializer
- invokeMethod(Method, Object) - Static method in class yakworks.util.ReflectionUtils
-
Invoke the specified
Methodagainst the supplied target object with no arguments. - invokeMethod(Method, Object, Object...) - Static method in class yakworks.util.ReflectionUtils
-
Invoke the specified
Methodagainst the supplied target object with the supplied arguments. - isArray(Object) - Static method in class yakworks.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 yakworks.util.Assert
-
Assert that
superType.isAssignableFrom(subType)istrue. - isAssignable(Class<?>, Class<?>) - Static method in class yakworks.util.ClassUtils
-
Check if the right-hand side type may be assigned to the left-hand side type, assuming setting by reflection.
- isAssignable(Class<?>, Class<?>, String) - Static method in class yakworks.util.Assert
-
Assert that
superType.isAssignableFrom(subType)istrue. - isAssignable(Class<?>, Class<?>, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that
superType.isAssignableFrom(subType)istrue. - isAssignableFrom(Class<?>, Class<?>) - Static method in class yakworks.commons.lang.AssignUtils
-
Tests whether or not the left hand type is compatible with the right hand type in Groovy terms, i.e.
- isAssignableValue(Class<?>, Object) - Static method in class yakworks.util.ClassUtils
-
Determine if the given type is assignable from the given value, assuming setting by reflection.
- isCacheSafe(Class<?>, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Check whether the given class is cache-safe in the given context, i.e.
- isCglibProxy(Object) - Static method in class yakworks.util.ClassUtils
-
Deprecated.as of 5.2, in favor of custom (possibly narrower) checks
- isCglibProxyClass(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Deprecated.as of 5.2, in favor of custom (possibly narrower) checks
- isCglibProxyClassName(String) - Static method in class yakworks.util.ClassUtils
-
Deprecated.as of 5.2, in favor of custom (possibly narrower) checks
- isCglibRenamedMethod(Method) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method is a CGLIB 'renamed' method, following the pattern "CGLIB$methodName$0".
- isCheckedException(Throwable) - Static method in class yakworks.util.ObjectUtils
-
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
- isCompatibleWithThrowsClause(Throwable, Class<?>...) - Static method in class yakworks.util.ObjectUtils
-
Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.
- isEmpty() - Method in class yakworks.util.ConcurrentReferenceHashMap
- isEmpty(Object) - Static method in class yakworks.util.ObjectUtils
-
Determine whether the given object is empty.
- isEmpty(Object) - Static method in class yakworks.util.StringUtils
-
Deprecated.
- isEmpty(Object[]) - Static method in class yakworks.util.ObjectUtils
-
Determine whether the given array is empty: i.e.
- isEmpty(Collection<?>) - Static method in class yakworks.util.CollectionUtils
-
Return
trueif the supplied Collection isnullor empty. - isEmpty(Map<?, ?>) - Static method in class yakworks.util.CollectionUtils
-
Return
trueif the supplied Map isnullor empty. - isEqualsMethod(Method) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method is an "equals" method.
- isGetter(String, Class<?>[]) - Static method in class yakworks.commons.lang.AssignUtils
-
Returns true if the name of the method specified and the number of arguments make it a javabean property
- isHashCodeMethod(Method) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method is a "hashCode" method.
- isInnerClass(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine if the supplied class is an inner class, i.e.
- isInstanceOf(Class<?>, Object) - Static method in class yakworks.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class<?>, Object, String) - Static method in class yakworks.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class<?>, Object, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isJavaLanguageInterface(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given interface is a common Java language interface:
Serializable,Externalizable,Closeable,AutoCloseable,Cloneable,Comparable- all of which can be ignored when looking for 'primary' user-level interfaces. - isLambdaClass(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Determine if the supplied
Classis a JVM-generated implementation class for a lambda expression or method reference. - isNull(Object) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.isNull(Object, String) - isNull(Object, String) - Static method in class yakworks.util.Assert
-
Assert that an object is
null. - isNull(Object, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that an object is
null. - isObjectMethod(Method) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method is originally declared by
Object. - isPresent(String, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Determine whether the
Classidentified by the supplied name is present and can be loaded. - isPrimitiveArray(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Check if the given class represents an array of primitives, i.e.
- isPrimitiveOrWrapper(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Check if the given class represents a primitive (i.e.
- isPrimitiveWrapper(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Check if the given class represents a primitive wrapper, i.e.
- isPrimitiveWrapperArray(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Check if the given class represents an array of primitive wrappers, i.e.
- isPublicStaticFinal(Field) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given field is a "public static final" constant.
- isSetter(String, Class[]) - Static method in class yakworks.commons.lang.AssignUtils
- isToStringMethod(Method) - Static method in class yakworks.util.ReflectionUtils
-
Determine whether the given method is a "toString" method.
- isTrue(boolean) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.isTrue(boolean, String) - isTrue(boolean, String) - Static method in class yakworks.util.Assert
-
Assert a boolean expression, throwing an
IllegalArgumentExceptionif the expression evaluates tofalse. - isTrue(boolean, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert a boolean expression, throwing an
IllegalArgumentExceptionif the expression evaluates tofalse. - isUserLevelMethod(Method) - Static method in class yakworks.util.ClassUtils
-
Determine whether the given method is declared by the user or at least pointing to a user-declared method.
- isValidEnum(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
-
Checks if the specified name is a valid enum for the class.
- isValidEnumIgnoreCase(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
-
Checks if the specified name is a valid enum for the class.
- isVisible(Class<?>, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Check whether the given class is visible in the given ClassLoader.
M
- makeAccessible(Constructor<?>) - Static method in class yakworks.util.ReflectionUtils
-
Make the given constructor accessible, explicitly setting it accessible if necessary.
- makeAccessible(Field) - Static method in class yakworks.util.ReflectionUtils
-
Make the given field accessible, explicitly setting it accessible if necessary.
- makeAccessible(Method) - Static method in class yakworks.util.ReflectionUtils
-
Make the given method accessible, explicitly setting it accessible if necessary.
- matches(Field) - Method in interface yakworks.util.ReflectionUtils.FieldFilter
-
Determine whether the given field matches.
- matches(Method) - Method in interface yakworks.util.ReflectionUtils.MethodFilter
-
Determine whether the given method matches.
- matchesCharacter(String, char) - Static method in class yakworks.util.StringUtils
-
Test if the given
Stringmatches the given single character. - matchesTypeName(Class<?>, String) - Static method in class yakworks.util.ClassUtils
-
Check whether the given class matches the user-specified type name.
- mergeStringArrays(String[], String[]) - Static method in class yakworks.util.StringUtils
-
Deprecated.as of 4.3.15, in favor of manual merging via
LinkedHashSet(with every entry included at most once, even entries within the first array)
N
- NEVER - yakworks.util.ConcurrentReferenceHashMap.Restructure
- nonClosing(InputStream) - Static method in class yakworks.util.StreamUtils
-
Return a variant of the given
InputStreamwhere callingclose()has no effect. - nonClosing(OutputStream) - Static method in class yakworks.util.StreamUtils
-
Return a variant of the given
OutputStreamwhere callingclose()has no effect. - noNullElements(Object[]) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.noNullElements(Object[], String) - noNullElements(Object[], String) - Static method in class yakworks.util.Assert
-
Assert that an array contains no
nullelements. - noNullElements(Object[], Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that an array contains no
nullelements. - noNullElements(Collection<?>, String) - Static method in class yakworks.util.Assert
-
Assert that a collection contains no
nullelements. - noNullElements(Collection<?>, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that a collection contains no
nullelements. - notEmpty(Object[]) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.notEmpty(Object[], String) - notEmpty(Object[], String) - Static method in class yakworks.util.Assert
-
Assert that an array contains elements; that is, it must not be
nulland must contain at least one element. - notEmpty(Object[], Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that an array contains elements; that is, it must not be
nulland must contain at least one element. - notEmpty(Collection<?>) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.notEmpty(Collection, String) - notEmpty(Collection<?>, String) - Static method in class yakworks.util.Assert
-
Assert that a collection contains elements; that is, it must not be
nulland must contain at least one element. - notEmpty(Collection<?>, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that a collection contains elements; that is, it must not be
nulland must contain at least one element. - notEmpty(Map<?, ?>) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.notEmpty(Map, String) - notEmpty(Map<?, ?>, String) - Static method in class yakworks.util.Assert
-
Assert that a Map contains entries; that is, it must not be
nulland must contain at least one entry. - notEmpty(Map<?, ?>, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that a Map contains entries; that is, it must not be
nulland must contain at least one entry. - notNull(Object) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.notNull(Object, String) - notNull(Object, String) - Static method in class yakworks.util.Assert
-
Assert that an object is not
null. - notNull(Object, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert that an object is not
null. - nullSafeClassName(Object) - Static method in class yakworks.util.ObjectUtils
-
Determine the class name for the given object.
- nullSafeEquals(Object, Object) - Static method in class yakworks.util.ObjectUtils
-
Determine if the given objects are equal, returning
trueif both arenullorfalseif only one isnull. - nullSafeHashCode(boolean[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(byte[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(char[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(double[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(float[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(int[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(long[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(short[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(Object) - Static method in class yakworks.util.ObjectUtils
-
Return as hash code for the given object; typically the value of
Object#hashCode()}. - nullSafeHashCode(Object[]) - Static method in class yakworks.util.ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeToString(boolean[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(byte[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(char[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(double[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(float[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(int[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(long[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(short[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(Object) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the specified Object.
- nullSafeToString(Object[]) - Static method in class yakworks.util.ObjectUtils
-
Return a String representation of the contents of the specified array.
O
- ObjectMapperWrapper - Class in yakworks.json.jackson
-
Wraps a Jackson
ObjectMapperso that you can supply your ownObjectMapperreference. - ObjectMapperWrapper() - Constructor for class yakworks.json.jackson.ObjectMapperWrapper
- ObjectMapperWrapper(ObjectMapper) - Constructor for class yakworks.json.jackson.ObjectMapperWrapper
- ObjectMapperWrapper.GStringJsonSerializer - Class in yakworks.json.jackson
- ObjectMapperWrapper.OffsetDateTimeDeserializer - Class in yakworks.json.jackson
- ObjectMapperWrapper.OffsetDateTimeSerializer - Class in yakworks.json.jackson
- ObjectUtils - Class in yakworks.util
-
Miscellaneous object utility methods.
- ObjectUtils() - Constructor for class yakworks.util.ObjectUtils
- OffsetDateTimeDeserializer() - Constructor for class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeDeserializer
- OffsetDateTimeSerializer() - Constructor for class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeSerializer
- overrideThreadContextClassLoader(ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e.
P
- parseLocale(String) - Static method in class yakworks.util.StringUtils
-
Parse the given
Stringvalue into aLocale, accepting theLocale.toString()format as well as BCP 47 language tags as specified byLocale.forLanguageTag(java.lang.String). - parseLocaleString(String) - Static method in class yakworks.util.StringUtils
-
Parse the given
Stringrepresentation into aLocale. - parseTimeZoneString(String) - Static method in class yakworks.util.StringUtils
-
Parse the given
timeZoneStringvalue into aTimeZone. - pathEquals(String, String) - Static method in class yakworks.util.StringUtils
-
Compare two paths after normalization of them.
- pollForPurge() - Method in class yakworks.util.ConcurrentReferenceHashMap.ReferenceManager
-
Return any reference that has been garbage collected and can be purged from the underlying structure or
nullif no references need purging. - PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Static variable in class yakworks.commons.lang.AssignUtils
- purgeUnreferencedEntries() - Method in class yakworks.util.ConcurrentReferenceHashMap
-
Remove any entries that have been garbage collected and are no longer referenced.
- put(K, V) - Method in class yakworks.util.ConcurrentReferenceHashMap
- putIfAbsent(K, V) - Method in class yakworks.util.ConcurrentReferenceHashMap
Q
- quote(String) - Static method in class yakworks.util.StringUtils
-
Quote the given
Stringwith single quotes. - quoteIfString(Object) - Static method in class yakworks.util.StringUtils
-
Turn the given Object into a
Stringwith single quotes if it is aString; keeping the Object as-is else.
R
- ReferenceManager() - Constructor for class yakworks.util.ConcurrentReferenceHashMap.ReferenceManager
- ReflectionUtils - Class in yakworks.util
-
Simple utility class for working with the reflection API and handling reflection exceptions.
- ReflectionUtils() - Constructor for class yakworks.util.ReflectionUtils
- ReflectionUtils.FieldCallback - Interface in yakworks.util
-
Callback interface invoked on each field in the hierarchy.
- ReflectionUtils.FieldFilter - Interface in yakworks.util
-
Callback optionally used to filter fields to be operated on by a field callback.
- ReflectionUtils.MethodCallback - Interface in yakworks.util
-
Action to take on each method.
- ReflectionUtils.MethodFilter - Interface in yakworks.util
-
Callback optionally used to filter methods to be operated on by a method callback.
- release() - Method in interface yakworks.util.ConcurrentReferenceHashMap.Reference
-
Release this entry and ensure that it will be returned from
ReferenceManager#pollForPurge(). - remove(Object) - Method in class yakworks.util.ConcurrentReferenceHashMap
- remove(Object, Object) - Method in class yakworks.util.ConcurrentReferenceHashMap
- removeDuplicateStrings(String[]) - Static method in class yakworks.util.StringUtils
-
Remove duplicate strings from the given array.
- replace(String, String, String) - Static method in class yakworks.util.StringUtils
-
Replace all occurrences of a substring within a string with another string.
- replace(K, V) - Method in class yakworks.util.ConcurrentReferenceHashMap
- replace(K, V, V) - Method in class yakworks.util.ConcurrentReferenceHashMap
- resolveClassName(String, ClassLoader) - Static method in class yakworks.util.ClassUtils
-
Resolve the given class name into a Class instance.
- resolvePrimitiveClassName(String) - Static method in class yakworks.util.ClassUtils
-
Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.
- resolvePrimitiveIfNecessary(Class<?>) - Static method in class yakworks.util.ClassUtils
-
Resolve the given class if it is a primitive class, returning the corresponding primitive wrapper type instead.
- restructureIfNecessary(boolean) - Method in class yakworks.util.ConcurrentReferenceHashMap.Segment
-
Restructure the underlying data structure when it becomes necessary.
- rethrowException(Throwable) - Static method in class yakworks.util.ReflectionUtils
-
Rethrow the given
exception, which is presumably the target exception of anInvocationTargetException. - rethrowRuntimeException(Throwable) - Static method in class yakworks.util.ReflectionUtils
-
Rethrow the given
exception, which is presumably the target exception of anInvocationTargetException.
S
- Segment(int, int) - Constructor for class yakworks.util.ConcurrentReferenceHashMap.Segment
- serialize(GString, JsonGenerator, SerializerProvider) - Method in class yakworks.json.jackson.ObjectMapperWrapper.GStringJsonSerializer
- serialize(OffsetDateTime, JsonGenerator, SerializerProvider) - Method in class yakworks.json.jackson.ObjectMapperWrapper.OffsetDateTimeSerializer
- setField(Field, Object, Object) - Static method in class yakworks.util.ReflectionUtils
-
Set the field represented by the supplied field object on the specified target object to the specified
value. - setupDefaultObjectMapper() - Static method in class yakworks.json.jackson.ObjectMapperWrapper
- setValue(V) - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
- shallowCopyFieldState(Object, Object) - Static method in class yakworks.util.ReflectionUtils
-
Given the source object and the destination, which must be the same class or a subclass, copy all fields, including inherited fields.
- size() - Method in class yakworks.util.ConcurrentReferenceHashMap
- SOFT - yakworks.util.ConcurrentReferenceHashMap.ReferenceType
-
Use
SoftReferences. - sortStringArray(String[]) - Static method in class yakworks.util.StringUtils
-
Sort the given
Stringarray if necessary. - split(String, String) - Static method in class yakworks.util.StringUtils
-
Split a
Stringat the first occurrence of the delimiter. - splitArrayElementsIntoProperties(String[], String) - Static method in class yakworks.util.StringUtils
-
Take an array of strings and split each element based on the given delimiter.
- splitArrayElementsIntoProperties(String[], String, String) - Static method in class yakworks.util.StringUtils
-
Take an array of strings and split each element based on the given delimiter.
- startsWithIgnoreCase(String, String) - Static method in class yakworks.util.StringUtils
-
Test if the given
Stringstarts with the specified prefix, ignoring upper/lower case. - state(boolean) - Static method in class yakworks.util.Assert
-
Deprecated.as of 4.3.7, in favor of
Assert.state(boolean, String) - state(boolean, String) - Static method in class yakworks.util.Assert
-
Assert a boolean expression, throwing an
IllegalStateExceptionif the expression evaluates tofalse. - state(boolean, Supplier<String>) - Static method in class yakworks.util.Assert
-
Assert a boolean expression, throwing an
IllegalStateExceptionif the expression evaluates tofalse. - StreamUtils - Class in yakworks.util
-
Simple utility methods for dealing with streams.
- StreamUtils() - Constructor for class yakworks.util.StreamUtils
- StringUtils - Class in yakworks.util
-
Miscellaneous
Stringutility methods. - StringUtils() - Constructor for class yakworks.util.StringUtils
- stripFilenameExtension(String) - Static method in class yakworks.util.StringUtils
-
Strip the filename extension from the given Java resource path, e.g.
- substringMatch(CharSequence, int, CharSequence) - Static method in class yakworks.util.StringUtils
-
Test whether the given string matches the given substring at the given index.
T
- toBytes(Object) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- toClassArray(Collection<Class<?>>) - Static method in class yakworks.util.ClassUtils
-
Copy the given
Collectioninto aClassarray. - toJsonNode(String) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- tokenizeToStringArray(String, String) - Static method in class yakworks.util.StringUtils
-
Tokenize the given
Stringinto aStringarray via aStringTokenizer. - tokenizeToStringArray(String, String, boolean, boolean) - Static method in class yakworks.util.StringUtils
-
Tokenize the given
Stringinto aStringarray via aStringTokenizer. - toLanguageTag(Locale) - Static method in class yakworks.util.StringUtils
-
Deprecated.as of 5.0.4, in favor of
Locale.toLanguageTag() - toObjectArray(Object) - Static method in class yakworks.util.ObjectUtils
-
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
- toString() - Method in class yakworks.util.ConcurrentReferenceHashMap.Entry
- toString(Object) - Method in class yakworks.json.jackson.ObjectMapperWrapper
- toStringArray(Collection<String>) - Static method in class yakworks.util.StringUtils
-
Copy the given
Collectioninto aStringarray. - toStringArray(Enumeration<String>) - Static method in class yakworks.util.StringUtils
-
Copy the given
Enumerationinto aStringarray. - trimAllWhitespace(CharSequence) - Static method in class yakworks.util.StringUtils
-
Trim all whitespace from the given
CharSequence: leading, trailing, and in between characters. - trimAllWhitespace(String) - Static method in class yakworks.util.StringUtils
-
Trim all whitespace from the given
String: leading, trailing, and in between characters. - trimArrayElements(String[]) - Static method in class yakworks.util.StringUtils
-
Trim the elements of the given
Stringarray, callingString.trim()on each non-null element. - trimLeadingCharacter(String, char) - Static method in class yakworks.util.StringUtils
-
Trim all occurrences of the supplied leading character from the given
String. - trimLeadingWhitespace(String) - Static method in class yakworks.util.StringUtils
-
Trim leading whitespace from the given
String. - trimTrailingCharacter(String, char) - Static method in class yakworks.util.StringUtils
-
Trim all occurrences of the supplied trailing character from the given
String. - trimTrailingWhitespace(String) - Static method in class yakworks.util.StringUtils
-
Trim trailing whitespace from the given
String. - trimWhitespace(String) - Static method in class yakworks.util.StringUtils
-
Trim leading and trailing whitespace from the given
String.
U
- uncapitalize(String) - Static method in class yakworks.util.StringUtils
-
Uncapitalize a
String, changing the first letter to lower case as perCharacter.toLowerCase(char). - unqualify(String) - Static method in class yakworks.util.StringUtils
-
Unqualify a string qualified by a '.' dot character.
- unqualify(String, char) - Static method in class yakworks.util.StringUtils
-
Unqualify a string qualified by a separator character.
- unwrapOptional(Object) - Static method in class yakworks.util.ObjectUtils
-
Unwrap the given object which is potentially a
Optional. - uriDecode(String, Charset) - Static method in class yakworks.util.StringUtils
-
Decode the given encoded URI component value.
- USER_DECLARED_METHODS - Static variable in class yakworks.util.ReflectionUtils
-
Pre-built
ReflectionUtils.MethodFilterthat matches all non-bridge non-synthetic methods which are not declared onjava.lang.Object.
V
- valueOf(String) - Static method in enum yakworks.util.ConcurrentReferenceHashMap.ReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum yakworks.util.ConcurrentReferenceHashMap.Restructure
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum yakworks.util.ConcurrentReferenceHashMap.ReferenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum yakworks.util.ConcurrentReferenceHashMap.Restructure
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WEAK - yakworks.util.ConcurrentReferenceHashMap.ReferenceType
-
Use
WeakReferences. - WHEN_NECESSARY - yakworks.util.ConcurrentReferenceHashMap.Restructure
Y
- yakworks.commons.lang - package yakworks.commons.lang
- yakworks.commons.transform - package yakworks.commons.transform
- yakworks.json.jackson - package yakworks.json.jackson
- yakworks.util - package yakworks.util
All Classes All Packages