Package danger.util

Interface Summary
ActiveFolder Extension of ActiveList to add folder information.
ActiveFolder.Delegate Interface for delegates that get notified on changes to instances of ActiveFolder.
ActiveFolder.FolderForEach Callback interface used for calls to ActiveFolder.folderForEach(danger.util.ActiveFolder.FolderForEach, boolean).
ActiveList A list of items that has hooks for notification of updates.
ActiveList.Delegate Interface for delegates that get notified on changes to instances of ActiveList.
ActiveList.ForEach Callback interface used for calls to ActiveList.forEach(danger.util.ActiveList.ForEach).
ActiveObject An object that can report on its activity.
ActiveObject.Delegate Interface for delegates that get notified on changes to instances of this (outer) class.
GetChars CharSequences that have a getChars() function like the one in String should implement this to inform other classes that there is a faster way to get chars out than repeated calls to getChar().
StringWrapper  
TextBufferLike  
TextFinder  
 

Class Summary
ActiveFolder.WeakDelegateList List of delegates which are held onto weakly.
ActiveList.WeakDelegateList List of delegates which are held onto weakly.
ActiveObject.WeakDelegateList List of delegates which are held onto weakly.
Adler32  
Arrays Array utilities.
ArrayUtils Generic array utilities.
AsyncResult  
BitUtils Utilities for dealing with byte[]s as bit vectors.
ByteArray Utilities for accessing instances of byte[].
Collections Collection utilities.
DateUtils Utility methods to perform operations on dates.
DEBUG  
Decompressor  
FilteredActiveList A view of another list, where only some items are visible (that is, some may be filtered out), itself presented as a list.
Fixed Fixed point math library.
FloatUtils Locale-friendly floating point math utilities.
Folder A Folder is simply a list of items and a few extra bits of data including a title, an open/closed state, open and closed icons, and a view.
IdentityHashtable An implementation of the J2SE IdentityHashMap class, using the Hashtable interface for CLDC consistency.
InflaterImpl  
LineBreaker  
LineBreakerArguments This class exists to encapsulate the multiple arguments to and return values from LineBreaker.findLineBreakCandidate(danger.ui.Font, int, java.lang.CharSequence, int, danger.util.LineBreakerArguments) so that it can be extended in the future without changing the type signature.
LocaleUtils Methods useful for number formatting and date/time formatting.
Lzss  
MathUtils General math utilities.
Matrix  
MetaBitmaps This class is used to obtain bitmaps provided by the system.
MetaKeyDictionary  
MetaStrings This class is used to obtain strings provided by the system.
NETDEBUG  
PackedIntVector PackedIntVector stores a two-dimensional array of integers in which the number of columns is fixed but the number of rows may be changed on demand.
Pasteboard Holder for a shared string that may be accessed across apps.
Queue A queue which may be used either in FIFO (first-in, first-out) or LIFO (last-in, first-out) fashion.
ServiceTime  
ShortcutDictionary Class to handle the AutoText text replacement rules.
ShortcutRules Class to handle the AutoText settings.
SimpleTimer  
SimpleWeakList List of objects which are held onto weakly.
StdActiveFolder Standard implementation of ActiveFolder, using an underlying array to store all the items, and with hooks for subclasses to notice interesting activity.
StdActiveList Standard implementation of ActiveList, using an underlying array to store all the items, and with hooks for subclasses to notice interesting activity.
StdActiveObject Standard implementation of ActiveObject.
StringKeyValuePair  
StringSearcher  
StringUtils  
TextBuffer This class implements the "buffer-gap" method of storage management for a buffer that is frequently edited.
TextInputFilter  
TextInputVerifier  
TimerTaskFromRunnable  
URLHelper  
UtilFactory  
VectorUtils Vector utilities.
WeakHashtable An implementation of the J2SE WeakHashMap class, using the Hashtable interface for CLDC consistency.
WeakIdentityHashMap A combination of the J2SE WeakHashMap and IdentityHashMap classes.
WeakIdentityHashtable A combination of the J2SE WeakHashMap and IdentityHashMap classes, using the Hashtable interface for CLDC consistency.
WordRun  
ZoneInfo