Package mondrian.util
Mondrian utilities.
-
Interface Summary Interface Description ClassResolver Instantiates a class.DateSchedule ADateSchedulereturns 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 AMemoryMonitorclient implements theListenerinterface and registers with theMemoryMonitor.MemoryMonitor.Test This is an interface that aMemoryMonitormay 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 ATimeSchedulegenerates 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 associateListenerand threshold.ArraySortedSet<E extends Comparable<E>> Implementation ofSortedSetbased on an array.ArrayStack<E> Stack implementation based onArrayList.Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStreamwill read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream ABase64.OutputStreamwill 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 ofClassResolverthat 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 ofFuturethat 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 ADailyDateSchedulefires every day.DelegatingInvocationHandler A class derived fromDelegatingInvocationHandlerhandles a method call by looking for a method in itself with identical parameters.DigitList DigitListhandles the transcoding between numeric values and strings of characters.ExpiringReference<T> An expiring reference is a subclass ofSoftReferencewhich pins the reference in memory until a certain timeout is reached.ExpiringReferenceTest FauxMemoryMonitor TheFauxMemoryMonitorimplements theMemoryMonitorinterface but does nothing: all methods are empty.FilteredIterableList<T> Iterable list which filters undesirable elements.FilteredIterableTest Unit-test for FilteredIterableFormat Formatformats numbers, strings and dates according to the same specification as Visual Basic'sformat()function.Format.AlternateFormat AlternateFormat is an implementation ofFormat.BasicFormatwhich 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.BasicFormatwhere each value is formatted by applying a sequence of format elements.Format.DateFormat DateFormat is an element of aFormat.CompoundFormatwhich has a value when applied to aCalendarobject.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.BasicFormatwhich prints values using Java's default formatting for their type.Format.LiteralFormat LiteralFormat is an implementation ofFormat.BasicFormatwhich prints a constant value, regardless of the value to be formatted.Format.NumericFormat NumericFormat is an implementation ofFormat.BasicFormatwhich 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 TheMemoryMonitorFactoryis 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 AMonthlyByDayDateSchedulefires on a particular set of days every month.MonthlyByWeekDateSchedule AMonthlyByWeekDateSchedulefires on particular days of particular weeks of a month.NotificationMemoryMonitor TheNotificationMemoryMonitorclass uses the Java5 memory management system to detect system low memory events.ObjectFactory<V> Concrete derived classes of the genericObjectFactoryclass 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> AnObjectPoolis a low-memory replacement for aHashSet.ObjectPoolTest Test case forObjectPool.ObjectPoolTest.KeyValue OnceTimeSchedule AOnceTimeSchedulefires 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 ASchedulegenerates a series of time events.ScheduleTest ScheduleUtil Utility functions forScheduleand supporting classes.ServiceDiscovery<T> Utility functions to discover Java services.SlotFuture<V> Implementation ofFuturethat 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 ofListfor transposing an array of lists.Triple<T0,T1,T2> Tuple of three values.UnionIterator<T> Iterator over union of severalIterablecollections.UnsupportedList<T> Implementation ofListwhere all methods throw an UnsupportedOperationException exception except for theisEmptymethod.UtilCompatibleJdk15 Implementation ofUtilCompatiblewhich runs in JDK 1.5.UtilCompatibleJdk16 Implementation ofUtilCompatiblethat runs in JDK 1.6.WeeklyDateSchedule AWeeklyDateSchedulefires every week. -
Enum Summary Enum Description PropertyUtil.Generator -
Exception Summary Exception Description CreationException