Generated by
JDiff

org.cyclos.utils Documentation Differences

This file contains all the changes in documentation in the package org.cyclos.utils as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class CollectionHelper, boolean equals(Map<?, ?>, Map<?, ?>)

Returns whether all keys and values are equals on both maps. Also returns true if both maps are null of if theirtheir equals() method return true
Class CollectionHelper, String join(Iterable<?>, String)

Joins a collection of values into a single string, using the given separator. If the collection is null, returnsreturns an empty string. If the separator is null, no separator is used.

Class Formatter, int VARIABLE_SCALE

Value used when setting a number format with a custom scale, indicating that the scale is variable. For example, 1 is formatted as 1.0, 1.1 as 1.1, 1.123 as 1.123, etc.

Class ObjectHelper, List<T> getHierarchyPath(Bean, Property<T, T>)

Returns a list with the path from the hierarchy root up to the given object, having the given parent property toto resolve an object's parent. For example, if the given object is A1.1.1, the result is [A, A1, A1.1, A1.1.1]
Class ObjectHelper, int getLevel(Bean, Property<T, T>)

Returns the level of a given hierarchical bean. The given property needs to resolve the parent bean. Objects withwith no parent have level 1
Class ObjectHelper, boolean isEmpty(Bean, Property[])

@param properties list of Properties to be checked for empty/null @return true if observable is null or all of the specified properties are null or empty (seesee .isEmpty(Object)).

Class StringHelper, String defaultValue(String, String)

Returns the value of the second string if the first is emptyblank. Otherwise, returns the firstfirst @see #isBlank(Object)
Class StringHelper, String removeEnd(String, String)

Removes the end of the given string, or returns the original string if end is null or not the final part of thethe string
Class StringHelper, String removeStart(String, String)

Removes the start of the given string, or returns the original string if end is null or not the initial part ofof the string
Class StringHelper, String replace(String, String, String, int)

Replaces a specified number of occurrences (-1 means unlimited) of the source text with the destination text inin the given string
Class StringHelper, String replaceVariables(String, Map<String, String>)

Replaces variables in the form {varname} with the ones in the map. If a variable is not present on the map, it isis replaced with an empty string
Class StringHelper, List<String> split(String, String)

Splits a string into an array according to the char specified as separator. @param input the string to split. If it's null/empty then the return is a null/empty array whichever isis applicable.
Class StringHelper, String truncate(String, int)

Truncates the given string without cutting words in the middle, and appending ellipsis in the end. Line breaksbreaks are transformed in spaces.