Package com.threerings.util

Interface Summary
Copyable An interface for objects that can be copied.
Inner Provides a means of creating "inner" classes without requiring that the class definitions be lexically enclosed within the definitions of the outer class.
WeakObserverSet.ObserverOp<T> Instances of this interface are used to apply methods to all observers in a set.
 

Class Summary
AbstractIdentityHashSet<T> Wraps up an IdentityHashMap to look like a set for the purpose of subclassing.
ArrayKey A hash key that uses Arrays.deepHashCode(java.lang.Object[]) and Arrays.deepEquals(java.lang.Object[], java.lang.Object[]) to hash/compare an array of elements.
ChangeBlock A simple mechanism for preventing infinite recursion when one change listener responds to an event by making another change, which in turns notifies another (or the same) listener, which makes another change, and so on.
DeepObject A base class for objects that uses the methods of DeepUtil to implement DeepObject.clone(), DeepObject.equals(java.lang.Object), and DeepObject.hashCode() reflectively.
DeepUtil Various methods that use reflection to perform "deep" operations: copying, comparison, etc.
IdentityKey A hash key based on the identities of an array of elements.
NoiseUtil Methods for generating Perlin noise.
ReflectionUtil Some general reflection utility methods.
ResourceUtil Utility methods relating to resources.
ShallowObject As a counterpart to DeepObject, this class does nothing except enforce the default reference semantics of Object.equals(java.lang.Object) and Object.hashCode().
ToolUtil Contains some static classes and methods used by our various (Swing-based) tool applications.
ToolUtil.EditablePrefs A simple editable object used to manipulate preferences.
ToolUtil.WrappedTransfer A Transferable available in two flavors: one for use within a single VM and one that uses binary export/import to exchange data between different VMs.
WeakObserverSet<T> Much like WeakObserverList, but provides faster addition and removal in exchange for using additional memory and generating additional garbage (the iterator) on notification.
 

Annotation Types Summary
Deep Indicates that a field should be treated deeply by the DeepUtil methods.
DeepOmit Indicates that a field should be skipped by the DeepUtil methods.
Shallow Indicates that a field should be treated shallowly by the DeepUtil methods.
 



Copyright © 2011. All Rights Reserved.