A C D I N O P S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAll(T[], List<T>) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Append a List of elements to an array.
- addAll(T[], T...) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Append elements to an array.
- addIfEquals(List<T>, T, T) - Static method in class org.okkam.awesome.utils.OkkamLists
-
Add elemToAdd to the list only if it is equals to elemToCompare.
- addIfEquals(List<T>, T, T1, T1) - Static method in class org.okkam.awesome.utils.OkkamLists
-
Add elemToAdd to the list only if element1 is equals to element2.
- addIfNotContained(List<T>, T...) - Static method in class org.okkam.awesome.utils.OkkamLists
-
add elements if not already contained.
- addIfNotNull(Set<T>, T) - Static method in class org.okkam.awesome.utils.OkkamSets
-
Add if not empty.
- addSafeToHashSet(Set<T>, T...) - Static method in class org.okkam.awesome.utils.OkkamSets
-
Add elements to the HashSet.
- appendAll(StringBuilder, T...) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Append to the string Builder all elements.
- appendElements(List<T>, T...) - Static method in class org.okkam.awesome.utils.OkkamLists
-
Append elements to a list.
C
- concatRange(T[], String, int, int) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Generate a String by concatenating Array fields between 'from' and 'to' position.
- concatRanges(T[], String, int...) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Generate a String by concatenating Array fields between some position ranges.
- createArrayListIfNull(List<T>) - Static method in class org.okkam.awesome.utils.OkkamLists
-
Create an ArrayList if the List is null.
- createHashSetIfNull(Set<T>) - Static method in class org.okkam.awesome.utils.OkkamSets
-
Create an HashSet if the Set is null.
D
- duplicate(String, int) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Duplicate the string n times.
I
- indexOf(T[], T) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Get the position of the object in an array.
- isBetween(char, char, char) - Static method in class org.okkam.awesome.utils.OkkamChars
-
Check if a char is between a range.
- isEmptyAndNotNull(String, boolean) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Check if the string is empty and not null.
- isEmptyOrNull(String, boolean) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Check if the string is null or empty.
- isOneOf(String, boolean, String...) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Check if the string is one of the specified values.
- isStrictBetween(char, char, char) - Static method in class org.okkam.awesome.utils.OkkamChars
-
Check if a char is strict between a range.
N
- noOneIsEmptyOrNull(boolean, String...) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Check if the strings are not empty and not blank.
O
- OkkamArrays - Class in org.okkam.awesome.utils
- OkkamChars - Class in org.okkam.awesome.utils
- OkkamCollections - Class in org.okkam.awesome.utils
- OkkamComparators - Class in org.okkam.awesome.utils
- OkkamGeoUtils - Class in org.okkam.awesome.utils
- OkkamLists - Class in org.okkam.awesome.utils
- OkkamMaps - Class in org.okkam.awesome.utils
- OkkamSets - Class in org.okkam.awesome.utils
- OkkamStrings - Class in org.okkam.awesome.utils
- org.okkam.awesome.utils - package org.okkam.awesome.utils
P
- prependElements(List<T>, T...) - Static method in class org.okkam.awesome.utils.OkkamLists
-
Prepend elements to a list.
- putIfNotExists(Map<K, V>, K, V) - Static method in class org.okkam.awesome.utils.OkkamMaps
-
Put an element into the map if it the key does not exists.
S
- separateArrayBy(T[], String) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Generate a string based on array, with a specified separator.
- separateTreeMapValuesBy(Map<T, String>, String) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Generate a string based on map values, with a specified separator.
- sortAscending() - Static method in class org.okkam.awesome.utils.OkkamComparators
-
Comparator to sort ascending (or alphabetically for strings).
- sortDescending() - Static method in class org.okkam.awesome.utils.OkkamComparators
-
Comparator to sort descending (or reverse alphabetically for strings).
- sphericalLawOfCosinesDistance(double, double, double, double) - Static method in class org.okkam.awesome.utils.OkkamGeoUtils
-
Return the distance in meters between the two WGS84 points (lat1,lon1) and (lat2,lon2) using the spherical law of cosines.
- splitByChar(String, char) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Split a string by a char.
T
- toArrayList(T[]) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Transform the input array into an ArrayList.
- toArrayListEndingWith(T[], T...) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Transform the array into an ArrayList, appending a set of elements.
- toArrayListStartingWith(T[], T...) - Static method in class org.okkam.awesome.utils.OkkamArrays
-
Transform the array into an ArrayList, prepending a set of elements.
- toList(Collection<T>) - Static method in class org.okkam.awesome.utils.OkkamCollections
-
Return a list from a collection.
- trimIfNecessary(boolean, String) - Static method in class org.okkam.awesome.utils.OkkamStrings
-
Returns the trimmed string when not null and necessary (i.e.
V
- valuesToList(Map<?, V>) - Static method in class org.okkam.awesome.utils.OkkamMaps
-
Return the list composed by the values of the map.
All Classes All Packages