Package org.apache.juneau.internal
Class Utils2
java.lang.Object
org.apache.juneau.common.utils.Utils
org.apache.juneau.internal.Utils2
Various generic object utility methods.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.common.utils.Utils
a, accumulate, alist, array, arrayToList, assertArg, assertArgNotNull, assertArgNotNullOrBlank, assertClassArrayArgIsType, assertVarargsNotNull, cast, castOrNull, classNameOf, compare, contains, contains, ea, elist, emap, empty, emptyIfNull, env, env, eq, eq, eq, eqic, f, firstNonNull, fms, getMatchPattern3, getMatchPattern3, hash, illegalArg, isArray, isConvertibleToList, isEmpty, isEmpty, isEmptyOrBlank, isNotEmpty, isNotEmpty, isNotMinusOne, isNotNull, isTrue, join, join, join, join, join, join, join, join, join, join, joinnl, list, listOfSize, map, n, na, ne, ne, neic, nlist, nmap, notContains, nullIfEmpty, nullIfEmpty3, obfuscate, opt, opte, printLines, r, runtimeException, s, safe, safe, safeSupplier, sb, set, simpleClassNameOf, split, split, split, split, split, splita, splita, splita, splita, splitMap, splitMethodArgs, splitNested, splitNestedInner, splitQuoted, splitQuoted, toList, toStream, traverse, u, u, u
-
Constructor Details
-
Utils2
public Utils2()
-
-
Method Details
-
unwrap
- Parameters:
o
- The object to unwrap.- Returns:
- The unwrapped object.
-
identity
Converts the specified object into an identifiable string of the form "Class[identityHashCode]"- Parameters:
o
- The object to convert to a string.- Returns:
- An identity string.
-
toPropertyMap
Searches for allproperties() methods on the specified object and creates a combine map of them.- Parameters:
o
- The object to return a property map of.- Returns:
- A new property map.
-