Package net.rim.device.api.util

Provides a host of utility methods and intefaces useful within the context of the Device's system.

See:
          Description

Interface Summary
AbstractString Defines a set of utility methods for string data.
Comparator Defines comparison methods useable to impose a total ordering on a collection of objects.
Factory Provides basic definition of a factory, and classes registered with the factory registration system must implement this interface.
IntComparator A comparator that uses integers as the elements.
IntEnumeration Enumeration of integer elements.
LongEnumeration Enumeration of long integer elements.
Persistable Every object that can persist between handheld resets must implement persistable.
TLEFieldController Defines methods to read and write type-length encoded (TLE) fields.
TimeSourceListener Defines an interface for registering listeners onto a TimeSource to be able to receive callbacks when the TimeSource state changes between STATE_STOPPED, STATE_STARTED and STATE_PAUSED.
 

Class Summary
AbstractStringWrapper Wraps string data to provide consistent basis for the string utility methods defined in AbstractString.
Arrays Provides a host of utility functions for manipulating arrays.
BitSet Maintains a collection of bits.
ByteArrayUtilities Performs conversions between a byte array and hexadecimal, and vice versa.
ByteVector Vector-like class for storing byte values.
CRC16 Computes the 16-bit CRC (checksum) for a data stream.
CRC24 A class that can be used to compute a 24-bit CRC of a data stream.
CRC32 Computes the 32-bit CRC (checksum) for a data stream.
CharacterUtilities Retreives Unicode attributes for characters.
CloneableVector A vector that can provide a clone of itself.
ContentProtectedHashtable This class provides a hashtable that will employ content protection on the values stored in the hashtable.
ContentProtectedVector Provides a vector that employs content protection on its contained elements.
DataBuffer Single, random-access data stream.
DateTimeUtilities Provides access to date/time operations.
EmptyEnumeration Permits handling of empty enumerations.
FactoryUtil A convenience class for creating objects via factories
IntHashtable This class implements a hashtable, which maps keys to values.
IntIntHashtable This class implements a hashtable, which maps keys to values.
IntLongHashtable This class implements a hashtable, which maps keys to values.
IntMultiMap Provides a one to many mapping between an integer key and some values.
IntStack Last-in-first-out (LIFO) stack of integer values.
IntVector Vector-like class for storing integer values.
InvertedOrderComparator Comparator to do inverted total orderings on collections of objects.
ListenerUtilities Utility methods for managing a list of listeners.
LongHashtable This class implements a hashtable, which maps keys to values.
LongIntHashtable This class implements a hashtable, which maps keys to values.
LongStack Last-in-first-out (LIFO) stack of long values.
LongVector Vector-like class for storing long values.
MathUtilities Provides some basic numeric operations.
MultiMap Provides a one to many mapping between a key and some values.
NumberUtilities Utility methods for converting numeric values to their character/string digit equivalents.
ObjectEnumerator Presents an array of objects as an enumeration.
ObjectUtilities Utility methods for manipulating Objects.
SimpleSortingIntVector Simple sorting vector of integers.
SimpleSortingVector Simple sorting vector of objects.
StringComparator A basic Comparator implementation to compare String instances either case-sensitively or case-insensitively.
StringMatch Checks for matching of substring patterns in strings.
StringPattern Provide a standard mechanism for defining pattern searches within Strings.
StringPattern.Match Holds the results of a successful match examination within a string-pattern.
StringPatternRepository Maintain a collection of StringPattern instances.
StringProvider Provides a String that can be changed.
StringProviderMutator Provides a String that can change.
StringUtilities Utility methods for manipulating Strings.
TLEUtilities Utility methods for manipulating type-length encoded (TLE) fields.
TimeSource Defines a time-source for use by classes that take an application time as a reference point.
TimeZoneUtilities This class provides utility methods for the time zones supported by the BlackBerry smartphone.
ToIntHashtable This class implements a hashtable, which maps keys to values.
ToLongHashtable This class implements a hashtable, which maps keys to values.
 

Exception Summary
NumericOverflowException Indicates an overflow to numeric boundaries.
 

Package net.rim.device.api.util Description

Provides a host of utility methods and intefaces useful within the context of the Device's system.






Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal