APIdia Launch Partner
Top Interfaces Annotations Classes Enums
module gdx

Package com.badlogic.gdx.utils


Interface Summary

Modifier and TypeInterface and Description
public interface
ArraySupplier<T>

An interface that is used to create arrays.

public interface
public interface
Clipboard

A very simple clipboard interface for text content.

public interface
Disposable

Interface for disposable resources.

public interface
Predicate<T>

Interface used to select items within an iterator against a predicate.

Annotation Summary

Modifier and TypeAnnotation and Description
pack-priv @interface
NonNull

Deprecated
Do not use this annotation.
pack-priv @interface
NonNullByDefault

Deprecated
Do not use this annotation.
public @interface
Null

Indiciates the element may have a null value.

Class Summary

Modifier and TypeClass and Description
public class
Align

Provides bit flag constants for alignment.

public class
Array<T>

A resizable, ordered or unordered array of objects.

public class
ArrayMap<K, V>

An ordered or unordered map of objects.

public class
AtomicQueue<T>

A queue that allows one thread to call put(Object) and another thread to call poll().

public class
public class
BinaryHeap<T extends BinaryHeap.Node>

A binary heap that stores nodes which each have a float value and are sorted either lowest first or highest first.

public class
Bits

A bitset, without size limitation, allows comparison via bitwise operators to other bitfields.

public class
BooleanArray

A resizable, ordered or unordered boolean array.

public class
BufferUtils

Class with static helper methods to increase the speed of array/direct buffer and direct buffer/direct buffer transfers

public class
ByteArray

A resizable, ordered or unordered byte array.

public class
CharArray

A resizable, ordered or unordered char array.

public class
pack-priv class
ComparableTimSort

This is a near duplicate of TimSort, modified for use with arrays of objects that implement Comparable, instead of using explicit comparators.

public class
DataBuffer

Extends DataOutput that writes bytes to a byte array.

public class
DataInput

Extends DataInputStream with additional convenience methods.

public class
DataOutput

Extends DataOutputStream with additional convenience methods.

public class
DefaultPool<T>

Default Pool implementation that creates a new instances of a type based on a supplier.

public class
DelayedRemovalArray<T>

An array that queues removal during iteration until the iteration has completed.

public class
FloatArray

A resizable, ordered or unordered float array.

public abstract class
FlushablePool<T>

A Pool which keeps track of the obtained items (see obtain()), which can be free'd all at once using the flush() method.

public class
public class
GdxRuntimeException

Typed runtime exception used throughout libGDX

public class
I18NBundle

A I18NBundle provides Locale-specific resources loaded from property files.

public class
IdentityMap<K, V>

An unordered map that uses identity comparison for the object keys.

public class
IdentitySet<T>

An unordered set that uses identity comparison for its keys.

public class
IntArray

A resizable, ordered or unordered int array.

public class
IntFloatMap

An unordered map where the keys are unboxed ints and values are unboxed floats.

public class
IntIntMap

An unordered map where the keys and values are unboxed ints.

public class
IntMap<V>

An unordered map where the keys are unboxed ints and values are objects.

public class
IntSet

An unordered set where the items are unboxed ints.

public class
Json

Reads/writes Java objects to/from JSON, automatically.

public class
JsonMatcher

Efficient JSON parser that extracts values matching specified patterns using a single pass.

public class
JsonReader

Lightweight JSON parser.

public class
JsonSkimmer

Lightweight event-based JSON parser.

public class
JsonString

Builder API for emitting JSON to a string.

public class
JsonValue

Container for a JSON object, array, string, double, long, boolean, or null.

public class
JsonWriter

Builder API for emitting JSON to a Writer.

public class
LittleEndianInputStream

Taken from http://www.javafaq.nu/java-example-code-1079.html

public class
Logger

Simple logger that uses the Application logging facilities to output messages.

public class
LongArray

A resizable, ordered or unordered long array.

public class
LongMap<V>

An unordered map where the keys are unboxed longs and values are objects.

public class
LongQueue

A resizable, ordered array of longs with efficient add and remove at the beginning and end.

public class
LongSet

An unordered set where the items are unboxed longs.

public class
public class
ObjectFloatMap<K>

An unordered map where the keys are objects and the values are unboxed floats.

public class
ObjectIntMap<K>

An unordered map where the keys are objects and the values are unboxed ints.

public class
ObjectLongMap<K>

An unordered map where the keys are objects and the values are unboxed longs.

public class
ObjectMap<K, V>

An unordered map where the keys and values are objects.

public class
ObjectSet<T>

An unordered set where the keys are objects.

public class
OrderedMap<K, V>

An ObjectMap that also stores keys in an Array using the insertion order.

public class
OrderedSet<T>

A ObjectSet that also stores keys in an Array using the insertion order.

pack-priv class
PatternParser

Parses JsonMatcher patterns.

public class
PauseableThread

A pausable thread.

public class
PerformanceCounter

Class to keep track of the time and load (percentage of total time) a specific task takes.

public class
public abstract class
Pool<T>

A pool of objects that can be reused to avoid allocation.

public class
PooledLinkedList<T>

A simple linked list that pools its nodes.

public class
PoolManager

A class that can be used to handle multiple pools together.

public class
Pools

Deprecated Use PoolManager for bundling pools instead
Stores a map of Pools by type for convenient static access.
public class
PropertiesUtils

PropertiesUtils is a helper class that allows you to load and store key/value pairs of an ObjectMap<String,String> with the same line-oriented syntax supported by java.util.Properties.

public class
QuadTreeFloat

A quad tree that stores a float for each point.

public class
Queue<T>

A resizable, ordered array of objects with efficient add and remove at the beginning and end.

public class
QuickSelect<T>

Implementation of Tony Hoare's quickselect algorithm.

public class
ReflectionPool<T>

Deprecated Please use DefaultPool instead.
Pool that creates new instances of a type using reflection.
public abstract class
Scaling

Various scaling types for fitting one rectangle into another.

public class
ScreenUtils

Class with static helper methods related to currently bound OpenGL frame buffer, including access to the current OpenGL FrameBuffer.

public class
Select

This class is for selecting a ranked element (kth ordered statistic) from an unordered list in faster time than sorting the whole array.

public class
SerializationException

Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.

public class
ShortArray

A resizable, ordered or unordered short array.

public class
SnapshotArray<T>

An array that allows modification during iteration.

public class
Sort

Provides methods to sort arrays of objects.

public class
SortedIntList<E>

A sorted double linked list which uses ints for indexing

public class
StreamUtils

Provides utility methods to copy streams.

pack-priv class
TextFormatter

TextFormatter is used by I18NBundle to perform argument replacement.

public class
Timer

Executes tasks in the future on the main loop thread.

public class
TimeUtils

Wrapper around System.nanoTime() and System.currentTimeMillis().

pack-priv class
TimSort<T>

A stable, adaptive, iterative mergesort that requires far fewer than n lg(n) comparisons when running on partially sorted arrays, while offering performance comparable to a traditional mergesort when run on random arrays.

public class
UBJsonReader

Lightweight UBJSON parser.

public class
UBJsonWriter

Builder style API for emitting UBJSON.

public class
XmlReader

Lightweight XML parser.

public class
XmlWriter

Builder style API for emitting XML.

Enum Summary

Modifier and TypeEnum and Description
public enum
Justify

The text justification hint on the type of spacing and which lines to justify.