|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.utilsas colored differences. Deletions are shownlike 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.
Returns whether all keys and values are equals on both maps. Also returns true if both maps are null of ifClass CollectionHelper, String join(Iterable<?>, String)theirtheir equals() method return true
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.
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.
Returns a list with the path from the hierarchy root up to the given object, having the given parent propertyClass ObjectHelper, int getLevel(Bean, Property<T, T>)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]
Returns the level of a given hierarchical bean. The given property needs to resolve the parent bean. ObjectsClass ObjectHelper, boolean isEmpty(Bean, Property[])withwith no parent have level 1
@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)).
Returns the value of the second string if the first isClass StringHelper, String removeEnd(String, String)emptyblank. Otherwise, returns thefirstfirst @see #isBlank(Object)
Removes the end of the given string, or returns the original string if end is null or not the final part ofClass StringHelper, String removeStart(String, String)thethe string
- removeEnd(null, *) == null
- removeEnd(x, *) == x
- removeEnd("car", "ar") == "c"
- removeEnd("car", "r") == "ca"
- removeEnd("car", "x") == "car"
Removes the start of the given string, or returns the original string if end is null or not the initial partClass StringHelper, String replace(String, String, String, int)ofof the string
- removeStart(null, *) == null
- removeStart(x, *) == x
- removeStart("car", "ca") == "r"
- removeStart("car", "c") == "ar"
- removeStart("car", "x") == "car"
Replaces a specified number of occurrences (-1 means unlimited) of the source text with the destination textClass StringHelper, String replaceVariables(String, Map<String, String>)inin the given string
Replaces variables in the form {varname} with the ones in the map. If a variable is not present on the map, itClass StringHelper, List<String> split(String, String)isis replaced with an empty 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 whicheverClass StringHelper, String truncate(String, int)isis applicable.
Truncates the given string without cutting words in the middle, and appending ellipsis in the end. Linebreaksbreaks are transformed in spaces.