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

A

addWhenNotExist(Collection<T>, T) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It add to collection if is not present already.
append(CharSequence) - Method in class pl.jalokim.utils.file.FileWriter
 
appendAllElementsAsLinesToFile(String, List<String>) - Static method in class pl.jalokim.utils.file.FileUtils
It append all list element to file, every as separated line.
appendAndNextLine(CharSequence) - Method in class pl.jalokim.utils.file.FileWriter
 
appendNextLine() - Method in class pl.jalokim.utils.file.FileWriter
 
appendToFile(String, String) - Static method in class pl.jalokim.utils.file.FileUtils
Append some text to file.
asArray(T[]) - Method in class pl.jalokim.utils.collection.Elements
 
asList() - Method in class pl.jalokim.utils.collection.Elements
 
asMap(Function<? super T, ? extends K>) - Method in class pl.jalokim.utils.collection.Elements
 
asMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Method in class pl.jalokim.utils.collection.Elements
 
asSet() - Method in class pl.jalokim.utils.collection.Elements
 
asStream() - Method in class pl.jalokim.utils.collection.Elements
 
asText(String) - Method in class pl.jalokim.utils.collection.Elements
Concatenate all elements in stream to String with join text.
asText() - Method in class pl.jalokim.utils.collection.Elements
Concatenate all elements in stream to String.

B

BACK_SLASH - Static variable in class pl.jalokim.utils.constants.Constants
 

C

close() - Method in class pl.jalokim.utils.file.FileCursor
 
close() - Method in class pl.jalokim.utils.file.FileWriter
 
CollectionUtils - Class in pl.jalokim.utils.collection
Some utils methods for collections.
CollectionUtilsException - Exception in pl.jalokim.utils.collection
Exception which can be thrown from pl.jalokim.utils.collection API.
CollectionUtilsException(String) - Constructor for exception pl.jalokim.utils.collection.CollectionUtilsException
 
COMMA - Static variable in class pl.jalokim.utils.constants.Constants
 
concat(String...) - Static method in class pl.jalokim.utils.string.StringUtils
concatenate all elements with empty string value.
concatElements(Collection<E>) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with empty text.
concatElements(Collection<E>, Function<E, String>) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with empty text with mapper from E type to String.
concatElements(Collection<E>, String) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with joinText value.
concatElements(Collection<E>, Function<E, String>, String) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with joinText value with mapper from E type to String.
concatElements(String, Collection<E>, Function<E, String>, String, String) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with prefix, join text between all elements and with suffix value with mapper from E type to String.
concatElements(String, Collection<E>, String, String) - Static method in class pl.jalokim.utils.string.StringUtils
Concatenate elements with prefix, join text between all elements and with suffix value with mapper from E type to String.
concatElements(String, String...) - Static method in class pl.jalokim.utils.string.StringUtils
This method concatenate all texts from array with join Text.
concatElementsAsLines(List<E>) - Static method in class pl.jalokim.utils.string.StringUtils
Return concatenated text all list elements as new lines.
concatElementsAsLines(Object...) - Static method in class pl.jalokim.utils.string.StringUtils
Return concatenated text all array elements as new lines.
concatElementsAsLines(Function<E, String>, E...) - Static method in class pl.jalokim.utils.string.StringUtils
Return concatenated text from mapped all array elements to text as new lines.
concatElementsAsLines(List<E>, Function<E, String>) - Static method in class pl.jalokim.utils.string.StringUtils
Return concatenated text all list elements as new lines.
concatObjects(Object...) - Static method in class pl.jalokim.utils.string.StringUtils
concatenate all object with empty string value.
Constants - Class in pl.jalokim.utils.constants
Some useful constants.
consume(int) - Method in interface pl.jalokim.utils.iteration.ExceptionableConsumer
 
consumeEveryLineFromFile(String, Consumer<String>) - Static method in class pl.jalokim.utils.file.FileUtils
It read all lines line by line and put line value to consumerLine argument.
consumeEveryLineWitNumberFromFile(String, BiConsumer<Long, String>) - Static method in class pl.jalokim.utils.file.FileUtils
It read all lines line by line and put line value to consumerLine argument.
countSearchedChar(String, char) - Static method in class pl.jalokim.utils.string.StringUtils
It returns number of searched char in provided text.
createDirectories(String) - Static method in class pl.jalokim.utils.file.FileUtils
It creates directories recursively, all path part will be a folder type.
createDirectoriesForFile(String) - Static method in class pl.jalokim.utils.file.FileUtils
It creates directories recursively, leaf of provided path is expected as file name.

D

DASH - Static variable in class pl.jalokim.utils.constants.Constants
 
DOT - Static variable in class pl.jalokim.utils.constants.Constants
 
DOUBLE_QUOTE - Static variable in class pl.jalokim.utils.constants.Constants
 

E

Elements<T> - Class in pl.jalokim.utils.collection
Simpler API than native java Stream API.
elements(Iterable<T>) - Static method in class pl.jalokim.utils.collection.Elements
 
elements(T...) - Static method in class pl.jalokim.utils.collection.Elements
 
elements(Stream<T>) - Static method in class pl.jalokim.utils.collection.Elements
 
EMPTY - Static variable in class pl.jalokim.utils.constants.Constants
 
ExceptionableConsumer - Interface in pl.jalokim.utils.iteration
Consumer which can throw some Exception.
ExceptionableRunnable - Interface in pl.jalokim.utils.iteration
This runnable can rise some Throwable instance.

F

FileCursor - Class in pl.jalokim.utils.file
This class is useful for read next line, can check that file contains next line.
FileCursor(String) - Constructor for class pl.jalokim.utils.file.FileCursor
Create instance of FileCursor.
FileException - Exception in pl.jalokim.utils.file
Wrapper class for IOException types.
FileException(IOException) - Constructor for exception pl.jalokim.utils.file.FileException
 
FileException(String) - Constructor for exception pl.jalokim.utils.file.FileException
 
FileUtils - Class in pl.jalokim.utils.file
Useful class for Files.
FileWriter - Class in pl.jalokim.utils.file
Simply class for writing text to file, line by line and with append to file.
FileWriter(String) - Constructor for class pl.jalokim.utils.file.FileWriter
 
filter(Predicate<T>) - Method in class pl.jalokim.utils.collection.Elements
 
filterToList(Collection<T>, Predicate<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some collection and filter expected elements and put them to new List.
filterToList(Collection<T>, Predicate<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some collection and filter expected elements and map them to new type and put results to new List.
filterToList(Predicate<T>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some collection and filter expected elements and put them to new List.
filterToList(Predicate<T>, Function<T, R>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some array and filter expected elements and map them to new type and put results to new List.
filterToSet(Collection<T>, Predicate<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some collection and filter expected elements and put them to new set.
filterToSet(Collection<T>, Predicate<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method get some collection and filter expected elements and map them to new type and put results to new Set.
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class pl.jalokim.utils.collection.Elements
 
flush() - Method in class pl.jalokim.utils.file.FileWriter
 
forEach(BiConsumer<Integer, T>) - Method in class pl.jalokim.utils.collection.Elements
For each with index and element.
forEach(Consumer<IndexedElement<T>>) - Method in class pl.jalokim.utils.collection.Elements
For each with index and element and useful method isFirst, isLast.
fromClassPath(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
Load text with placeholders from classpath.
fromClassPath(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
Load text with placeholders from classpath and set flag for throwExceptionForNotResolved.
fromFile(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
Load text with placeholders from file from certain file path.
fromFile(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
Load text with placeholders from file from certain file path and set flag for throwExceptionForNotResolved.
fromText(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
Load text with placeholders from simple String object.
fromText(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
* Load text with placeholders from simple String object and set flag for throwExceptionForNotResolved.

G

generateProbabilityArray(int) - Method in class pl.jalokim.utils.random.RandomUtilImpl
 
getAllChildClassesForClass(Class<T>, String, boolean) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It will search for all classes which inherit from provided super type.
getByGenericLabel(String) - Method in class pl.jalokim.utils.reflection.TypeMetadata
It returns metadata for raw generic label for current class, it not search in parents classes.
getCanonicalName() - Method in class pl.jalokim.utils.reflection.TypeMetadata
It returns canonical class name for current raw type.
getClassForName(String) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns raw class, under the hood is used apache lang3.
getCurrentLine() - Method in class pl.jalokim.utils.file.FileCursor
 
getCurrentTemplateText() - Method in class pl.jalokim.utils.template.TemplateAsText
Returns value for already resolved placeholders.
getField(Object, String) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
Returns lang.reflect.Field for given target object and fieldName.
getField(Class<?>, String) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
Returns lang.reflect.Field for given target class and fieldName.
getFirst(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns first element from list if present.
getFirst() - Method in class pl.jalokim.utils.collection.Elements
 
getGenericType(int) - Method in class pl.jalokim.utils.reflection.TypeMetadata
It returns metadata for generic type under provided index.
getLast(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns last element from list if present.
getLast() - Method in class pl.jalokim.utils.collection.Elements
 
getLastIndex(Collection<?>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns last index from list.
getLastIndex(Object...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns last index from array.
getLineNumber() - Method in class pl.jalokim.utils.file.FileCursor
First line number will be equals 1.
getMetaForField(String) - Method in class pl.jalokim.utils.reflection.TypeMetadata
It returns metadata for field stored in current raw class It searches for field in whole raw class hierarchy.
getMethod(Object, String, Class<?>...) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns method for given target object.
getMethod(Class<?>, String, Class<?>...) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns method for given target object.
getParametrizedRawTypes(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns some parametrized types for given class.
getParametrizedType(Field, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns a type of generic field by given index.
getParametrizedType(Object, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns a type of generic object by given index.
getParametrizedType(Class<?>, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns a type of generic class by given index.
getTypeMetadataForField(Class<?>, String) - Method in class pl.jalokim.utils.reflection.TypeMetadata
It returns resolved metadata for some raw generic type when exists one.
getTypeMetadataFromClass(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It builds metadata for provided class.
getTypeMetadataFromField(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It build metadata from provided field but field needs to have all generic types as real classes.
getTypeMetadataFromField(Field, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns generic type from certain field by index.
getTypeMetadataFromType(Type) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It build metadata from simple type.
getTypeMetadataOfArray(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It returns metadata of type stored in field which is array type.
getTypeOfArrayField(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
Return type of field which is expected to be array field.
getValueForStaticField(Class, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It gets value for static field by name from target class.
getValueOfField(Object, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It gets value for given field name from target object.
getValueOfField(Object, Class, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It gets value for given field name from target object.

H

hasGenericTypes() - Method in class pl.jalokim.utils.reflection.TypeMetadata
If raw class is generic types then this will return true.
hasNext() - Method in class pl.jalokim.utils.file.FileCursor
 
hasParent() - Method in class pl.jalokim.utils.reflection.TypeMetadata
When raw class have parent class which is not raw Object.
hasTheSameElements(Collection<T>, Collection<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It return true when provided collections have the same elements.

I

IndexedElement<T> - Class in pl.jalokim.utils.collection
Class which wraps element at certain index, over iterate you can check that this first or last element.
IndexedElement() - Constructor for class pl.jalokim.utils.collection.IndexedElement
 
intersection(Collection<E>, Collection<E>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It return intersection for two given collections.
InvokableReflectionUtils - Class in pl.jalokim.utils.reflection
Set of utils methods for set value, get value for field, invoke methods etc by reflection.
invoke() - Method in interface pl.jalokim.utils.iteration.ExceptionableRunnable
 
invokeMethod(Object, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invokes first match method in hierarchy of target object which has arguments with explicitly provided types, and invoke method with list of arguments.
invokeMethod(Object, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invokes first match method in hierarchy of target object which has arguments with expected types, and invokes method with list of arguments.
invokeMethod(Object, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invoke first match method in hierarchy of target object which has arguments with expected types, and invokes method with array of arguments.
invokeMethod(Object, Class<?>, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invoke first match method in hierarchy starting from target class, it invoke on target object which has arguments with expected types, and invokes method with list of arguments.
invokeMethod(Object, Class<?>, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invoke first match method in hierarchy starting from target class, it invoke on target object which has arguments with expected types, and invokes method with list of arguments.
invokeMethod(Object, Class<?>, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Invokes first match method in hierarchy starting from target class, it invoke on target object which has arguments with explicitly provided types, and invoke method with list of arguments.
invokeStaticMethod(Class<?>, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It will search for first match static method, it will start searching from target class.
invokeStaticMethod(Class<?>, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It will search for first match static method, it will start searching from target class.
invokeStaticMethod(Class<?>, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It will search for first match static method, it will start searching from target class.
isArrayType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is array type.
isArrayType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is array type.
isArrayType() - Method in class pl.jalokim.utils.reflection.TypeMetadata
 
isBlank(String) - Static method in class pl.jalokim.utils.string.StringUtils
If whole text contains only white signs then return true.
isCollectionType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is collection type.
isCollectionType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is collection type.
isEmpty(Collection<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns true when collection is null or empty.
isEmpty(String) - Static method in class pl.jalokim.utils.string.StringUtils
Check that text is empty or null.
isEnumType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is simple enum type.
isEnumType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is simple enum type.
isEnumType() - Method in class pl.jalokim.utils.reflection.TypeMetadata
 
isHavingElementsType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is array or collection type.
isHavingElementsType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is array or collection type.
isHavingElementsType() - Method in class pl.jalokim.utils.reflection.TypeMetadata
When is some bag, it means when is array type or some collection.
isLastIndex(List<?>, int) - Static method in class pl.jalokim.utils.collection.CollectionUtils
check that given index is last in certain list.
isLastIndex(Object[], int) - Static method in class pl.jalokim.utils.collection.CollectionUtils
check that given index is last in certain array.
isMapType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is map type.
isMapType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is map type.
isMapType() - Method in class pl.jalokim.utils.reflection.TypeMetadata
 
isNotBlank(String) - Static method in class pl.jalokim.utils.string.StringUtils
If whole text doesn't contain only white signs then return true.
isNotEmpty(Collection<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It returns true only when collection is not null, and if not empty.
isNotEmpty(String) - Static method in class pl.jalokim.utils.string.StringUtils
Check that text is not empty.
isNumberType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is number type.
isNumberType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is number type.
isSimpleType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is simple type.
isSimpleType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is simple type.
isSimpleType() - Method in class pl.jalokim.utils.reflection.TypeMetadata
When is simple primitive type.
isTextType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given field is simple string type.
isTextType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
It checks that given class is simple string type.
IterationException - Exception in pl.jalokim.utils.iteration
Wrapper exception for thrown exception from ExceptionableConsumer and ExceptionableRunnable.
IterationException(Throwable) - Constructor for exception pl.jalokim.utils.iteration.IterationException
 
IterationUtils - Class in pl.jalokim.utils.iteration
Another way of iterate code.

L

LEFT_CURLY_BRACE - Static variable in class pl.jalokim.utils.constants.Constants
 
LEFT_PARENTHESIS - Static variable in class pl.jalokim.utils.constants.Constants
 
LEFT_SQUARE_PARENTHESIS - Static variable in class pl.jalokim.utils.constants.Constants
 
listOfFiles(String) - Static method in class pl.jalokim.utils.file.FileUtils
 
listOfFiles(String, FileFilter) - Static method in class pl.jalokim.utils.file.FileUtils
 
loadFileFromClassPathAsText(String) - Static method in class pl.jalokim.utils.file.FileUtils
It read from file from classpath and put all content to String.
loadFileFromClassPathAsText(String, Charset) - Static method in class pl.jalokim.utils.file.FileUtils
It read from file from classpath and put all content to String with certain encoding.
loadFileFromPathAsText(String) - Static method in class pl.jalokim.utils.file.FileUtils
It read from file and put all content to String.
loadFileFromPathAsText(String, Charset) - Static method in class pl.jalokim.utils.file.FileUtils
It read from file and put all content to String with certain encoding.
loadFileFromPathToList(String) - Static method in class pl.jalokim.utils.file.FileUtils
It reads all lines to list from certain path from system for file.

M

map(Function<? super T, ? extends R>) - Method in class pl.jalokim.utils.collection.Elements
 
mapToList(Collection<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new List with mapped values from source collection.
mapToList(Collection<T>, Function<T, R>, Predicate<R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new List with mapped values from source collection.
mapToList(Function<T, R>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new List with mapped values from source array.
mapToList(Function<T, R>, Predicate<R>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new List with mapped values from source array.
mapToSet(Collection<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new Set with mapped values from source collection.
mapToSet(Collection<T>, Function<T, R>, Predicate<R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
This method return new Set with mapped values from source collection.
MetadataReflectionUtils - Class in pl.jalokim.utils.reflection
Gather some metadata about classes.
MINUS - Static variable in class pl.jalokim.utils.constants.Constants
 

N

NEW_LINE - Static variable in class pl.jalokim.utils.constants.Constants
 
newInstance(Class<T>, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It create instance of object based on below arguments.
newInstance(Class<T>, List<Class<?>>, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It create instance of object based on below arguments.
newInstance(Class<T>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It create instance of object based on below arguments.
newInstance(Class<T>, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It create instance of object based on below arguments.
newInstance(Class<T>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It create instance of object without constructor arguments.
next() - Method in class pl.jalokim.utils.file.FileCursor
 

O

overrideVariable(String, String) - Method in class pl.jalokim.utils.template.TemplateAsText
Override some placeholder.
ownRandomImpl(RandomUtilImpl) - Static method in class pl.jalokim.utils.random.RandomUtils
 

P

pl.jalokim.utils.collection - package pl.jalokim.utils.collection
 
pl.jalokim.utils.constants - package pl.jalokim.utils.constants
 
pl.jalokim.utils.file - package pl.jalokim.utils.file
 
pl.jalokim.utils.iteration - package pl.jalokim.utils.iteration
 
pl.jalokim.utils.random - package pl.jalokim.utils.random
 
pl.jalokim.utils.reflection - package pl.jalokim.utils.reflection
 
pl.jalokim.utils.string - package pl.jalokim.utils.string
 
pl.jalokim.utils.template - package pl.jalokim.utils.template
 
PLUS - Static variable in class pl.jalokim.utils.constants.Constants
 

Q

QUESTION_SIGN - Static variable in class pl.jalokim.utils.constants.Constants
 

R

randomElement(Collection<T>) - Static method in class pl.jalokim.utils.random.RandomUtils
It returns random element from collection.
randomElement(T...) - Static method in class pl.jalokim.utils.random.RandomUtils
It returns random element from array.
randomElementImpl(Collection<T>) - Method in class pl.jalokim.utils.random.RandomUtilImpl
 
RandomException - Exception in pl.jalokim.utils.random
Exception for Random API.
RandomException(String) - Constructor for exception pl.jalokim.utils.random.RandomException
 
randomIndex(List<T>) - Static method in class pl.jalokim.utils.random.RandomUtils
It returns random index for element from collection.
randomIndex(T...) - Static method in class pl.jalokim.utils.random.RandomUtils
It returns random index for element from array.
randomInRange(int, int) - Static method in class pl.jalokim.utils.random.RandomUtils
Return random integer number.
randomInRangeImpl(int, int) - Method in class pl.jalokim.utils.random.RandomUtilImpl
 
randomTrue() - Method in class pl.jalokim.utils.random.RandomUtilImpl
 
randomTrue() - Static method in class pl.jalokim.utils.random.RandomUtils
It returns true or false randomly.
randomTrue(int) - Static method in class pl.jalokim.utils.random.RandomUtils
It returns true or false randomly based on probability of true value of boolean.
randomTrueWithProbability(int) - Method in class pl.jalokim.utils.random.RandomUtilImpl
 
RandomUtilImpl - Class in pl.jalokim.utils.random
Implementation of random API.
RandomUtilImpl() - Constructor for class pl.jalokim.utils.random.RandomUtilImpl
 
RandomUtilImpl(Random) - Constructor for class pl.jalokim.utils.random.RandomUtilImpl
 
RandomUtils - Class in pl.jalokim.utils.random
Util class for some random things.
readFileFromPathToFileCursor(String) - Static method in class pl.jalokim.utils.file.FileUtils
It create instance of FileCursor.
ReflectionOperationException - Exception in pl.jalokim.utils.reflection
Exception which can be thrown during invoke operations on reflection API.
ReflectionOperationException(Throwable) - Constructor for exception pl.jalokim.utils.reflection.ReflectionOperationException
 
ReflectionOperationException(String) - Constructor for exception pl.jalokim.utils.reflection.ReflectionOperationException
 
ReflectionOperationException(String, Throwable) - Constructor for exception pl.jalokim.utils.reflection.ReflectionOperationException
 
repeatNTimes(int, ExceptionableRunnable) - Static method in class pl.jalokim.utils.iteration.IterationUtils
 
repeatNTimes(int, ExceptionableConsumer) - Static method in class pl.jalokim.utils.iteration.IterationUtils
 
repeatTextNTimes(int, String) - Static method in class pl.jalokim.utils.string.StringUtils
It create text with n times repeated text.
RIGTH_CURLY_BRACE - Static variable in class pl.jalokim.utils.constants.Constants
 
RIGTH_PARENTHESIS - Static variable in class pl.jalokim.utils.constants.Constants
 
RIGTH_SQUARE_PARENTHESIS - Static variable in class pl.jalokim.utils.constants.Constants
 

S

setValueForField(Object, String, Object) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Setup new value for target object for given field name.
setValueForField(Object, Class<?>, String, Object) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
Setup new value for target object for given field name.
setValueForStaticField(Class<?>, String, Object) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
It can't override primitive static final fields and static final String fields.
SINGLE_QUOTE - Static variable in class pl.jalokim.utils.constants.Constants
 
SLASH - Static variable in class pl.jalokim.utils.constants.Constants
 
sortAsNewList(Collection<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
It get list and sort elements but not change source list.
SPACE - Static variable in class pl.jalokim.utils.constants.Constants
 
StringUtils - Class in pl.jalokim.utils.string
Utils methods for String.
swapElementsAsNewList(List<T>, int, T) - Static method in class pl.jalokim.utils.collection.CollectionUtils
Swap element in copy of sourceList and returns it.

T

TAB - Static variable in class pl.jalokim.utils.constants.Constants
 
tabsNTimes(int) - Static method in class pl.jalokim.utils.string.StringUtils
It return N times of tabulator.
TemplateAsText - Class in pl.jalokim.utils.template
Utils class for some text with template, can override some placeholders.
toString() - Method in class pl.jalokim.utils.collection.Elements
Concatenate all elements in stream to String.
toString() - Method in class pl.jalokim.utils.reflection.TypeMetadata
 
TypeMetadata - Class in pl.jalokim.utils.reflection
Class which represents real types for generic types.

U

UNDERSCORE - Static variable in class pl.jalokim.utils.constants.Constants
 
UnresolvedRealClassException - Exception in pl.jalokim.utils.reflection
Exception thrown when cannot resolve some generic type to real class.
UnresolvedRealClassException(String, UnresolvedRealClassException) - Constructor for exception pl.jalokim.utils.reflection.UnresolvedRealClassException
 
UnresolvedRealClassException(Throwable) - Constructor for exception pl.jalokim.utils.reflection.UnresolvedRealClassException
 

W

writeAllElementsAsLinesToFile(String, List<String>) - Static method in class pl.jalokim.utils.file.FileUtils
It writes all list element to file, every as separated line.
writeToFile(String, String) - Static method in class pl.jalokim.utils.file.FileUtils
It override current file content if exists.
A B C D E F G H I L M N O P Q R S T U W 
Skip navigation links

Copyright © 2019. All rights reserved.