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.BinaryNode
s, 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.Saves the metadata on a particular catalog or dataset loaded into Gaia Sky, and implements some common operations like highlighting.Central manager forCatalogInfo
objects.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> Manages crashes in Gaia Sky by logging and saving stack traces.Utilities related to decals and billboards.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.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> Gaia Sky high-level asset holder.LoadsGaiaSkyAssets
.Contains resources that don't change during the runtime of the application.Utilities for the Graphical User Interface.Contains utilities to convert monochrome images to RGB.Generates funny sentences from different chunks.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 typeIntModel
by type and parameters.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.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 SkySettings
objects.Convert old settings (properties files) to new settings (YAML-based).To be implemented by all settings object in theSettings
.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.Gathers and provides information on video memory.Little zipping and unzipping handy functions.