Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

abs(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Returns the ABS of the value, handles null.
absCompareTo(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
absDiff(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
AbstractReadOnlyExpiringCollection - Class in net.objectlab.kit.collections
 
AbstractReadOnlyExpiringCollection() - Constructor for class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
add(T) - Method in class net.objectlab.kit.collections.DefaultSetBuilder
 
add(T) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
add(T) - Method in interface net.objectlab.kit.collections.SetBuilder
 
add(BigDecimal...) - Method in class net.objectlab.kit.util.Average
 
add(BigDecimal, BigDecimal...) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Add n BigDecimal safely (i.e.
add(BigDecimal...) - Method in class net.objectlab.kit.util.Total
 
add(Integer) - Method in class net.objectlab.kit.util.Total
 
add(Total) - Method in class net.objectlab.kit.util.Total
 
add(BigDecimal, BigDecimal) - Method in class net.objectlab.kit.util.WeightedAverage
 
addAll(Collection<T>) - Method in class net.objectlab.kit.collections.DefaultSetBuilder
 
addAll(Collection<? extends T>) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
addAll(Collection<T>) - Method in interface net.objectlab.kit.collections.SetBuilder
 
addIfTrue(boolean, BigDecimal...) - Method in class net.objectlab.kit.util.Total
 
addMenuItem(String, String, boolean) - Method in class net.objectlab.kit.console.ConsoleMenu
add an entry in the menu, sequentially
addWeightedConstituent(BigDecimal, BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Calculate the weight of the constituent and add it to the running weighted value.
allEquals(String, String...) - Static method in class net.objectlab.kit.util.StringUtil
Return true if all strings are the same.
allNull(Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if ALL of the given objects are null.
allNullOrZero(BigDecimal...) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
anyEmpty(String...) - Static method in class net.objectlab.kit.util.StringUtil
 
anyNull(Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if any of the given objects are null.
asList(String[], String) - Static method in class net.objectlab.kit.util.StringUtil
 
assign(Integer, Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
Return the value unless it is null, in which case it returns the default value.
assignNonNull(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
atLeastOneNotNull(Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if at least one of the given objects is not null.
Average - Class in net.objectlab.kit.util
 
Average() - Constructor for class net.objectlab.kit.util.Average
 
Average(BigDecimal) - Constructor for class net.objectlab.kit.util.Average
 
Average(int) - Constructor for class net.objectlab.kit.util.Average
 

B

bd(String) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Convenience method to create a BigDecimal with a String, can be statically imported.
BigDecimalUtil - Class in net.objectlab.kit.util
 
BooleanUtil - Class in net.objectlab.kit.util
 
boxify(char, String) - Static method in class net.objectlab.kit.util.StringUtil
Returns a String which is surrounded by a box made of boxing char.
build() - Method in class net.objectlab.kit.collections.DefaultMapBuilder
Returns a newly-created immutable map.
buildStackTraceString(Throwable) - Static method in class net.objectlab.kit.util.Util
finds out the stack trace up to where the exception was thrown.

C

calculateMilliseconds() - Method in class net.objectlab.kit.util.PeriodBuilder
 
calculateWeight(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
CaseTreatment - Enum in net.objectlab.kit.util
 
clear() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
clear() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
CLOSE_PARENTHESES - Static variable in class net.objectlab.kit.util.StringUtil
 
CollectionUtil - Class in net.objectlab.kit.util
 
COMMA - Static variable in class net.objectlab.kit.util.StringUtil
 
compareTo(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
compareTo(String, String) - Static method in class net.objectlab.kit.util.StringUtil
Handle null.
concat(Object...) - Static method in class net.objectlab.kit.util.StringUtil
Concatenate the string value of the objects (toString()).
concatWithSpaces(Object...) - Static method in class net.objectlab.kit.util.StringUtil
Concatenate the string value of the objects (toString()) and insert a space between each value.
ConsoleMenu - Class in net.objectlab.kit.console
 
ConsoleMenu(Repeater) - Constructor for class net.objectlab.kit.console.ConsoleMenu
 
contains(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
contains(Collection<?>, Object) - Static method in class net.objectlab.kit.util.CollectionUtil
 
containsAll(Collection<?>) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
containsAny(Collection<?>, Object...) - Static method in class net.objectlab.kit.util.CollectionUtil
 
containsKey(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
containsValue(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
create(E1, E2) - Static method in class net.objectlab.kit.util.Pair
 
create(E1, E2, E3, E4) - Static method in class net.objectlab.kit.util.Quadruplet
 
create(E1, E2, E3) - Static method in class net.objectlab.kit.util.Triplet
 

D

days(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 
decimalPart(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return the decimal part of the value.
defaultFileFormatTimestamp(Date) - Static method in class net.objectlab.kit.util.StringUtil
 
defaultFormatDatetime(Date) - Static method in class net.objectlab.kit.util.StringUtil
 
DefaultMapBuilder<K,V> - Class in net.objectlab.kit.collections
Inspired by the Google Collection builder.
DefaultMapBuilder(String) - Constructor for class net.objectlab.kit.collections.DefaultMapBuilder
 
DefaultSetBuilder<T> - Class in net.objectlab.kit.collections
 
DefaultSetBuilder(String) - Constructor for class net.objectlab.kit.collections.DefaultSetBuilder
 
displayMenu() - Method in class net.objectlab.kit.console.ConsoleMenu
display the menu, the application goes into a loop which provides the menu and fires the entries selected.
divide(BigDecimal, BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
divide(int, BigDecimal, BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
divide(BigDecimal, BigDecimal, int, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
doClear() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
doClear() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
doClear() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
doLoad() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
doLoad() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
doLoad() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
DOT - Static variable in class net.objectlab.kit.util.StringUtil
 
doubleValue(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
dumpThreads() - Static method in class net.objectlab.kit.util.Util
Finds information about the threads and dumps them into a String.

E

EMPTY - Static variable in class net.objectlab.kit.util.StringUtil
 
emptyIfNull(Object) - Static method in class net.objectlab.kit.util.StringUtil
Returns "" if obj is null, obj.toString() otherwise.
ensureMin(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return minimum if the value is < minimum.
entrySet() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
equals(Object) - Method in class net.objectlab.kit.util.Pair
 
equals(Object) - Method in class net.objectlab.kit.util.Quadruplet
 
equals(Object) - Method in class net.objectlab.kit.util.Triplet
 
equalsAll(Object, Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if o1 equals (according to Object.equals(Object) ALL of the given objects.
equalsAny(Object, Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if o1 equals (according to Object.equals(Object) any of the given objects.
equalsAnyIgnoreCase(String, String...) - Static method in class net.objectlab.kit.util.StringUtil
 
equalsAnyIgnoreCase(String, String) - Static method in class net.objectlab.kit.util.StringUtil
 
equalsIgnoreCaseOrValueIsWildcard(String, String) - Static method in class net.objectlab.kit.util.StringUtil
Does equalsIgnoreCase call but if the value is '*', immediately returns true.
equalsValue(Integer, Integer) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if i1 equals (according to Integer.equals(Object)) 12.
equalsValue(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if bd1 has the same value (according to BigDecimalUtil.isSameValue(BigDecimal, BigDecimal), which takes care of different scales) as bd2.
equalsValue(Object, Object) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if o1 equals (according to Object.equals(Object)) o2.
expiryTimeout(PeriodBuilder) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
expiryTimeoutMilliseconds(long) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 

F

finalize() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
firstCharToUpper(String) - Static method in class net.objectlab.kit.util.StringUtil
 
forceNegative(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return a negative amount based on amount.
forceNegativeIfTrue(boolean, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return a negative amount based on amount if true, otherwise return the ABS.
format(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
return a Number formatted or empty string if null.

G

get(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
getAverage() - Method in class net.objectlab.kit.util.Average
 
getBigDecimal(String, BigDecimal) - Static method in class net.objectlab.kit.console.ConsoleMenu
Gets an BigDecimal from the System.in
getBoolean(String, boolean) - Static method in class net.objectlab.kit.console.ConsoleMenu
Gets a boolean from the System.in
getCount() - Method in class net.objectlab.kit.util.Total
 
getCount() - Method in class net.objectlab.kit.util.WeightedAverage
 
getCurrentTimeMillis() - Method in class net.objectlab.kit.collections.SystemTimeProvider
 
getCurrentTimeMillis() - Method in interface net.objectlab.kit.collections.TimeProvider
 
getDataPoints() - Method in class net.objectlab.kit.util.Average
 
getDate(String, Date) - Static method in class net.objectlab.kit.console.ConsoleMenu
 
getElement1() - Method in class net.objectlab.kit.util.Pair
 
getElement1() - Method in class net.objectlab.kit.util.Quadruplet
 
getElement1() - Method in class net.objectlab.kit.util.Triplet
 
getElement2() - Method in class net.objectlab.kit.util.Pair
 
getElement2() - Method in class net.objectlab.kit.util.Quadruplet
 
getElement2() - Method in class net.objectlab.kit.util.Triplet
 
getElement3() - Method in class net.objectlab.kit.util.Quadruplet
 
getElement3() - Method in class net.objectlab.kit.util.Triplet
 
getElement4() - Method in class net.objectlab.kit.util.Quadruplet
 
getExpiryTimeoutMilliseconds() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
getId() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
getId() - Method in class net.objectlab.kit.collections.DefaultMapBuilder
 
getId() - Method in class net.objectlab.kit.collections.DefaultSetBuilder
 
getId() - Method in interface net.objectlab.kit.collections.MapBuilder
 
getId() - Method in interface net.objectlab.kit.collections.SetBuilder
 
getInt(String, int) - Static method in class net.objectlab.kit.console.ConsoleMenu
Gets an int from the System.in
getLastLoadingTime() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
getMaximum() - Method in class net.objectlab.kit.util.Average
 
getMaximum() - Method in class net.objectlab.kit.util.WeightedAverage
 
getMinimum() - Method in class net.objectlab.kit.util.Average
 
getMinimum() - Method in class net.objectlab.kit.util.WeightedAverage
 
getPassword(String) - Static method in class net.objectlab.kit.console.ConsoleMenu
 
getString(String) - Static method in class net.objectlab.kit.console.ConsoleMenu
Gets a String from the System.in
getString(String, String) - Static method in class net.objectlab.kit.console.ConsoleMenu
Gets a String from the System.in
getTotal() - Method in class net.objectlab.kit.util.Average
 
getTotal() - Method in class net.objectlab.kit.util.Total
 
getTotal() - Method in class net.objectlab.kit.util.WeightedAverage
 
getValue() - Method in class net.objectlab.kit.util.ObjectHolder
 
getWeightedAverage() - Method in class net.objectlab.kit.util.WeightedAverage
 
getYMD(String, LocalDate) - Static method in class net.objectlab.kit.console.ConsoleMenu
 

H

hasExpired() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
hashCode() - Method in class net.objectlab.kit.util.Pair
 
hashCode() - Method in class net.objectlab.kit.util.Quadruplet
 
hashCode() - Method in class net.objectlab.kit.util.Triplet
 
hasOneItem(Collection<?>) - Static method in class net.objectlab.kit.util.CollectionUtil
 
hasSignedChanged(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
hasSignedFlippedAndNotZero(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
hours(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 

I

id(String) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
ifNotBlank(String, Consumer<String>) - Static method in class net.objectlab.kit.util.StringUtil
If the string is not blank call the consumer (depends on JDK8+)
ifNotNull(BigDecimal, Consumer<BigDecimal>) - Static method in class net.objectlab.kit.util.BigDecimalUtil
If the BigDecimal is not null call the consumer (depends on JDK8+)
ifTrue(Boolean, Runnable) - Static method in class net.objectlab.kit.util.BooleanUtil
If the boolean is not null and true, call the runnable/FunctionalInterface (depends on JDK8+)
IntegerUtil - Class in net.objectlab.kit.util
 
inverse(BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return the inverse of value if not null or zero, using scale.
inverse(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Return the inverse of value if no tnull of zero
isDiffMoreThanAbsThreshold(BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isEmpty() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
isEmpty() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
isEmpty(Collection<?>) - Static method in class net.objectlab.kit.util.CollectionUtil
 
isFalse(Boolean) - Static method in class net.objectlab.kit.util.BooleanUtil
 
isFalseOrNull(Boolean) - Static method in class net.objectlab.kit.util.BooleanUtil
 
isInsideInclusiveRange(BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isLoadOnFirstAccess() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
isNegative(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isNegative() - Method in class net.objectlab.kit.util.Total
 
isNotBlank(Object) - Static method in class net.objectlab.kit.util.StringUtil
 
isNotEmpty(Collection<?>) - Static method in class net.objectlab.kit.util.CollectionUtil
 
isNotEmpty(Object[]) - Static method in class net.objectlab.kit.util.CollectionUtil
 
isNotSameAbsValue(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Check ABS values of v1 and v2.
isNotSameValue(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Check values of v1 and v2.
isNotSameValue(Integer, Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isNotZero(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isNotZero(Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isNotZero() - Method in class net.objectlab.kit.util.Total
 
isNotZeroOrNegative(Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isNullOrZero(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isNullOrZero(Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isOutsideRange(BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isReloadOnExpiry() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
isSameAbsValue(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Check ABS values of v1 and v2.
isSameSignum(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isSameValue(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isSameValue(Integer, Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isSameValueTreatNullAsZero(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isStrictlyPositive(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isTrue(Boolean) - Static method in class net.objectlab.kit.util.BooleanUtil
 
isTrue(String) - Static method in class net.objectlab.kit.util.BooleanUtil
 
isTrueOrNull(Boolean) - Static method in class net.objectlab.kit.util.BooleanUtil
 
isWildcardOrNull(String) - Static method in class net.objectlab.kit.util.StringUtil
 
isZero(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isZero(Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
isZero() - Method in class net.objectlab.kit.util.Total
 
isZeroOrLess(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
isZeroOrLess() - Method in class net.objectlab.kit.util.Total
 
iterator() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 

K

keySet() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 

L

listify(String, String) - Static method in class net.objectlab.kit.util.Util
helper method to convert a 'delimiter' separated string to a list.
listToCSVString(List<?>) - Static method in class net.objectlab.kit.util.Util
convert a list to a comma separated string.
load(MapBuilder<K, V>) - Method in interface net.objectlab.kit.collections.MapLoader
 
load(SetBuilder<T>) - Method in interface net.objectlab.kit.collections.SetLoader
 
loadOnFirstAccess(boolean) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
longForFraction(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Move by 2 DEC place to the left and take the long value, this takes care of values like 0.18 in fractions.

M

MapBuilder<K,V> - Interface in net.objectlab.kit.collections
Inspired by the Google Collection builder.
MapLoader<K,V> - Interface in net.objectlab.kit.collections
Whenever the map needs to be reloaded, it will call the loader.
max(BigDecimal...) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
milliseconds(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 
min(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
minus(BigDecimal...) - Method in class net.objectlab.kit.util.Total
 
minus(Total) - Method in class net.objectlab.kit.util.Total
 
minutes(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 
movedInsideThresholdPercentage(BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
true if ABS((startValue-newValue)/startValue) <= abs(thresholdPercent)
movedStrictlyOutsideThresholdPercentage(BigDecimal, BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
true if ABS((startValue-newValue)/startValue) > abs(thresholdPercent)
movePoint(BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Safe shift (check for null), shift RIGHT if shift>0.
multiply(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
multiply(BigDecimal, BigDecimal...) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 

N

negate(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Returns the negate of the value, handles null.
negateIfTrue(boolean, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Returns the negate of the value if condition is true, handles null.
net.objectlab.kit.collections - package net.objectlab.kit.collections
This package is inspired by Guava BUT instead of loading one key at a time in an expiring cache, the whole dataset can be loaded in one go; of course use this ONLY if your dataset is small.
net.objectlab.kit.console - package net.objectlab.kit.console
This package provides a way to easily create console menus that facilitates interaction with a user.
net.objectlab.kit.util - package net.objectlab.kit.util
This package provides a series of utilities for manipulating BigDecimal and other that can be null.
NEW_LINE - Static variable in class net.objectlab.kit.util.StringUtil
 
noneBlank(String...) - Static method in class net.objectlab.kit.util.StringUtil
 
noneEmpty(Collection<?>...) - Static method in class net.objectlab.kit.util.CollectionUtil
 
noneNull(Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if NONE of the given objects are null.
notEqualsAny(Object, Object...) - Static method in class net.objectlab.kit.util.ObjectUtil
Return true if o1 does NOT equal (according to Object.equals(Object) any of the given objects.
NULL_COL - Static variable in class net.objectlab.kit.util.StringUtil
 
nullIfEmpty(String) - Static method in class net.objectlab.kit.util.StringUtil
return null if txt is null or empty

O

ObjectHolder<T> - Class in net.objectlab.kit.util
An object holder just in case one needs to give it as an argement to a method.
ObjectHolder() - Constructor for class net.objectlab.kit.util.ObjectHolder
value is null
ObjectHolder(T) - Constructor for class net.objectlab.kit.util.ObjectHolder
with a default value
ObjectUtil - Class in net.objectlab.kit.util
 
OPEN_PARENTHESES - Static variable in class net.objectlab.kit.util.StringUtil
 

P

Pair<E1,E2> - Class in net.objectlab.kit.util
 
Pair(E1, E2) - Constructor for class net.objectlab.kit.util.Pair
 
Pair() - Constructor for class net.objectlab.kit.util.Pair
 
percentFormat(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
return a Number formatted or empty string if null.
PeriodBuilder - Class in net.objectlab.kit.util
A simple helper class that is NOT SCIENTIFIC but accurate enough for the mere mortals, to calculate the number of milliseconds to be used in say a timer but setup in a easier way...
PeriodBuilder() - Constructor for class net.objectlab.kit.util.PeriodBuilder
 
prepareForNumericParsing(String) - Static method in class net.objectlab.kit.util.StringUtil
Remove " and spaces from the input string.
processCaseTreatment(String, CaseTreatment) - Static method in class net.objectlab.kit.util.StringUtil
 
put(K, V) - Method in class net.objectlab.kit.collections.DefaultMapBuilder
Associates key with value in the built map.
put(K, V) - Method in interface net.objectlab.kit.collections.MapBuilder
Associates key with value in the built map.
put(K, V) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
putAll(Map<? extends K, ? extends V>) - Method in class net.objectlab.kit.collections.DefaultMapBuilder
Associates all of the given map's keys and values in the built map.
putAll(Map<? extends K, ? extends V>) - Method in interface net.objectlab.kit.collections.MapBuilder
Associates all of the given map's keys and values in the built map.
putAll(Map<? extends K, ? extends V>) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 

Q

Quadruplet<E1,E2,E3,E4> - Class in net.objectlab.kit.util
 
Quadruplet(E1, E2, E3, E4) - Constructor for class net.objectlab.kit.util.Quadruplet
 

R

ReadOnlyExpiringCollection - Interface in net.objectlab.kit.collections
 
ReadOnlyExpiringCollectionBuilder - Class in net.objectlab.kit.collections
Builder for the immutable classes.
ReadOnlyExpiringCollectionBuilder() - Constructor for class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
ReadOnlyExpiringHashMap<K,V> - Class in net.objectlab.kit.collections
 
ReadOnlyExpiringHashMap(ReadOnlyExpiringHashMapBuilder<K, V>) - Constructor for class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
ReadOnlyExpiringHashMapBuilder<K,V> - Class in net.objectlab.kit.collections
 
ReadOnlyExpiringHashMapBuilder(MapLoader<K, V>) - Constructor for class net.objectlab.kit.collections.ReadOnlyExpiringHashMapBuilder
 
ReadOnlyExpiringHashSet<T> - Class in net.objectlab.kit.collections
 
ReadOnlyExpiringHashSet(ReadOnlyExpiringHashSetBuilder<T>) - Constructor for class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
ReadOnlyExpiringHashSetBuilder<T> - Class in net.objectlab.kit.collections
The builder in charge of providing the parameters for the Set.
ReadOnlyExpiringHashSetBuilder(SetLoader<T>) - Constructor for class net.objectlab.kit.collections.ReadOnlyExpiringHashSetBuilder
 
ReadOnlyExpiringMap<K,V> - Interface in net.objectlab.kit.collections
 
ReadOnlyExpiringSet<T> - Interface in net.objectlab.kit.collections
 
reload() - Method in interface net.objectlab.kit.collections.ReadOnlyExpiringCollection
 
reload() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
reload() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
reloadOnExpiry(boolean) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
reloadWhenExpired(boolean) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
remove(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
remove(Object) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
removeAll(Collection<?>) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
removeTrailingChar(String, char) - Static method in class net.objectlab.kit.util.StringUtil
 
repeat(Method) - Method in interface net.objectlab.kit.console.Repeater
 
Repeater - Interface in net.objectlab.kit.console
 
replace(String, String, String) - Static method in class net.objectlab.kit.util.StringUtil
 
replaceCRToken(String) - Static method in class net.objectlab.kit.util.StringUtil
Replaces any %CR% tokens with the newline character.
replaceToken(String, String, Object) - Static method in class net.objectlab.kit.util.StringUtil
 
replaceToken(String, String, String) - Static method in class net.objectlab.kit.util.StringUtil
Replaces the token, surrounded by % within a string with new value.
retainAll(Collection<?>) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
returnIfNotNull(String, String) - Static method in class net.objectlab.kit.util.StringUtil
 
roundDown(BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Returns a value rounded to p digits after decimal.
roundDownForIncrement(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 
roundTo(BigDecimal, int, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
returns a new BigDecimal with correct scale after being round to n dec places.
roundUp(BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Returns a value rounded-up to p digits after decimal.
roundUpForIncrement(BigDecimal, BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
 

S

safeAdd(Integer, Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
Add 2 BigDecimal safely (i.e.
safeCompare(Integer, Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
safeSignum(Integer) - Static method in class net.objectlab.kit.util.IntegerUtil
 
sameContent(Collection<?>, Collection<?>) - Static method in class net.objectlab.kit.util.CollectionUtil
 
seconds(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 
selectOne(String, String[], String[], int) - Static method in class net.objectlab.kit.console.ConsoleMenu
Generates a menu with a list of options and return the value selected.
SetBuilder<T> - Interface in net.objectlab.kit.collections
 
setElement1(E1) - Method in class net.objectlab.kit.util.Pair
 
setElement1(E1) - Method in class net.objectlab.kit.util.Quadruplet
 
setElement1(E1) - Method in class net.objectlab.kit.util.Triplet
 
setElement2(E2) - Method in class net.objectlab.kit.util.Pair
 
setElement2(E2) - Method in class net.objectlab.kit.util.Quadruplet
 
setElement2(E2) - Method in class net.objectlab.kit.util.Triplet
 
setElement3(E3) - Method in class net.objectlab.kit.util.Quadruplet
 
setElement3(E3) - Method in class net.objectlab.kit.util.Triplet
 
setElement4(E4) - Method in class net.objectlab.kit.util.Quadruplet
 
setExpiryTimeoutMilliseconds(long) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
setId(String) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
SetLoader<T> - Interface in net.objectlab.kit.collections
Whenever the set needs to be reloaded, it will call the loader.
setLoadOnFirstAccess(boolean) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
setReloadOnExpiry(boolean) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
setReloadWhenExpired(boolean) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
setScale(BigDecimal, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
returns a new BigDecimal with correct scale.
setScale(BigDecimal, Integer) - Static method in class net.objectlab.kit.util.BigDecimalUtil
returns a new BigDecimal with correct Scale.
setScale(BigDecimal, Integer, int) - Static method in class net.objectlab.kit.util.BigDecimalUtil
returns a new BigDecimal with correct Scales.PERCENT_SCALE.
setScreenColumns(int) - Method in class net.objectlab.kit.console.ConsoleMenu
 
setTimeProvider(TimeProvider) - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
setTotal(BigDecimal) - Method in class net.objectlab.kit.util.Total
 
setValue(T) - Method in class net.objectlab.kit.util.ObjectHolder
 
signum(BigDecimal) - Static method in class net.objectlab.kit.util.BigDecimalUtil
If value is null return 0 otherwise the signum().
SINGLE_QUOTE - Static variable in class net.objectlab.kit.util.StringUtil
 
singleQuote(String) - Static method in class net.objectlab.kit.util.StringUtil
Add single quotes ' around the text.
size() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
size() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
size(Collection<?>) - Static method in class net.objectlab.kit.util.CollectionUtil
 
SLASH - Static variable in class net.objectlab.kit.util.StringUtil
 
SPACE - Static variable in class net.objectlab.kit.util.StringUtil
 
start() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
stop() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
stop() - Method in interface net.objectlab.kit.collections.ReadOnlyExpiringCollection
 
StringUtil - Class in net.objectlab.kit.util
 
STYLE - Static variable in class net.objectlab.kit.util.StringUtil
 
subtract(BigDecimal, BigDecimal...) - Static method in class net.objectlab.kit.util.BigDecimalUtil
Subtract n BigDecimal safely from the start value (i.e.
subtract(BigDecimal...) - Method in class net.objectlab.kit.util.Total
 
subtractIfTrue(boolean, BigDecimal...) - Method in class net.objectlab.kit.util.Total
 
SystemTimeProvider - Class in net.objectlab.kit.collections
 
SystemTimeProvider() - Constructor for class net.objectlab.kit.collections.SystemTimeProvider
 

T

timeProvider(TimeProvider) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringCollectionBuilder
 
TimeProvider - Interface in net.objectlab.kit.collections
 
toArray() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
toArray(T[]) - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashSet
 
toLowerCase(String) - Static method in class net.objectlab.kit.util.StringUtil
 
toLowerCase(String...) - Static method in class net.objectlab.kit.util.StringUtil
 
toString() - Method in class net.objectlab.kit.util.Average
 
toString() - Method in class net.objectlab.kit.util.Pair
 
toString() - Method in class net.objectlab.kit.util.Quadruplet
 
toString(Object) - Static method in class net.objectlab.kit.util.StringUtil
 
toString() - Method in class net.objectlab.kit.util.Total
 
toString() - Method in class net.objectlab.kit.util.Triplet
 
toStringOrEmpty(Object) - Static method in class net.objectlab.kit.util.StringUtil
 
Total - Class in net.objectlab.kit.util
Mutable class representing a sum of BigDecimals.
Total() - Constructor for class net.objectlab.kit.util.Total
 
Total(BigDecimal) - Constructor for class net.objectlab.kit.util.Total
 
Total(BigDecimal, int) - Constructor for class net.objectlab.kit.util.Total
 
Total(Total) - Constructor for class net.objectlab.kit.util.Total
 
toUpperCase(String) - Static method in class net.objectlab.kit.util.StringUtil
 
trim(String) - Static method in class net.objectlab.kit.util.StringUtil
Handles null.
trimAndUpperCase(String) - Static method in class net.objectlab.kit.util.StringUtil
 
Triplet<E1,E2,E3> - Class in net.objectlab.kit.util
 
Triplet(E1, E2, E3) - Constructor for class net.objectlab.kit.util.Triplet
 

U

Util - Class in net.objectlab.kit.util
Utility class for list generation and parsing.

V

validateOnAccess() - Method in class net.objectlab.kit.collections.AbstractReadOnlyExpiringCollection
 
valueOf(String) - Static method in enum net.objectlab.kit.util.CaseTreatment
Returns the enum constant of this type with the specified name.
values() - Method in class net.objectlab.kit.collections.ReadOnlyExpiringHashMap
 
values() - Static method in enum net.objectlab.kit.util.CaseTreatment
Returns an array containing the constants of this enum type, in the order they are declared.

W

weeks(int) - Method in class net.objectlab.kit.util.PeriodBuilder
 
WeightedAverage - Class in net.objectlab.kit.util
 
WeightedAverage() - Constructor for class net.objectlab.kit.util.WeightedAverage
 
WeightedAverage(boolean) - Constructor for class net.objectlab.kit.util.WeightedAverage
 
WILDCARD - Static variable in class net.objectlab.kit.util.StringUtil
 
wrapText(String, String, int) - Static method in class net.objectlab.kit.util.StringUtil
Takes a block of text which might have long lines in it and wraps the long lines based on the supplied wrapColumn parameter.
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2006–2014 Appendium - Portfolio Financing Platform. All rights reserved.