Index

A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

addPanel(GPanel) - Method in class com.glitchybyte.glib.terminal.display.GPanel
Adds a child panel to this panel.
addWork(T) - Method in class com.glitchybyte.glib.concurrent.workqueue.GAsyncWorkQueue
Adds a work item to the queue.
addWork(T) - Method in interface com.glitchybyte.glib.concurrent.workqueue.GWorkQueue
Adds work to the work queue.
addWork(T) - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
 
allowDuplicateItems - Variable in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Whether to allow duplicate items in a sequence.
apply(T) - Method in interface com.glitchybyte.glib.function.GFunctionWithException
Applies the function.
applyClassName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyClassName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the className value to the log being built by the given StringBuilder.
applyClassName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyDateTime(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyDateTime(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the datetime value to the log being built by the given StringBuilder.
applyDateTime(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyLevel(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyLevel(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the level value to the log being built by the given StringBuilder.
applyLevel(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the message value to the log being built by the given StringBuilder.
applyMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyOrDefault(GFunctionWithException<T, R>, T, R) - Static method in interface com.glitchybyte.glib.function.GFunctionWithException
Get value from function or default if there is an exception.
applyOrNull(GFunctionWithException<T, R>, T) - Static method in interface com.glitchybyte.glib.function.GFunctionWithException
Get value from function or null if there is an exception.
applyThreadName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyThreadName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the threadName value to the log being built by the given StringBuilder.
applyThreadName(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyThrowableMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyThrowableMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the throwableMessage value to the log being built by the given StringBuilder.
applyThrowableMessage(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
applyThrowableTraceLine(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GColorLogFormatter
 
applyThrowableTraceLine(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GLogFormatter
Applies the throwableTraceLine value to the log being built by the given StringBuilder.
applyThrowableTraceLine(StringBuilder, String) - Method in class com.glitchybyte.glib.log.GStandardLogFormatter
 
awaitCondition(Lock, Condition) - Static method in class com.glitchybyte.glib.concurrent.GLock
Acquire lock and awaits on the condition.
awaitConditionWithTest(Lock, Condition, BooleanSupplier) - Static method in class com.glitchybyte.glib.concurrent.GLock
Acquire lock and awaits on the condition until test is true.
awaitConditionWithTestAndTimeout(Lock, Condition, BooleanSupplier, Duration) - Static method in class com.glitchybyte.glib.concurrent.GLock
Acquire lock and awaits on the condition until test is true or timeout expires.
awaitConditionWithTimeout(Lock, Condition, Duration) - Static method in class com.glitchybyte.glib.concurrent.GLock
Acquire lock and awaits on the condition up to the given timeout.
awaitDirty() - Method in class com.glitchybyte.glib.terminal.display.GRootPanel
Awaits for a panel to be dirty.
awaitDone() - Method in class com.glitchybyte.glib.concurrent.GTask
Awaits indefinitely until the task is done.
awaitForState(GProcessTask.State) - Method in class com.glitchybyte.glib.process.GProcessTask
Wait indefinitely until a given state is reached.
awaitForState(GProcessTask.State, Duration) - Method in class com.glitchybyte.glib.process.GProcessTask
Wait until a given state is reached or timeout expires.
awaitInterrupt() - Static method in class com.glitchybyte.glib.GThreads
Suspends thread execution until an interrupt happens.
awaitShutdown() - Method in class com.glitchybyte.glib.GShutdownMonitor
Awaits for a shutdown.
awaitShutdown(Duration) - Method in class com.glitchybyte.glib.GShutdownMonitor
Awaits for a shutdown or expiration of the given timeout.
awaitWork() - Method in class com.glitchybyte.glib.concurrent.workqueue.GAsyncWorkQueue
Awaits for work to be queued.

B

backgroundColor(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will change the background color.
base64Decode(String) - Static method in class com.glitchybyte.glib.GStrings
Convenience base64 decoder.
base64Encode(String) - Static method in class com.glitchybyte.glib.GStrings
Convenience base64 encoder.
build() - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Builds a GWorkQueueTask ready to be started.
Builder() - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Creates a GWorkQueue builder with default values.
Builder(String, Consumer<T>, boolean) - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Creates a GWorkQueueTask builder.
bytesToGroupUnit(long) - Static method in class com.glitchybyte.glib.GStrings
Converts a number of bytes to its most reasonable grouping representation.

C

call(Callable<V>) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a Callable to execute concurrently.
call(Callable<V>) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
callAll(Collection<Callable<V>>) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a collection of Callable to execute concurrently.
callAll(Collection<Callable<V>>) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
callAll(Callable<V>[]) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits an array of Callable to execute concurrently.
callAll(Callable<V>[]) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
cancel() - Method in interface com.glitchybyte.glib.function.GCancelable
Cancels the task.
CANCELED - Enum constant in enum class com.glitchybyte.glib.process.GProcessTask.State
Process canceled.
castOrNull(Object, Class<T>) - Static method in class com.glitchybyte.glib.GObjects
Tests if obj is of type tClass and returns the same object of that type.
CC_CR - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Carriage return.
clear() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
clearCurrentLine() - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will clear the current line when printed.
clearToEndOfLine() - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will clear to end of line when printed.
clearToStartOfLine() - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will clear to start of line when printed.
close() - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
 
close() - Method in class com.glitchybyte.glib.concurrent.GTaskExecutorService
 
COLOR_BLACK - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Black.
COLOR_BLUE - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Blue.
COLOR_BRIGHT_BLACK - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright black (dark gray).
COLOR_BRIGHT_BLUE - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright blue.
COLOR_BRIGHT_CYAN - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright cyan.
COLOR_BRIGHT_GREEN - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright green.
COLOR_BRIGHT_MAGENTA - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright magenta.
COLOR_BRIGHT_RED - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright red.
COLOR_BRIGHT_WHITE - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright white (white).
COLOR_BRIGHT_YELLOW - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Bright yellow.
COLOR_CYAN - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Cyan.
COLOR_GREEN - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Green.
COLOR_MAGENTA - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Magenta.
COLOR_RED - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Red.
COLOR_WHITE - Static variable in class com.glitchybyte.glib.terminal.GTerminal
White (light gray).
COLOR_YELLOW - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Yellow.
com.glitchybyte.glib - package com.glitchybyte.glib
Reusable generic utilities to speed up development.
com.glitchybyte.glib.cache - package com.glitchybyte.glib.cache
Caching classes.
com.glitchybyte.glib.combinatorics - package com.glitchybyte.glib.combinatorics
Utilities for dealing with combinations and permutations.
com.glitchybyte.glib.concurrent - package com.glitchybyte.glib.concurrent
Classes to manage concurrent tasks.
com.glitchybyte.glib.concurrent.event - package com.glitchybyte.glib.concurrent.event
An event sender and receiver system.
com.glitchybyte.glib.concurrent.workqueue - package com.glitchybyte.glib.concurrent.workqueue
A work queue system.
com.glitchybyte.glib.function - package com.glitchybyte.glib.function
Functional interfaces.
com.glitchybyte.glib.json - package com.glitchybyte.glib.json
Json helper classes.
com.glitchybyte.glib.log - package com.glitchybyte.glib.log
Logging facility.
com.glitchybyte.glib.process - package com.glitchybyte.glib.process
Process utils for executing external applications.
com.glitchybyte.glib.terminal - package com.glitchybyte.glib.terminal
Terminal utilities.
com.glitchybyte.glib.terminal.display - package com.glitchybyte.glib.terminal.display
Convenience classes to expedite showing a simple terminal UI.
config(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at CONFIG level.
config(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at CONFIG level.
config(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at CONFIG level.
containsKey(Object) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
containsValue(Object) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
CREATED - Enum constant in enum class com.glitchybyte.glib.process.GProcessTask.State
Process created.
createEventReceiver(Consumer<GEvent>) - Method in class com.glitchybyte.glib.concurrent.event.GEventLink
Creates an event receiver linked to this event link.
createImprint() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Creates the panel imprint.
createProcessBuilder(String[], Path) - Method in class com.glitchybyte.glib.process.GOSInterface
Creates a process builder.
createShutdownMonitor() - Static method in class com.glitchybyte.glib.GShutdownMonitor
Creates a monitor that will get notified when it's time for an orderly shutdown.
createTaskWrapper(GTask) - Method in class com.glitchybyte.glib.concurrent.GTaskExecutorService
Creates a wrapper around the given GTask that sets the thread name, if given, and marks task as done when it's done.
cursorDown(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will move the cursor down n number of times when printed.
cursorLeft(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will move the cursor left n number of times when printed.
cursorRight(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will move the cursor right n number of times when printed.
cursorUp(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will move the cursor up n number of times when printed.

D

data - Variable in class com.glitchybyte.glib.concurrent.event.GEvent
Event data.
defaultInstance() - Static method in class com.glitchybyte.glib.json.GJson
Returns a singleton default basic GJson.
doWork(Consumer<T>) - Method in class com.glitchybyte.glib.concurrent.workqueue.GAsyncWorkQueue
Performs work on every item queued.
draw() - Method in class com.glitchybyte.glib.terminal.display.GRootPanel
Draws the whole UI, all panels.
drawPanel() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Draws the panel.

E

entrySet() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
execute(ProcessBuilder, List<String>) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given process, captures output into the given list, and waits until it is done.
execute(Runnable) - Method in class com.glitchybyte.glib.concurrent.GTaskExecutorService
 
execute(String[]) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given command and waits until it is done.
execute(String[], Path) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given command and waits until it is done.
execute(String[], Path, List<String>) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given command, captures output into the given list, and waits until it is done.
executeWithResult(String[]) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given command and waits until it is done.
executeWithResult(String[], Path) - Method in class com.glitchybyte.glib.process.GOSInterface
Spawns and executes the given command and waits until it is done.
exitCode - Variable in class com.glitchybyte.glib.process.GProcessResult
Process exit code.

F

fill(char, Integer, Integer) - Method in class com.glitchybyte.glib.terminal.display.GPanel
Convenience method to fill the panel area with a glyph and colors.
fillBackground(Integer) - Method in class com.glitchybyte.glib.terminal.display.GPanel
Convenience method to fill the panel with a background color.
fine(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINE level.
fine(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at FINE level.
fine(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINE level.
finer(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINER level.
finer(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at FINER level.
finer(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINER level.
finest(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINEST level.
finest(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at FINEST level.
finest(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at FINEST level.
flush() - Static method in class com.glitchybyte.glib.terminal.GTerminal
Flushes all printed commands.
forEach(T[], Consumer<T>) - Static method in class com.glitchybyte.glib.GArrays
Iterates over the array and passes each element to the given consumer.
foregroundColor(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will change the foreground color.
format(String, Object...) - Static method in class com.glitchybyte.glib.GStrings
Convenience replacement for String.format that already includes US locale.
format(LogRecord) - Method in class com.glitchybyte.glib.log.GLogFormatter
 
fromCollection(Collection<T>) - Static method in class com.glitchybyte.glib.GStrings
Convenience Collection to String representation with default comma delimiter.
fromCollection(Collection<T>, String) - Static method in class com.glitchybyte.glib.GStrings
Convenience Collection to String representation.
fromDouble(double) - Static method in class com.glitchybyte.glib.GStrings
Convenience double to String formatter with human minimal representation.
fromFile(File, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from File.
fromFile(File, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from File.
fromFloat(float) - Static method in class com.glitchybyte.glib.GStrings
Convenience float to String formatter with human minimal representation.
fromInputStream(InputStream) - Static method in class com.glitchybyte.glib.json.GJsonMapNavigator
Creates a GJsonMapNavigator from json coming from an InputStream.
fromInputStream(InputStream, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from InputStream.
fromInputStream(InputStream, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from InputStream.
fromInt(int) - Static method in class com.glitchybyte.glib.GStrings
Convenience int to String formatter with human minimal representation.
fromLong(long) - Static method in class com.glitchybyte.glib.GStrings
Convenience long to String formatter with human minimal representation.
fromPath(String, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from String representation of a path.
fromPath(String, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from String representation of a path.
fromPath(Path, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from Path.
fromPath(Path, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from Path.
fromReader(Reader, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from Reader.
fromReader(Reader, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from Reader.
fromString(String) - Static method in class com.glitchybyte.glib.json.GJsonMapNavigator
Creates a GJsonMapNavigator from a json String.
fromString(String, Class<T>) - Method in class com.glitchybyte.glib.json.GJson
Create object from String.
fromString(String, Type) - Method in class com.glitchybyte.glib.json.GJson
Create object from String.

G

GArrays - Class in com.glitchybyte.glib
Array utilities.
GAsyncWorkQueue<T> - Class in com.glitchybyte.glib.concurrent.workqueue
A queue of work with the following characteristics: Able to queue work items from multiple threads with minimal lock contention.
GAsyncWorkQueue() - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GAsyncWorkQueue
Creates an asynchronous work queue.
GCancelable - Interface in com.glitchybyte.glib.function
Represents a function that cancels a task.
GCodedCombinations - Class in com.glitchybyte.glib.combinatorics
Coded combinations.
GCodedCombinations(int, boolean) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedCombinations
Creates a coded sequence generator of a size equal to itemCount.
GCodedCombinations(int, boolean, int, int) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedCombinations
Creates a coded sequence generator with an iterator with the given characteristics.
GCodedPermutations - Class in com.glitchybyte.glib.combinatorics
Coded permutations.
GCodedPermutations(int, boolean) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedPermutations
Creates a coded sequence generator of a size equal to itemCount.
GCodedPermutations(int, boolean, int, int) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedPermutations
Creates a coded sequence generator with an iterator with the given characteristics.
GCodedSequencesGenerator - Class in com.glitchybyte.glib.combinatorics
Abstract coded sequence generator.
GCodedSequencesGenerator(int, boolean) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Creates a coded sequence generator of a size equal to itemCount.
GCodedSequencesGenerator(int, boolean, int, int) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Creates a coded sequence generator with an iterator with the given characteristics.
GCodedSequencesIterator - Class in com.glitchybyte.glib.combinatorics
Iterator class for coded sequences.
GCodedSequencesIterator(GCodedSequencesGenerator) - Constructor for class com.glitchybyte.glib.combinatorics.GCodedSequencesIterator
Creates a coded sequence iterator with the characteristics described in codedGenerator.
GColorConsoleHandler - Class in com.glitchybyte.glib.log
Color logger console handler.
GColorConsoleHandler() - Constructor for class com.glitchybyte.glib.log.GColorConsoleHandler
Creates a color logger console handler.
GColorLogFormatter - Class in com.glitchybyte.glib.log
Color log formatter class.
GColorLogFormatter() - Constructor for class com.glitchybyte.glib.log.GColorLogFormatter
Creates a color log formatter.
GCombinations<TItem> - Class in com.glitchybyte.glib.combinatorics
Generates combinations of the given items.
GCombinations(TItem[], boolean) - Constructor for class com.glitchybyte.glib.combinatorics.GCombinations
Creates a sequences generator with the given characteristics.
GCombinations(TItem[], boolean, int, int) - Constructor for class com.glitchybyte.glib.combinatorics.GCombinations
Creates a sequences generator with the given characteristics.
GDisplayDataTask - Class in com.glitchybyte.glib.terminal.display
Task to handle data for panels in a generic way.
GDisplayDataTask() - Constructor for class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Creates a display data object.
get() - Method in interface com.glitchybyte.glib.function.GSupplierWithException
Gets a result.
get(Object) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
getAs(String, Class<T>) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as the given type.
getAsDouble(String) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as double.
getAsFloat(String) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as float.
getAsInt(String) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as int.
getAsLong(String) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as long.
getAsString(String) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Returns data as String.
getCurrentDirectory() - Static method in class com.glitchybyte.glib.GPaths
Returns the current working directory.
getData() - Static method in class com.glitchybyte.glib.terminal.display.GRootPanel
Returns an object to read and write data for the display.
getDataAs(Class<T>) - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as the given type of object.
getDataAsDouble() - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as an double.
getDataAsFloat() - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as an float.
getDataAsInt() - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as an int.
getDataAsLong() - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as an long.
getDataAsString() - Method in class com.glitchybyte.glib.concurrent.event.GEvent
Returns data as an String.
getFullPath(String) - Static method in class com.glitchybyte.glib.GPaths
Returns the absolute and normalized path.
getFullPath(Path) - Static method in class com.glitchybyte.glib.GPaths
Returns the absolute and normalized path.
getHomeDirectory() - Static method in class com.glitchybyte.glib.GPaths
Returns the current user home directory.
getHostIPv4Addresses() - Static method in class com.glitchybyte.glib.GNetwork
Returns all currently up IPv4 addresses of this host.
getObjectList(String) - Method in class com.glitchybyte.glib.json.GJsonMapNavigator
Retrieves the List value of the given path.
getOrDefault(GSupplierWithException<T>, T) - Static method in interface com.glitchybyte.glib.function.GSupplierWithException
Get value from supplier or default if there is an exception.
getOrNull(GSupplierWithException<T>) - Static method in interface com.glitchybyte.glib.function.GSupplierWithException
Get value from supplier or null if there is an exception.
getOutput() - Method in class com.glitchybyte.glib.process.GProcessOutputCollectorTask
Returns all collected output until this moment.
getOutput() - Method in class com.glitchybyte.glib.process.GProcessTask
Returns all collected output until this moment.
getProcessHandle() - Method in class com.glitchybyte.glib.process.GProcessTask
Returns the process handle to query for other information about the process.
getResourceInputStream(Object, String) - Static method in class com.glitchybyte.glib.GResources
Retrieves an InputStream for the given resource name.
getResourceString(Object, String) - Static method in class com.glitchybyte.glib.GResources
Retrieves a resource as a String.
getShellCommand(String) - Method in class com.glitchybyte.glib.process.GOSInterface
Returns a command array ready to call the shell with the given script.
getShellCommand(String) - Method in class com.glitchybyte.glib.process.GOSLinux
 
getShellCommand(String) - Method in class com.glitchybyte.glib.process.GOSUnknown
 
getShellCommand(String) - Method in class com.glitchybyte.glib.process.GOSWindows
 
getSignalCommand(Signal, long) - Method in class com.glitchybyte.glib.process.GOSInterface
Returns the command array that will send the given signal to the pid.
getSignalCommand(Signal, long) - Method in class com.glitchybyte.glib.process.GOSLinux
 
getSignalCommand(Signal, long) - Method in class com.glitchybyte.glib.process.GOSUnknown
 
getSignalCommand(Signal, long) - Method in class com.glitchybyte.glib.process.GOSWindows
 
getState() - Method in class com.glitchybyte.glib.process.GProcessTask
Gets the process state.
getStatusCode() - Method in class com.glitchybyte.glib.process.GProcessTask
Returns the status code of the finished process, or null if the process was interrupted.
getString(String) - Method in class com.glitchybyte.glib.json.GJsonMapNavigator
Retrieves the String value of the given path.
getStringList(String) - Method in class com.glitchybyte.glib.json.GJsonMapNavigator
Retrieves the List value of the given path.
getTaskRunner() - Method in class com.glitchybyte.glib.concurrent.GTask
Returns a task runner this task can use to run other tasks.
getTaskThreadName() - Method in class com.glitchybyte.glib.concurrent.GTask
Returns the given name of this task thread, or null if it wasn't set.
getType(String) - Static method in enum class com.glitchybyte.glib.process.GOSType
Returns the OS type from the given string which must come from "os.name".
getVersion(Object) - Static method in class com.glitchybyte.glib.GResources
Retrieves version if built with standard GlitchyByte build scripts.
getXOffset() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Returns the distance from the left of the screen to the left side of this panel.
getYOffset() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Returns the distance from the top of the root panel the top side of this panel.
GEvent - Class in com.glitchybyte.glib.concurrent.event
Event.
GEvent(String, Object) - Constructor for class com.glitchybyte.glib.concurrent.event.GEvent
Creates an event.
GEventLink - Class in com.glitchybyte.glib.concurrent.event
Event link.
GEventLink() - Constructor for class com.glitchybyte.glib.concurrent.event.GEventLink
Creates an event link.
GEventReceiver - Class in com.glitchybyte.glib.concurrent.event
Event receiver.
GEventSender - Interface in com.glitchybyte.glib.concurrent.event
Event sender.
GExpiringCacheList<T> - Class in com.glitchybyte.glib.cache
List with expiring items.
GExpiringCacheList(long, TemporalUnit) - Constructor for class com.glitchybyte.glib.cache.GExpiringCacheList
Creates a cache with the given time-to-live.
GExpiringCacheList(TemporalAmount) - Constructor for class com.glitchybyte.glib.cache.GExpiringCacheList
Creates a cache with the given time-to-live.
GExpiringCacheMap<K,V> - Class in com.glitchybyte.glib.cache
Key-value pair cache with expiring entries.
GExpiringCacheMap(long, TemporalUnit) - Constructor for class com.glitchybyte.glib.cache.GExpiringCacheMap
Constructs a cache with the given time-to-live for entries.
GExpiringCacheMap(TemporalAmount) - Constructor for class com.glitchybyte.glib.cache.GExpiringCacheMap
Constructs a cache with the given time-to-live for entries.
GFunctionWithException<T,R> - Interface in com.glitchybyte.glib.function
Represents a function that takes one argument and can throw an exception.
GJson - Class in com.glitchybyte.glib.json
A wrapper around a Gson object that extends its capabilities.
GJson(Gson) - Constructor for class com.glitchybyte.glib.json.GJson
Creates a json helper wrapper around a Gson object.
GJsonMapNavigator - Class in com.glitchybyte.glib.json
Class to navigate a tree of maps.
GJsonMapNavigator(Map<String, Object>) - Constructor for class com.glitchybyte.glib.json.GJsonMapNavigator
Constructs a GJsonMapNavigator from an already populated Map.
GLock - Class in com.glitchybyte.glib.concurrent
Lock utilities.
GLog - Class in com.glitchybyte.glib.log
Logger class.
GLogFormatter - Class in com.glitchybyte.glib.log
Base log formatter class.
GLogFormatter() - Constructor for class com.glitchybyte.glib.log.GLogFormatter
Creates a base log formatter.
GNetwork - Class in com.glitchybyte.glib
Network utilities.
GObjects - Class in com.glitchybyte.glib
Object utilities.
GOSInterface - Class in com.glitchybyte.glib.process
Singleton instance of an OS interface.
GOSInterface(GOSType) - Constructor for class com.glitchybyte.glib.process.GOSInterface
Creates OS interface for the given OS type.
GOSLinux - Class in com.glitchybyte.glib.process
Specialization of GOSInterface for Linux and macOS.
GOSLinux() - Constructor for class com.glitchybyte.glib.process.GOSLinux
Creates a Linux OS interface.
GOSType - Enum Class in com.glitchybyte.glib.process
OS type.
GOSUnknown - Class in com.glitchybyte.glib.process
Specialization of GOSInterface for unknown OS.
GOSUnknown() - Constructor for class com.glitchybyte.glib.process.GOSUnknown
Creates an unknown OS interface.
GOSWindows - Class in com.glitchybyte.glib.process
Specialization of GOSInterface for Windows.
GOSWindows() - Constructor for class com.glitchybyte.glib.process.GOSWindows
Creates a Windows OS interface.
GPanel - Class in com.glitchybyte.glib.terminal.display
Terminal UI panel.
GPanel(int, int, int, int, int) - Constructor for class com.glitchybyte.glib.terminal.display.GPanel
Creates a terminal panel.
GParallelWorkQueueTask<T> - Class in com.glitchybyte.glib.concurrent.workqueue
A task implementation of a {code GAsyncWorkQueue} that processes work items in parallel.
GParallelWorkQueueTask(String, Consumer<T>) - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GParallelWorkQueueTask
Creates a parallel work queue task.
GPaths - Class in com.glitchybyte.glib
Path utilities.
GPermutations<TItem> - Class in com.glitchybyte.glib.combinatorics
Generates permutations of the given items.
GPermutations(TItem[], boolean) - Constructor for class com.glitchybyte.glib.combinatorics.GPermutations
Creates a sequences generator with the given characteristics.
GPermutations(TItem[], boolean, int, int) - Constructor for class com.glitchybyte.glib.combinatorics.GPermutations
Creates a sequences generator with the given characteristics.
GProcessOutputCollectorTask - Class in com.glitchybyte.glib.process
Console output collector for capturing an external process output.
GProcessOutputCollectorTask(Process, int) - Constructor for class com.glitchybyte.glib.process.GProcessOutputCollectorTask
Creates an output collector.
GProcessResult - Class in com.glitchybyte.glib.process
Process result.
GProcessResult(List<String>, Integer) - Constructor for class com.glitchybyte.glib.process.GProcessResult
Creates a process result.
GProcessTask - Class in com.glitchybyte.glib.process
An encapsulation that represents and manages a system process.
GProcessTask(String[]) - Constructor for class com.glitchybyte.glib.process.GProcessTask
Convenience constructor to quickly execute a process without any concern for its output.
GProcessTask(String[], Path) - Constructor for class com.glitchybyte.glib.process.GProcessTask
Convenience constructor to quickly execute a process without any concern for its output.
GProcessTask(String[], Path, boolean) - Constructor for class com.glitchybyte.glib.process.GProcessTask
Creates a process from the given command and starting directory.
GProcessTask(String[], Path, int) - Constructor for class com.glitchybyte.glib.process.GProcessTask
Creates a process from the given command and starting directory.
GProcessTask.State - Enum Class in com.glitchybyte.glib.process
Process state.
GResources - Class in com.glitchybyte.glib
Java resource handling utilities.
grey(int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Creates the corresponding color code for the given grey step value, from dark to bright.
GRootPanel - Class in com.glitchybyte.glib.terminal.display
Terminal UI root panel that contains all other panels.
GRootPanel(int, int) - Constructor for class com.glitchybyte.glib.terminal.display.GRootPanel
Creates a root panel.
GSequencesGenerator<TCodedGenerator,TItem> - Class in com.glitchybyte.glib.combinatorics
Abstract sequences generator.
GSequencesGenerator(TCodedGenerator, TItem[]) - Constructor for class com.glitchybyte.glib.combinatorics.GSequencesGenerator
Creates a sequences generator with the given characteristics.
GSequencesIterator<TCodedGenerator,TItem> - Class in com.glitchybyte.glib.combinatorics
Abstract sequences generator.
GSequencesIterator(GSequencesGenerator<TCodedGenerator, TItem>) - Constructor for class com.glitchybyte.glib.combinatorics.GSequencesIterator
Creates an iterator of item sequences.
GSequentialWorkQueueTask<T> - Class in com.glitchybyte.glib.concurrent.workqueue
A task implementation of a {code GAsyncWorkQueue} that processes work items sequentially.
GSequentialWorkQueueTask(String, Consumer<T>) - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GSequentialWorkQueueTask
Creates a sequential work queue task.
GShutdownMonitor - Class in com.glitchybyte.glib
Utility to monitor SIGINT and SIGTERM for proper application shutdown.
GStandardConsoleHandler - Class in com.glitchybyte.glib.log
Standard logger console handler.
GStandardConsoleHandler() - Constructor for class com.glitchybyte.glib.log.GStandardConsoleHandler
Creates a standard logger console handler.
GStandardLogFormatter - Class in com.glitchybyte.glib.log
Standard log formatter class.
GStandardLogFormatter() - Constructor for class com.glitchybyte.glib.log.GStandardLogFormatter
Creates a standard log formatter.
GStrings - Class in com.glitchybyte.glib
String utilities.
GSupplierWithException<T> - Interface in com.glitchybyte.glib.function
Represents a supplier of results that can throw an exception.
GTask - Class in com.glitchybyte.glib.concurrent
A single concurrent task that starts in a separate thread and runs until finished or the task is interrupted.
GTask() - Constructor for class com.glitchybyte.glib.concurrent.GTask
Creates a concurrent task with a default thread name.
GTask(String) - Constructor for class com.glitchybyte.glib.concurrent.GTask
Creates a concurrent task with the given name, or a default name if null.
GTaskExecutorService<ES> - Class in com.glitchybyte.glib.concurrent
Abstract class for task runner facilities.
GTaskExecutorService(ES) - Constructor for class com.glitchybyte.glib.concurrent.GTaskExecutorService
Creates a task runner with the given ExecutorService.
GTaskRunner - Interface in com.glitchybyte.glib.concurrent
A task runner facility to run GTask tasks.
GTaskRunnerService - Class in com.glitchybyte.glib.concurrent
A task runner facility to run GTask tasks.
GTaskRunnerService() - Constructor for class com.glitchybyte.glib.concurrent.GTaskRunnerService
Creates a task runner with an unbounded cached thread pool.
GTaskRunnerService(Integer) - Constructor for class com.glitchybyte.glib.concurrent.GTaskRunnerService
Creates a task runner with a fixed thread pool.
GTaskScheduler - Interface in com.glitchybyte.glib.concurrent
A scheduler utility on top of ScheduledExecutorService.
GTaskSchedulerService - Class in com.glitchybyte.glib.concurrent
A scheduler utility on top of ScheduledExecutorService.
GTaskSchedulerService() - Constructor for class com.glitchybyte.glib.concurrent.GTaskSchedulerService
Creates a task scheduler with a single worker thread.
GTaskSchedulerService(Integer) - Constructor for class com.glitchybyte.glib.concurrent.GTaskSchedulerService
Creates a task scheduler with a fixed thread pool.
GTaskSchedulerService(ScheduledExecutorService) - Constructor for class com.glitchybyte.glib.concurrent.GTaskSchedulerService
Creates a task scheduler with the given ScheduledExecutorService.
GTerminal - Class in com.glitchybyte.glib.terminal
Helper class to print color text to console.
GTerminalDisplayTask - Class in com.glitchybyte.glib.terminal.display
Convenience task to set up a terminal UI.
GTerminalDisplayTask(GRootPanel) - Constructor for class com.glitchybyte.glib.terminal.display.GTerminalDisplayTask
Creates a terminal display task with the given root panel.
GThreadFactory - Class in com.glitchybyte.glib.concurrent
Thread factory for GTaskExecutorService.
GThreadFactory() - Constructor for class com.glitchybyte.glib.concurrent.GThreadFactory
Creates the factory.
GThreads - Class in com.glitchybyte.glib
Thread utilities.
GTimer - Class in com.glitchybyte.glib.log
Timer class for on-the-fly quick profiling.
GTimer() - Constructor for class com.glitchybyte.glib.log.GTimer
Creates a timer that starts right now!
GWorkQueue<T> - Interface in com.glitchybyte.glib.concurrent.workqueue
A work queue system.
GWorkQueue.Builder<T> - Class in com.glitchybyte.glib.concurrent.workqueue
GWorkQueue builder.
GWorkQueueTask<T> - Class in com.glitchybyte.glib.concurrent.workqueue
A base task implementation of a GAsyncWorkQueue.
GWorkQueueTask(String, Consumer<T>) - Constructor for class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
Creates a work queue task.

H

hackGetSignalCommand - Static variable in class com.glitchybyte.glib.process.GOSWindows
Hack to provide a signal sender.
hasNext() - Method in class com.glitchybyte.glib.combinatorics.GCodedSequencesIterator
Returns true if the iteration has more elements.
hasNext() - Method in class com.glitchybyte.glib.combinatorics.GSequencesIterator
 
height - Variable in class com.glitchybyte.glib.terminal.display.GPanel
Panel height.

I

IN_TERMINAL - Static variable in class com.glitchybyte.glib.terminal.GTerminal
Flag to check if we are running in a terminal.
incCode(int[]) - Method in class com.glitchybyte.glib.combinatorics.GCodedCombinations
Increases the code one step.
incCode(int[]) - Method in class com.glitchybyte.glib.combinatorics.GCodedPermutations
Increases the code one step.
incCode(int[]) - Method in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Increases the code one step.
indent(String) - Static method in class com.glitchybyte.glib.GStrings
Indents the string.
indexOfAny(String, Set<Character>) - Static method in class com.glitchybyte.glib.GStrings
Returns the index of the 1st character in the set found in the string.
indexOfAny(String, Set<Character>, int) - Static method in class com.glitchybyte.glib.GStrings
Returns the index of the 1st character in the set found in the string.
info(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at INFO level.
info(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at INFO level.
info(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at INFO level.
instance - Static variable in class com.glitchybyte.glib.process.GOSInterface
The instance.
interrupt() - Method in class com.glitchybyte.glib.concurrent.GTask
Interrupts the task.
isDone() - Method in class com.glitchybyte.glib.concurrent.GTask
Returns whether this task has completed.
isEmpty() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
isNullOrEmpty(String) - Static method in class com.glitchybyte.glib.GStrings
Convenience for common test of a null or empty string.
isSuccessfulExitCode(Integer) - Method in class com.glitchybyte.glib.process.GOSInterface
Determines if the given exit code represents success.
itemCount - Variable in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Number of items.
iterator() - Method in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Returns an iterator over elements of type int[].
iterator() - Method in class com.glitchybyte.glib.combinatorics.GSequencesGenerator
Returns an iterator over elements of type TItem.

K

keySet() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 

L

LINUX - Enum constant in enum class com.glitchybyte.glib.process.GOSType
Linux.
listIterator(int) - Method in class com.glitchybyte.glib.cache.GExpiringCacheList
 
LOCALHOST - Static variable in class com.glitchybyte.glib.GNetwork
Constant for localhost network address.
locked(Lock, Runnable) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code between lock and unlock.
lockedResult(Lock, Supplier<V>) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code, with a return value, between lock and unlock.
log(Level, String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at the specified level.
log(Level, Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a throwable at the specified level.
log(Level, Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at the specified level.
logEnvironmentStats() - Static method in class com.glitchybyte.glib.log.GLog
Logs environment stats at CONFIG level.
logTest() - Static method in class com.glitchybyte.glib.log.GLog
Logs tests for all possible levels plus an exception.

M

MAC_OS - Enum constant in enum class com.glitchybyte.glib.process.GOSType
macOS.
makeCommand(String) - Method in class com.glitchybyte.glib.process.GOSInterface
Convenience method to convert a string into an array for proper command array parameter.
MAP_TYPE - Static variable in class com.glitchybyte.glib.json.GJsonMapNavigator
Type of map.
maxSize - Variable in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Maximum size of a sequence.
minSize - Variable in class com.glitchybyte.glib.combinatorics.GCodedSequencesGenerator
Minimum size of a sequence.
moveToXOffset() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Returns a String to move the cursor to the X offset.

N

NEW_LINE - Static variable in class com.glitchybyte.glib.GStrings
System new line separator.
newThread(Runnable) - Method in class com.glitchybyte.glib.concurrent.GThreadFactory
 
next() - Method in class com.glitchybyte.glib.combinatorics.GCodedSequencesIterator
Returns the next element in the iteration.
next() - Method in class com.glitchybyte.glib.combinatorics.GSequencesIterator
 
NOOP - Static variable in interface com.glitchybyte.glib.function.GCancelable
No-op cancelable.

O

osType - Variable in class com.glitchybyte.glib.process.GOSInterface
OS type.
output - Variable in class com.glitchybyte.glib.process.GProcessResult
Process output.

P

postEvent(GEvent) - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Adds an event to this receivers queue.
prettyInstance() - Static method in class com.glitchybyte.glib.json.GJson
Returns a singleton GJson with pretty printing.
print(String, Object...) - Method in class com.glitchybyte.glib.log.GTimer
Logs current elapsed time and a message.
print(String, Object...) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Prints to terminal.
println(String, Object...) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Prints to terminal, and adds a new line.
processor - Variable in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
Work item processor.
processWork() - Method in class com.glitchybyte.glib.concurrent.workqueue.GParallelWorkQueueTask
 
processWork() - Method in class com.glitchybyte.glib.concurrent.workqueue.GSequentialWorkQueueTask
 
processWork() - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
This method processes each work item.
put(String, Object) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Puts data on key.
put(K, V) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
putAll(Map<? extends K, ? extends V>) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 

R

readLocked(ReadWriteLock, Runnable) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code between a read-lock and unlock.
readLockedResult(ReadWriteLock, Supplier<V>) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code, with a return value, between a read-lock and unlock.
refresh() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Refreshes the imprint.
refreshAll() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Refreshes this panel and all its children.
refreshDirty() - Method in class com.glitchybyte.glib.terminal.display.GRootPanel
Refreshes imprints for all dirty panels.
registerPanel(String, GPanel) - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
Registers a key to a panel.
remove(Object) - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
resetColor() - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that will reset colors when printed.
resetLogger() - Static method in class com.glitchybyte.glib.log.GLog
Resets the default logger.
rgb(int, int, int) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Creates the corresponding color code for the given RGB value.
rootPanel - Variable in class com.glitchybyte.glib.terminal.display.GPanel
Root panel that contains all panels.
run() - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
 
run() - Method in class com.glitchybyte.glib.process.GProcessOutputCollectorTask
Collector runner.
run() - Method in class com.glitchybyte.glib.process.GProcessTask
 
run() - Method in class com.glitchybyte.glib.terminal.display.GDisplayDataTask
 
run() - Method in class com.glitchybyte.glib.terminal.display.GTerminalDisplayTask
 
run(Runnable) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a Runnable to execute concurrently.
run(Runnable) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
runAll(Runnable[]) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits an array of Runnable to execute concurrently.
runAll(Runnable[]) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
runAll(Collection<Runnable>) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a collection of Runnable to execute concurrently.
runAll(Collection<Runnable>) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
runner - Variable in class com.glitchybyte.glib.concurrent.GTaskExecutorService
Actual ExecutorService runner.

S

schedule(Duration, Runnable) - Method in interface com.glitchybyte.glib.concurrent.GTaskScheduler
Schedules a one-shot task.
schedule(Duration, Runnable) - Method in class com.glitchybyte.glib.concurrent.GTaskSchedulerService
 
scheduleAtFixedRate(Duration, Duration, Runnable) - Method in interface com.glitchybyte.glib.concurrent.GTaskScheduler
Schedules a task to run at a fixed delay.
scheduleAtFixedRate(Duration, Duration, Runnable) - Method in class com.glitchybyte.glib.concurrent.GTaskSchedulerService
 
scheduleWithFixedDelay(Duration, Duration, Runnable) - Method in interface com.glitchybyte.glib.concurrent.GTaskScheduler
Schedules a task at a delay after each run.
scheduleWithFixedDelay(Duration, Duration, Runnable) - Method in class com.glitchybyte.glib.concurrent.GTaskSchedulerService
 
send(GEvent) - Method in class com.glitchybyte.glib.concurrent.event.GEventLink
 
send(GEvent) - Method in interface com.glitchybyte.glib.concurrent.event.GEventSender
Send event.
send(String) - Method in class com.glitchybyte.glib.concurrent.event.GEventLink
 
send(String) - Method in interface com.glitchybyte.glib.concurrent.event.GEventSender
Send event with no data.
send(String, Object) - Method in class com.glitchybyte.glib.concurrent.event.GEventLink
 
send(String, Object) - Method in interface com.glitchybyte.glib.concurrent.event.GEventSender
Send event.
sendSignal(Signal, long) - Method in class com.glitchybyte.glib.process.GOSInterface
Sends signal to the given pid.
sendSignalINT(long) - Method in class com.glitchybyte.glib.process.GOSInterface
Sends SIGINT to the given pid.
setLevel(Level) - Static method in class com.glitchybyte.glib.log.GLog
Sets the minimum level to log.
setName(String) - Static method in class com.glitchybyte.glib.log.GLog
Sets the name of the logger for the whole application.
setTaskRunner(GTaskRunner) - Method in class com.glitchybyte.glib.concurrent.GTask
Sets the task runner this task can use to run other tasks.
setupDefaultRootConsoleHandler(boolean) - Static method in class com.glitchybyte.glib.log.GLog
Sets up the root handler to a custom console handler with custom formatting.
setupRootHandler(Handler) - Static method in class com.glitchybyte.glib.log.GLog
Sets up the root handler to the given handler.
severe(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at SEVERE level.
severe(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at SEVERE level.
severe(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at SEVERE level.
shouldShutdown() - Method in class com.glitchybyte.glib.GShutdownMonitor
Returns true when an orderly shutdown should occur.
shutdown() - Method in class com.glitchybyte.glib.GShutdownMonitor
Manually triggers an orderly shutdown.
SIGINT - Static variable in class com.glitchybyte.glib.process.GOSInterface
INT signal.
signalAll(Lock, Condition) - Static method in class com.glitchybyte.glib.concurrent.GLock
Signal all monitors on the given condition.
signalDirty() - Method in class com.glitchybyte.glib.terminal.display.GPanel
Signals this panel's contents have changed and needs to be refreshed.
signalDirty(GPanel) - Method in class com.glitchybyte.glib.terminal.display.GRootPanel
Signals the given panel's contents have changed and needs to be refreshed.
size() - Method in class com.glitchybyte.glib.cache.GExpiringCacheList
 
size() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
SPACE_TAB - Static variable in class com.glitchybyte.glib.GStrings
Spaces for indentation.
start(T) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a task to be run concurrently.
start(T) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
start(T, Duration) - Method in interface com.glitchybyte.glib.concurrent.GTaskRunner
Submits a task to execute concurrently.
start(T, Duration) - Method in class com.glitchybyte.glib.concurrent.GTaskRunnerService
 
started() - Method in class com.glitchybyte.glib.concurrent.GTask
Marks this task as started, allowing the queueing thread to continue.
STARTED - Enum constant in enum class com.glitchybyte.glib.process.GProcessTask.State
Process started.
stop() - Method in class com.glitchybyte.glib.process.GProcessTask
Stops the process.
stop(long) - Method in class com.glitchybyte.glib.process.GProcessTask
Stops this process or any subprocess of this process.
STOPPED - Enum constant in enum class com.glitchybyte.glib.process.GProcessTask.State
Process stopped.
STOPPING - Enum constant in enum class com.glitchybyte.glib.process.GProcessTask.State
Process stopping.
subscribeTo(String) - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Subscribes this receiver to the given event type.
subscribeTo(Set<String>) - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Subscribes this receiver to the given group of event types.

T

text(String, Integer) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that represents text with the given foreground color when printed.
text(String, Integer, Integer) - Static method in class com.glitchybyte.glib.terminal.GTerminal
Returns a String that represents text with the given colors when printed.
toFile(Object, File) - Method in class com.glitchybyte.glib.json.GJson
Write json object to File.
toLowerCase(String) - Static method in class com.glitchybyte.glib.GStrings
Convenience replacement for String.toLowerCase that already includes US locale.
toPath(Object, String) - Method in class com.glitchybyte.glib.json.GJson
Write json object to path represented by a String.
toPath(Object, Path) - Method in class com.glitchybyte.glib.json.GJson
Write json object to Path.
toString() - Method in class com.glitchybyte.glib.json.GJsonMapNavigator
 
toString(Object) - Method in class com.glitchybyte.glib.json.GJson
Return object as json String.
toUpperCase(String) - Static method in class com.glitchybyte.glib.GStrings
Convenience replacement for String.toUpperCase that already includes US locale.
toWriter(Object, Writer) - Method in class com.glitchybyte.glib.json.GJson
Write json object to Writer.
type - Variable in class com.glitchybyte.glib.concurrent.event.GEvent
Event type.

U

UNKNOWN - Enum constant in enum class com.glitchybyte.glib.process.GOSType
Unknown OS.
unsubscribeFrom(String) - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Unsubscribes this receiver from the given event type.
unsubscribeFrom(Set<String>) - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Unsubscribes this receiver from the given group of event types.
unsubscribeFromAll() - Method in class com.glitchybyte.glib.concurrent.event.GEventReceiver
Unsubscribes this receiver from all event types.

V

valueOf(String) - Static method in enum class com.glitchybyte.glib.process.GOSType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.glitchybyte.glib.process.GProcessTask.State
Returns the enum constant of this class with the specified name.
values() - Method in class com.glitchybyte.glib.cache.GExpiringCacheMap
 
values() - Static method in enum class com.glitchybyte.glib.process.GOSType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.glitchybyte.glib.process.GProcessTask.State
Returns an array containing the constants of this enum class, in the order they are declared.

W

warning(String, Object...) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at WARNING level.
warning(Throwable) - Static method in class com.glitchybyte.glib.log.GLog
Logs a Throwable at WARNING level.
warning(Supplier<String>) - Static method in class com.glitchybyte.glib.log.GLog
Logs a message at WARNING level.
whileLive(Duration, Runnable) - Method in class com.glitchybyte.glib.GShutdownMonitor
Convenience method to execute an action periodically at the given cadence, until a shutdown is triggered.
width - Variable in class com.glitchybyte.glib.terminal.display.GPanel
Panel width.
WINDOWS - Enum constant in enum class com.glitchybyte.glib.process.GOSType
Windows.
withParallelProcessing(boolean) - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Changes if work items should be processed in parallel or sequentially.
withProcessor(Consumer<T>) - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Changes the work item processor.
withThreadName(String) - Method in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueue.Builder
Changes the thread name.
workQueue - Variable in class com.glitchybyte.glib.concurrent.workqueue.GWorkQueueTask
Work queue.
writeLocked(ReadWriteLock, Runnable) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code between a write-lock and unlock.
writeLockedResult(ReadWriteLock, Supplier<V>) - Static method in class com.glitchybyte.glib.concurrent.GLock
Run a block of code, with a return value, between a write-lock and unlock.

X

x - Variable in class com.glitchybyte.glib.terminal.display.GPanel
X position.

Y

y - Variable in class com.glitchybyte.glib.terminal.display.GPanel
Y position.

Z

zOrder - Variable in class com.glitchybyte.glib.terminal.display.GPanel
Panel Z position.
A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values