Index
All Classes and Interfaces|All Packages
A
- acceptDirectories() - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IExtensionPredicate
-
Accept directories
- apply(T, IApply.WithResult<T, T>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Apply configuration to the object and return it as a result
- applyTransform(T, IApply.WithResult<T, V>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Apply configuration to the object and return another object result
- Arch - Enum Class in com.github.ushiosan23.jvm.system.os
- ARM - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Arch
-
ARM architecture
- Arr - Class in com.github.ushiosan23.jvm.collections
B
- byteIndexOf(byte[], byte) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
C
- capitalize(CharSequence) - Static method in class com.github.ushiosan23.jvm.base.StringUtils
-
Generates a text with a capital letter at the beginning.
- capitalize(CharSequence, boolean) - Static method in class com.github.ushiosan23.jvm.base.StringUtils
-
Generates a text with a capital letter at the beginning.
- castTo(Object) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Recast the object towards the assigned destination.
- castTo(Object, Class<T>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Recast the object towards the assigned destination.
- clamp(double, double, double) - Static method in class com.github.ushiosan23.jvm.base.MathExtra
-
This method clamp a number within a range of numbers.
- ClassUtils - Class in com.github.ushiosan23.jvm.base
-
Utilities for the class
Classor similar. - com.github.ushiosan.jvm - module com.github.ushiosan.jvm
-
Utilities module for repetitive or complex tasks of the java virtual machine.
- com.github.ushiosan23.jvm.base - package com.github.ushiosan23.jvm.base
- com.github.ushiosan23.jvm.collections - package com.github.ushiosan23.jvm.collections
- com.github.ushiosan23.jvm.functions.apply - package com.github.ushiosan23.jvm.functions.apply
- com.github.ushiosan23.jvm.io - package com.github.ushiosan23.jvm.io
- com.github.ushiosan23.jvm.io.predicates - package com.github.ushiosan23.jvm.io.predicates
- com.github.ushiosan23.jvm.system - package com.github.ushiosan23.jvm.system
- com.github.ushiosan23.jvm.system.error - package com.github.ushiosan23.jvm.system.error
- com.github.ushiosan23.jvm.system.os - package com.github.ushiosan23.jvm.system.os
- com.github.ushiosan23.jvm.xml - package com.github.ushiosan23.jvm.xml
- Containers - Class in com.github.ushiosan23.jvm.collections
D
- directoryWalk(Path, boolean, Predicate<Path>...) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Generates a stream where it recursively iterates through all the directories within the given destination.
- directoryWalkArr(Path, boolean, Predicate<Path>...) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Generates a stream where it recursively iterates through all the directories within the given destination.
E
- end - Variable in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
-
End of print
- entry(K, V) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Generate an immutable map entry with the selected information.
- ExceptionUtils - Class in com.github.ushiosan23.jvm.system.error
- extensionsOf(boolean, String...) - Static method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate
-
Generate new extension predicate
- extensionsOf(String...) - Static method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate
-
Generate new extension predicate
F
- FREE_BSD - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Free BSD platform
G
- generateValidator(InputStream, String) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Generates an XML file validator.
- getAllExtensions(Path) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns a text string with all the extensions of a file.
- getBaseName(Path) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns the base name of the route.
- getCurrent() - Static method in enum class com.github.ushiosan23.jvm.system.os.Arch
-
Returns the current architecture of the processor.
- getCurrent() - Static method in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Returns the current platform where the JVM is running
- getDeepCause(Throwable) - Static method in class com.github.ushiosan23.jvm.system.error.ExceptionUtils
-
Returns the base cause of the exception.
- getExtension(Path) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns the extension of a given file.
- getExtensions() - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IExtensionPredicate
-
Get all predicate extensions
- getPattern() - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IRegexPredicate
-
Get predicate pattern
- getRandomString() - Static method in class com.github.ushiosan23.jvm.system.Rand
-
Generate a random string with an adjustable size.
- getRandomString(int) - Static method in class com.github.ushiosan23.jvm.system.Rand
-
Generate a random string with an adjustable size.
- getRandomString(int, int[]) - Static method in class com.github.ushiosan23.jvm.system.Rand
-
Generate a random string with an adjustable size.
- getSystemRandom() - Static method in class com.github.ushiosan23.jvm.system.Rand
-
Return a default system random object.
- getSystemRandom(long) - Static method in class com.github.ushiosan23.jvm.system.Rand
-
Return a default system random object
- getUserPath() - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Depending on the operating system, it returns the path of the current user.
- getValidFileSystem(URI) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Try to return a valid file system.
- getValidFileSystem(URL) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Try to return a valid file system.
H
- hasDecimals(double) - Static method in class com.github.ushiosan23.jvm.base.Numbers
-
Determine if a decimal number contains decimals after the floating point.
- hasDecimals(float) - Static method in class com.github.ushiosan23.jvm.base.Numbers
-
Determine if a decimal number contains decimals after the floating point.
I
- IApply - Interface in com.github.ushiosan23.jvm.functions.apply
- IApply.EmptyResult<T> - Interface in com.github.ushiosan23.jvm.functions.apply
- IApply.WithResult<T,
V> - Interface in com.github.ushiosan23.jvm.functions.apply - indexOf(Object[], Object) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
- intIndexOf(int[], int) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
- invoke(T) - Method in interface com.github.ushiosan23.jvm.functions.apply.IApply.EmptyResult
-
Apply configuration to the object and return it as a result
- invoke(T) - Method in interface com.github.ushiosan23.jvm.functions.apply.IApply.WithResult
-
Apply configuration to the object and return it as a result
- IOUtils - Class in com.github.ushiosan23.jvm.io
- IPredicate - Interface in com.github.ushiosan23.jvm.io.predicates
- IPredicate.IExtensionPredicate - Interface in com.github.ushiosan23.jvm.io.predicates
- IPredicate.IRegexPredicate - Interface in com.github.ushiosan23.jvm.io.predicates
- isPrimitive(Class<?>) - Static method in class com.github.ushiosan23.jvm.base.ClassUtils
-
Checks if the given class is a primitive.
- isToStringOverwritten(Object) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Checks if the object has the default "toString" method.
- isUnix() - Method in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Determine if the platform is unix-like.
J
- jarToPath(URI) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns a jar file as a virtual directory.
- jarToPath(URL) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns a jar file as a virtual directory.
- jarToPath(Path) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns a jar file as a virtual directory.
L
- lastByteIndexOf(byte[], byte) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- lastIndexOf(Object[], Object) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- lastIntIndexOf(int[], int) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- lastLongIndexOf(long[], long) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- lastNumberIndexOf(Number[], Number) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- lastShortIndexOf(short[], short) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search an element in the array.
- LINUX - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Linux platform
- LIST - Enum constant in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
- listOf(T...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Create an immutable list with all the given elements.
- load(File, IApply.EmptyResult<DocumentBuilderFactory>) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Load xml file
- load(InputStream, IApply.EmptyResult<DocumentBuilderFactory>) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Load xml stream
- load(URL, IApply.EmptyResult<DocumentBuilderFactory>) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Load xml url
- load(Path, IApply.EmptyResult<DocumentBuilderFactory>) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Load xml file path
- longIndexOf(long[], long) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
M
- MACOS - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Any macOS platform
- MAP - Enum constant in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
- mapOf(Map.Entry<K, V>...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Generate an immutable map with all elements inside.
- MathExtra - Class in com.github.ushiosan23.jvm.base
-
Class that adds extra math utilities.
- mutableEntry(K, V) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Generate a mutable map entry with the selected information.
- mutableListOf(T...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Create a mutable list with all the given elements.
- mutableMapOf(Map.Entry<K, V>...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Generate a mutable map with all elements inside.
- mutableSetOf(T...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Create a mutable set with all the given elements.
N
- notNull(T, IApply.EmptyResult<T>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Execute action only if object is not null
- notNull(T, T) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Get not null value
- numberIndexOf(Number[], Number) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
- Numbers - Class in com.github.ushiosan23.jvm.base
O
- Obj - Class in com.github.ushiosan23.jvm.base
- of(T...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate an array from given values
- ofBoolean(boolean...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofByte(Number...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofChars(char...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofDouble(double...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofFloat(float...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofInt(int...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofLong(long...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- ofNumber(Number...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a number array
- ofNumberExt(Object) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Convert any numeric array to number array
- ofShort(Number...) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Generate a primitive array
- onlyFileNames() - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IRegexPredicate
-
Accept only file names
P
- percentage(double, double) - Static method in class com.github.ushiosan23.jvm.base.MathExtra
-
Find the percent of a number.
- Platform - Enum Class in com.github.ushiosan23.jvm.system.os
- PrintUtils - Class in com.github.ushiosan23.jvm.io
- PrintUtils.CollectionType - Enum Class in com.github.ushiosan23.jvm.io
-
Determine the type of collection and how it will be printed.
R
- Rand - Class in com.github.ushiosan23.jvm.system
- RAND_ALL_SYMBOLS - Static variable in class com.github.ushiosan23.jvm.system.Rand
-
Data range for all valid symbols
- RAND_ALPHANUMERIC - Static variable in class com.github.ushiosan23.jvm.system.Rand
-
Data range for alphanumeric letters
- RAND_LETTERS - Static variable in class com.github.ushiosan23.jvm.system.Rand
-
Data range for all letters
- RAND_NUMBERS - Static variable in class com.github.ushiosan23.jvm.system.Rand
-
Data range for all numbers
- regexOf(String) - Static method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate
-
Generate new regex predicate
- regexOf(String, boolean) - Static method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate
-
Generate new regex predicate
- resolveUserPath(String...) - Static method in class com.github.ushiosan23.jvm.io.IOUtils
-
Returns a specific path within the user's folder.
S
- setOf(T...) - Static method in class com.github.ushiosan23.jvm.collections.Containers
-
Create an immutable set with all the given elements.
- shortIndexOf(short[], short) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Search element in the array
- SOLARIS - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Solaris platform
- start - Variable in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
-
Start of printing
- StringUtils - Class in com.github.ushiosan23.jvm.base
T
- test(Path) - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IRegexPredicate
-
Evaluates this predicate on the given argument.
- test(Path) - Method in interface com.github.ushiosan23.jvm.io.predicates.IPredicate.IExtensionPredicate
-
Evaluates this predicate on the given argument.
- toClassString(Class<?>, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Classobject string representation - toCollectionString(Collection<?>, boolean, PrintUtils.CollectionType, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Collectionobject string representation. - toCollectionString(Collection<?>, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Collectionobject string representation. - toEntryString(Map.Entry<?, ?>, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Map.Entryobject string representation. - toInfoString(Object) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Get object info representation
- toInfoString(Object) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Array info string representation
- toMapString(Map<?, ?>, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Mapobject string representation. - toRawString(Object, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Any object string representation.
- toString() - Method in enum class com.github.ushiosan23.jvm.system.os.Arch
-
Object string representation
- toString() - Method in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Object string representation
- toString(Throwable, boolean) - Static method in class com.github.ushiosan23.jvm.system.error.ExceptionUtils
-
Returns the exception stack trace in text format.
- toString(Object) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
Get object string representation
- toString(Object) - Static method in class com.github.ushiosan23.jvm.collections.Arr
-
Array string representation
- toString(Object) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Manages the printing process of an object.
- toString(Object, boolean) - Static method in class com.github.ushiosan23.jvm.io.PrintUtils
-
Manages the printing process of an object.
- tryCast(Object, Class<T>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
It tries to recast the object towards the assigned destination, but does not generate an error.
- tryCast(Object, Class<T>, IApply.EmptyResult<T>) - Static method in class com.github.ushiosan23.jvm.base.Obj
-
It tries to recast the object towards the assigned destination, but does not generate an error.
U
- UNKNOWN - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Arch
-
Unknown architecture.
- UNKNOWN - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Unknown platform.
V
- validate(InputStream, String, InputStream) - Static method in class com.github.ushiosan23.jvm.xml.XMLUtils
-
Validates an XML file using a schema file.
- valueOf(String) - Static method in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.ushiosan23.jvm.system.os.Arch
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.ushiosan23.jvm.io.PrintUtils.CollectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.ushiosan23.jvm.system.os.Arch
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.ushiosan23.jvm.system.os.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
X
- X64 - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Arch
-
64-bit architectures
- X86 - Enum constant in enum class com.github.ushiosan23.jvm.system.os.Arch
-
32-bit architecture
- XMLUtils - Class in com.github.ushiosan23.jvm.xml
All Classes and Interfaces|All Packages