Parsing Engine

Package danbikel.util

Provides some basic utility classes.

See:
          Description

Interface Summary
Filter Specification of a single method to allow for an arbitrary object filter.
FixedSizeList Specifies methods for a list of a fixed size.
FlexibleMap<K,V> Specifies useful/necessary diagnostic and lookup methods that the Map and HashMap APIs lack.
MapToPrimitive<K> Specifies methods that allow mappings from arbitrary objects to primitive types that are bundled in the map entries for efficiency.
MapToPrimitive.Entry<K> Interface that provides methods for all the possible primitive types that could be associated with keys in a MapToPrimitive map.
 

Class Summary
AbstractFixedSizeList Provides a convenient default implementation for most of the methods of List and FixedSizeList.
AbstractMapToPrimitive<K> This class and its associated inner class provide templates for easily creating implementations of maps to primitive types, by implementing all primitive-specific methods to throw an UnsupportedOperationException.
AbstractMapToPrimitive.Entry<K> Provides convenient abstract implementation of the MapToPrimitive.Entry interface: all primitive-specific methods are implemented to throw an UnsupportedOperationException.
AllPass A trivial filter that lets all objects pass through.
Debug Static class that stores the current debugging level (default is zero, for no debugging output), debugging options, and other utility functions for debugging.
FixedSizeArrayList A fixed-size list of objects backed by an array.
FixedSizeListFactory A factory for FixedSizeList instances.
FixedSizeSingletonList A FixedSizeList implementation for a singleton list (a list with only one element).
HashMap<K,V> Home-grown implementation of a hash map, in order to support the FlexibleMap interface.
HashMapDouble<K> A map from arbitrary keys to double values.
HashMapDouble.Entry<K> A map entry for this type of map, containing a key and a double.
HashMapInt<K> A map from arbitrary keys to int values.
HashMapInt.Entry<K> A map entry for this type of map, containing a key and an int.
HashMapPrimitive<K> A home-grown hash map from objects to indexed sequences of primitives.
HashMapPrimitive.Entry<K> A still-abstract extension of the AbstractMapToPrimitive.Entry that adds a next pointer and an int to cache the hash value of the key held by this entry.
HashMapTwoDoubles<K> A map for storing arbitrary Object instances as keys with ordered pairs of doubles as values.
HashMapTwoDoubles.Entry<K> A map entry for this type of map, containing a key and a pair of doubles.
HashMapTwoInts<K> A map for storing arbitrary Object instances as keys with ordered pairs of ints as values.
HashMapTwoInts.Entry<K> A map entry for this type of map, containing a key and a pair of ints.
IntCounter A class to hold an int that may be incremented or decremented.
IntPair A simple class to contain two integers.
JarClassLoader A class loader for loading a jar file from any URL.
JarRunner Runs a jar application from a URL.
ObjectBank A generic object bank: the bank monotonically grows until all of its objects are reclaimed.
ObjectPool A generic object pool.
Pair Provides a mechanism to group any two objects.
SLNode Represents a node in a singly-linked list.
Stack A simple stack implementation created from an ArrayList.
Text A set of static utility functions that operate on String or StringBuffer objects.
Time A simple class for keeping track of wall-clock time.
TimeoutServerSocket A ServerSocket subclass that delivers Socket objects via its implementation of TimeoutServerSocket.accept() that have had their timeout values set to the value specified at construction.
TimeoutSocketFactory Delivers sockets with timeout values (set via Socket.setSoTimeout).
 

Package danbikel.util Description

Provides some basic utility classes.


Parsing Engine

Author: Dan Bikel.