Package mondrian.util
Mondrian utilities.
-
Interface Summary Interface Description ClassResolver Instantiates a class.DateSchedule ADateSchedule
returns a series of dates.FilteredIterableList.Filter<T> Filter to determine which elements should be shown.LockBox.Entry Entry in aLockBox
.MemoryMonitor API for Mondrian's memory monitors.MemoryMonitor.Listener AMemoryMonitor
client implements theListener
interface and registers with theMemoryMonitor
.MemoryMonitor.Test This is an interface that aMemoryMonitor
may optionally implement.ObjectFactory.Context This is for testing only.PartiallyOrderedSet.Ordering<E> Ordering relation.SpatialValueTree<K,E,V> A SpatialValueTree is a multidimensional index of values.SpatialValueTree.SpatialRegion<K,E> Describes a spatial region within aSpatialValueTree
.SpatialValueTree2 Variation of Luc's SpatialValueTree.SpatialValueTree2.SpatialDimension SpatialValueTree2.SpatialRegion SpatialValueTree2.SpatialRegionRequest A request for a region.TimeSchedule ATimeSchedule
generates a series of times within a day.UtilCompatible Interface containing methods which are implemented differently in different versions of the JDK. -
Class Summary Class Description AbstractMemoryMonitor Abstract implementation ofMemoryMonitor
.AbstractMemoryMonitor.Entry Class used to associateListener
and threshold.ArraySortedSet<E extends Comparable<E>> Implementation ofSortedSet
based on an array.ArrayStack<E> Stack implementation based onArrayList
.Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64Test Test case forBase64
.BeanMap View of an object as a map.BlockingHashMap<K,V> A limited Map implementation which supports waiting for a value to be available when calling get().BlockingHashMapTest Testcase forBlockingHashMap
.Bug Holder for constants which indicate whether particular issues have been fixed.ByteString Collection of bytes.CacheMap<S,T> Map with limited size to be used as cache.CartesianProductList<T> List that generates the cartesian product of its component lists.ClassResolver.AbstractClassResolver Partial implementation ofClassResolver
.ClassResolver.ThreadContextClassResolver Implementation ofClassResolver
that callsThread.getContextClassLoader()
on the current thread.CombiningGenerator<E> A list that, given a collection of elements, contains every possible combination of those objects (also known as the power set of those objects).CompletedFuture<V> Implementation ofFuture
that has already completed.Composite Composite collections.CompositeList<T> List composed of several lists.ConcatenableList<T> List backed by a collection of sub-lists.ConcatenableListTest Test cases forConcatenableList
.Counters A collection of counters.DailyDateSchedule ADailyDateSchedule
fires every day.DelegatingInvocationHandler A class derived fromDelegatingInvocationHandler
handles a method call by looking for a method in itself with identical parameters.DigitList DigitList
handles the transcoding between numeric values and strings of characters.ExpiringReference<T> An expiring reference is a subclass ofSoftReference
which pins the reference in memory until a certain timeout is reached.ExpiringReferenceTest FauxMemoryMonitor TheFauxMemoryMonitor
implements theMemoryMonitor
interface but does nothing: all methods are empty.FilteredIterableList<T> Iterable list which filters undesirable elements.FilteredIterableTest Unit-test for FilteredIterableFormat Format
formats numbers, strings and dates according to the same specification as Visual Basic'sformat()
function.Format.AlternateFormat AlternateFormat is an implementation ofFormat.BasicFormat
which allows a different format to be used for different kinds of values.Format.BasicFormat BasicFormat is the interface implemented by the classes which do all the work.Format.CompoundFormat CompoundFormat is an implementation ofFormat.BasicFormat
where each value is formatted by applying a sequence of format elements.Format.DateFormat DateFormat is an element of aFormat.CompoundFormat
which has a value when applied to aCalendar
object.Format.FallbackFormat FallbackFormat catches un-handled datatypes and prints the original format string.Format.FormatLocale A FormatLocale contains all information necessary to format objects based upon the locale of the end-user.Format.JavaFormat JavaFormat is an implementation ofFormat.BasicFormat
which prints values using Java's default formatting for their type.Format.LiteralFormat LiteralFormat is an implementation ofFormat.BasicFormat
which prints a constant value, regardless of the value to be formatted.Format.NumericFormat NumericFormat is an implementation ofFormat.BasicFormat
which prints numbers with a given number of decimal places, leading zeroes, in exponential notation, etc.Format.Token FormatTest Unit test forFormat
.IdentifierParser Utilities for parsing fully-qualified member names, tuples, member lists, and tuple lists.IdentifierParser.BuilderImpl Implementation of Builder that resolves segment lists to members.IdentifierParser.MemberListBuilder Implementation of Builder that builds a member list.IdentifierParser.TupleBuilder Implementation of Builder that builds a tuple.IdentifierParser.TupleListBuilder Implementation of Builder that builds a tuple list.IteratorIterable<E> Iterable over an iterator.LockBox Provides a way to pass objects via a string moniker.MemoryMonitorFactory TheMemoryMonitorFactory
is used to get the application'sMemoryMonitor
.MemoryMonitorTest Test case forObjectPool
.MemoryMonitorTest.TestMM MemoryMonitorTest.TestMM2 MondrianFloatingDecimal Representation of a number as a list of digits.MonthlyByDayDateSchedule AMonthlyByDayDateSchedule
fires on a particular set of days every month.MonthlyByWeekDateSchedule AMonthlyByWeekDateSchedule
fires on particular days of particular weeks of a month.NotificationMemoryMonitor TheNotificationMemoryMonitor
class uses the Java5 memory management system to detect system low memory events.ObjectFactory<V> Concrete derived classes of the genericObjectFactory
class are used to produce an implementation of an interface (a normal interface implementation or a Proxy).ObjectFactory.Singleton<T> Implementation of ObjectFactory that returns only a single instance of the Object.ObjectPool<T> AnObjectPool
is a low-memory replacement for aHashSet
.ObjectPoolTest Test case forObjectPool
.ObjectPoolTest.KeyValue OnceTimeSchedule AOnceTimeSchedule
fires at one and only one time.Pair<L,R> Pair of values.PartiallyOrderedSet<E> Partially-ordered set.PartiallyOrderedSetTest Unit test forPartiallyOrderedSet
.PrimeFinder Not of interest for users; only for implementors of hashtables.PrimeFinderTest Testcase forPrimeFinder
.PropertyUtil Utilities to generate MondrianProperties.java and mondrian.properties from property definitions in MondrianProperties.xml.Schedule ASchedule
generates a series of time events.ScheduleTest ScheduleUtil Utility functions forSchedule
and supporting classes.ServiceDiscovery<T> Utility functions to discover Java services.SlotFuture<V> Implementation ofFuture
that completes when a thread writes a value (or an exception) into a slot.StringKey Type-safe value that contains an immutable string.TraversalList<T> Implementation ofList
for transposing an array of lists.Triple<T0,T1,T2> Tuple of three values.UnionIterator<T> Iterator over union of severalIterable
collections.UnsupportedList<T> Implementation ofList
where all methods throw an UnsupportedOperationException exception except for theisEmpty
method.UtilCompatibleJdk15 Implementation ofUtilCompatible
which runs in JDK 1.5.UtilCompatibleJdk16 Implementation ofUtilCompatible
that runs in JDK 1.6.WeeklyDateSchedule AWeeklyDateSchedule
fires every week. -
Enum Summary Enum Description PropertyUtil.Generator -
Exception Summary Exception Description CreationException