Package com.badlogic.gdx.utils

Interface Summary
BaseJsonReader  
Clipboard A very simple clipboard interface for text content.
Disposable Interface for disposable resources.
Json.Serializable  
Json.Serializer<T>  
Pool.Poolable Objects implementing this interface will have Pool.Poolable.reset() called when passed to Pool.free(Object).
Predicate<T> Interface used to select items within an iterator against a predicate.
 

Class Summary
Array<T> A resizable, ordered or unordered array of objects.
Array.ArrayIterable<T>  
Array.ArrayIterator<T>  
ArrayMap<K,V> An ordered or unordered map of objects.
ArrayMap.Entries<K,V>  
ArrayMap.Keys<K>  
ArrayMap.Values<V>  
AtomicQueue<T> A queue that allows one thread to call AtomicQueue.put(Object) and another thread to call AtomicQueue.poll().
Base64Coder  
BinaryHeap<T extends BinaryHeap.Node>  
BinaryHeap.Node  
Bits A bitset, without size limitation, allows comparison via bitwise operators to other bitfields.
BooleanArray A resizable, ordered or unordered boolean array.
BufferUtils Class with static helper methods to increase the speed of array/direct buffer and direct buffer/direct buffer transfers
CharArray A resizable, ordered or unordered char array.
DataInput Extends DataInputStream with additional convenience methods.
DataOutput Extends DataOutputStream with additional convenience methods.
DelayedRemovalArray<T> Queues any removals done after DelayedRemovalArray.begin() is called to occur once DelayedRemovalArray.end() is called.
FloatArray A resizable, ordered or unordered float array.
GdxBuild Builds the JNI wrappers via gdx-jnigen.
GdxNativesLoader  
IdentityMap<K,V> An unordered map that uses identity comparison for keys.
IdentityMap.Entries<K,V>  
IdentityMap.Entry<K,V>  
IdentityMap.Keys<K>  
IdentityMap.Values<V>  
IntArray A resizable, ordered or unordered int array.
IntFloatMap An unordered map where the keys are ints and values are floats.
IntFloatMap.Entries  
IntFloatMap.Entry<K>  
IntFloatMap.Keys  
IntFloatMap.Values  
IntIntMap An unordered map where the keys and values are ints.
IntIntMap.Entries  
IntIntMap.Entry<K>  
IntIntMap.Keys  
IntIntMap.Values  
IntMap<V> An unordered map that uses int keys.
IntMap.Entries<V>  
IntMap.Entry<V>  
IntMap.Keys  
IntMap.Values<V>  
IntSet An unordered set that uses int keys.
IntSet.Entry<V>  
IntSet.IntSetIterator  
Json Reads/writes Java objects to/from JSON, automatically.
Json.ReadOnlySerializer<T>  
JsonReader Lightweight JSON parser.

The default behavior is to parse the JSON into a DOM containing JsonValue objects.
JsonValue Container for a JSON object, array, string, double, long, boolean, or null.
JsonWriter Builder style API for emitting JSON.
LittleEndianInputStream Taken from http://www.javafaq.nu/java-example-code-1079.html
Logger Simple logger that uses the Application logging facilities to output messages.
LongArray A resizable, ordered or unordered long array.
LongMap<V> An unordered map that uses long keys.
LongMap.Entries<V>  
LongMap.Entry<V>  
LongMap.Keys  
LongMap.Values<V>  
NumberUtils  
ObjectFloatMap<K> An unordered map where the values are floats.
ObjectFloatMap.Entries<K>  
ObjectFloatMap.Entry<K>  
ObjectFloatMap.Keys<K>  
ObjectFloatMap.Values  
ObjectIntMap<K> An unordered map where the values are ints.
ObjectIntMap.Entries<K>  
ObjectIntMap.Entry<K>  
ObjectIntMap.Keys<K>  
ObjectIntMap.Values  
ObjectMap<K,V> An unordered map.
ObjectMap.Entries<K,V>  
ObjectMap.Entry<K,V>  
ObjectMap.Keys<K>  
ObjectMap.Values<V>  
ObjectSet<T> An unordered set where the keys are objects.
ObjectSet.SetIterator<K>  
OrderedMap<K,V> An ObjectMap that also stores keys in an Array using the insertion order.
PauseableThread A pausable thread.
PerformanceCounter Class to keep track of the time and load (percentage of total time) a specific task takes.
PerformanceCounters  
Pool<T> A pool of objects that can be reused to avoid allocation.
PooledLinkedList<T> A simple linked list that pools its nodes.
Pools Stores a map of ReflectionPools by type for convenient static access.
Predicate.PredicateIterable<T>  
Predicate.PredicateIterator<T>  
QuickSelect<T> Implementation of Tony Hoare's quickselect algorithm.
ReflectionPool<T> Pool that creates new instances of a type using reflection.
ScreenUtils Class with static helper methods that provide access to the default OpenGL FrameBuffer.
Select This class is for selecting a ranked element (kth ordered statistic) from an unordered list in faster time than sorting the whole array.
SharedLibraryLoader Loads shared libraries from a natives jar file (desktop) or arm folders (Android).
ShortArray A resizable, ordered or unordered short array.
SnapshotArray<T> Guarantees that array entries provided by SnapshotArray.begin() between indexes 0 and Array.size at the time begin was called will not be modified until SnapshotArray.end() is called.
Sort Provides methods to sort arrays of objects.
SortedIntList<E> A sorted double linked list which uses ints for indexing
SortedIntList.Node<E>  
StreamUtils Provides utility methods to copy streams
StringBuilder A StringBuilder that implements equals and hashcode.
Timer Executes tasks in the future on the main loop thread.
Timer.Task Runnable with a cancel method.
TimeUtils Wrapper around System.nanoTime() and System.currentTimeMillis().
UBJsonReader Lightweight UBJSON parser.

The default behavior is to parse the JSON into a DOM containing JsonValue objects.
XmlReader Lightweight XML parser.
XmlReader.Element  
XmlWriter Builder style API for emitting XML.
 

Enum Summary
JsonValue.ValueType  
JsonWriter.OutputType  
Scaling Various scaling types for fitting one rectangle into another.
 

Exception Summary
GdxRuntimeException Typed runtime exception used throughout libgdx
SerializationException Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.
 



Copyright © 2013. All Rights Reserved.