Package gaiasky.util
package gaiasky.util
Contains various utilities to achieve different tasks that do not
fit in any other package.
-
ClassDescriptionUtilities to work with arrays.BinarySearchTree<T extends Comparable<T>>Naive implementation of a binary search tree using
BinarySearchTree.BinaryNodes, which contains references to the two (possible) children.Basic node stored in unbalanced binary search trees Note that this class is not accessible outside of this package.Implements an arbitrarily large array of bits using an array of long integers.Central manager forDatasetCardobjects.Random constants' holder.Consumer interfaces for more than 2 objects, missing in the standard library.Consumers.Consumer10<One,Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten> Consumers.Consumer3<One,Two, Three> Consumers.Consumer4<One,Two, Three, Four> Consumers.Consumer5<One,Two, Three, Four, Five> Consumers.Consumer6<One,Two, Three, Four, Five, Six> Consumers.Consumer7<One,Two, Three, Four, Five, Six, Seven> Consumers.Consumer8<One,Two, Three, Four, Five, Six, Seven, Eight> Consumers.Consumer9<One,Two, Three, Four, Five, Six, Seven, Eight, Nine> A contributor in the CONTRIBUTORS.dm file.Manages crashes in Gaia Sky by logging and saving stack traces.Saves the metadata on a particular catalog or dataset loaded into Gaia Sky, and implements some common operations like highlighting.Utilities related to decals and billboards.A wrapper around a double array to make it resizable and optionally ordered.Useful utilities that help with downloads and connectivity checks.A high-performance map implementation that stores object keys and unboxed int values.A high-performance map implementation that stores String keys and generic Object values.Helper to generate and inject FreeType fonts into the Gaia Sky skin.Function interfaces missing in the standard library.Functions.Function2<One,Two, R> Functions.Function3<One,Two, Three, R> Functions.Function4<One,Two, Three, Four, R> Functions.Function5<One,Two, Three, Four, Five, R> Functions.Function6<One,Two, Three, Four, Five, Six, R> Utilities for the Graphical User Interface.Contains utilities to convert monochrome images to RGB.A min-heap of integers with associated double keys.Generates funny sentences from different chunks.Enums that have localized names.Manages the location log model.A single locationThe Gaia Sky logger.LruCache<A,B> Implementation of an LRU (least recently used) cache.LruCacheLong<V>A fixed-capacity cache that uses a least-recently-used (LRU) eviction policy.Manager for Gaia Sky master instances.Provides information on system memory data.Caches models of typeIntModelby type and parameters.This class is a modified version ofNetJavaImplthat ensures thedoInputflag is always set totrue.Constants in nature, mostly to convert units.A process that is parked and runs only once before it is removed.Pair<A,B> Data type that holds two objects.Runnable to update the progress of an operation.Contains common functions used by render systems.Queries the Sesame name resolver of the CDS to find out information about an object by its name, asynchronously with respect to the render thread.The result of a Sesame name resolution.Holds the settings of Gaia Sky.Holds configuration options related to the data files.Graphics settings of Gaia Sky.Settings that relate to the performance of the application.Settings of the scene, organized into camera, particle groups, star, proper motion, octree, renderer, crosshair, and initialization settings.Settings of the camera system, such as speed, fov, etc.Global settings for labels.Settings of velocity vectors.Star settings define visual and behavioral characteristics of stars.Settings that apply to star and particle groups.Threshold angles used in rendering.This object holds all the data pertaining to the software version.Contains utilities to initialize and manage the Gaia SkySettingsobjects.Convert old settings (properties files) to new settings (YAML-based).To be implemented by all settings object in theSettings.Implements single-instance handling for Gaia Sky using a TCP loopback server socket.Listener interface for URLs received from other instances.Manager for slave Gaia Sky instances that connect to master instances.Some handy system utilities and constants.Utilities to manipulate strings and text.Generates tip strings.Thread local variable holdingVector3.Thread local variable holdingVector3D.A fixed-capacity data structure that maintains the top N elements by value, where N is defined by the buffer capacity.Trio<A,B, C> A simple data structure that holds three objects.TwoWayMap<K,V> A map that allows forward and backward referencing.This class helps send load progress events in a streamlined way.Gathers and provides information on video memory.Little zipping and unzipping handy functions.