This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
1.6.2
[Feature]
MapUtil
- add
Map<K, String> toSingleValueMap(Map<K, String[]> arrayValueMap)
- add
Map<K, V[]> toArrayValueMap(Map<K, V> singleValueMap)
- add
Map<K, List<V>> putMultiValue(Map<K, List<V>> map,K key,V value)
[Update]
CollectionsUtil
- update
Map<String, BigDecimal> sum(Collection<O> objectCollection,Predicate<O> includePredicate,String...propertyNames)
toMap<String, BigDecimal> sum(Collection<O> objectCollection,String[] propertyNames,Predicate<O> includePredicate)
- update
BigDecimal avg(Collection<O> objectCollection,int scale,String propertyName)
toBigDecimal avg(Collection<O> objectCollection,String propertyName,int scale)
- update
Map<String, BigDecimal> avg(Collection<O> objectCollection,int scale,String...propertyNames)
toMap<String, BigDecimal> avg(Collection<O> objectCollection,String[] propertyNames,int scale)
- update
Map<T, Integer> groupCount(Collection<O> objectCollection,Predicate<O> includePredicate,String propertyName)
toMap<T, Integer> groupCount(Collection<O> objectCollection,String propertyName,Predicate<O> includePredicate)
ClassLoaderUtil
- rename
URL getClassPath(ClassLoader classLoader)
toURL getRootClassPath(ClassLoader classLoader)
- rename
URL getClassPath()
toURL getRootClassPath()
- rename
URL getResource(String resourceName,Class<?> callingClass)
toURL getResourceInAllClassLoader(String resourceName,Class<?> callingClass)
MapUtil
- update
putSumValue(Map<K, Integer> map,K key,Integer value)
update return type fromvoid
to `Map<K, Integer>
ParamUtil
- update
Map<String, String[]> toSafeArrayValueMap(String queryString,String charsetType)
JsonUtil
- make
String format(Object obj,JsonConfig jsonConfig,int indentFactor,int indent)
private
NumberFormatUtil
- update
String format(Number value,String numberPattern,RoundingMode roundingMode)
,if exception ,don't return
[Remove]
StringUtil
- remove
int searchTimes(final CharSequence source,final CharSequence target)
- remove
String firstCharToUpperCase(String word)
- remove
String firstCharToLowerCase(String word)
NumberUtil
- remove
String intToHexString(int i)
- remove
int hexStringToInt(String hexString)
PropertiesUtil
- remove
String getPropertiesValueWithClassLoader(Class<?> klass,String propertiesPath,String key)
- remove
String getPropertiesValue(Class<?> klass,String propertiesPath,String key)
ParamUtil
- remove
Map<String, String> toSingleValueMap(Map<String, String[]> arrayValueMap)
- remove
Map<String, String[]> toArrayValueMap(Map<String,String> singleValueMap)
FieldUtil
- remove
String[] getFieldsNames(Field[] fields)
method
JsonUtil
- remove
String format(Object obj,JsonConfig jsonConfig)
DateFormatUtil
- remove
String format(Date date,String pattern)
- remove
String format(Date date,String pattern,Locale locale)
ClassLoaderUtil
- remove
Enumeration<URL> getResources(String resourceName,Class<?> callingClass)
- remove
Class<?> getClass(String className)
ClassUtil addClass<?> getClass(String className)
[Fix Bug] 🐛
- [fix bug] when call JsonUtil
String format(Object obj,String[] excludes,Integer indentFactor,Integer indent)
setindentFactor
indent
Not effective