Package mondrian.util
package mondrian.util
Mondrian utilities.
-
ClassDescriptionAbstract implementation of
MemoryMonitor.ArraySortedSet<E extends Comparable<E>>Implementation ofSortedSetbased on an array.ArrayStack<E>Stack implementation based onArrayList.Encodes and decodes to and from Base64 notation.ABase64.InputStreamwill read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.ABase64.OutputStreamwill write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.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().Holder for constants which indicate whether particular issues have been fixed.Collection of bytes.CacheMap<S,T> Map with limited size to be used as cache.Encapsulates cancel and timeouts checksList that generates the cartesian product of its component lists.Instantiates a class.Partial implementation ofClassResolver.Implementation ofClassResolverthat callsThread.getContextClassLoader()on the current thread.A list that, given a collection of elements, contains every possible combination of those objects (also known as the power set of those objects).Implementation ofFuturethat has already completed.Composite collections.List composed of several lists.List backed by a collection of sub-lists.A collection of counters.A class derived fromDelegatingInvocationHandlerhandles a method call by looking for a method in itself with identical parameters.An expiring reference is a subclass ofSoftReferencewhich pins the reference in memory until a certain timeout is reached.TheFauxMemoryMonitorimplements theMemoryMonitorinterface but does nothing: all methods are empty.Iterable list which filters undesirable elements.Filter to determine which elements should be shown.Formatformats numbers, strings and dates according to the same specification as Visual Basic'sformat()function.A FormatLocale contains all information necessary to format objects based upon the locale of the end-user.Utilities for parsing fully-qualified member names, tuples, member lists, and tuple lists.Implementation of Builder that resolves segment lists to members.Implementation of Builder that builds a member list.Implementation of Builder that builds a tuple.Implementation of Builder that builds a tuple list.Iterable over an iterator.Provides a way to pass objects via a string moniker.Entry in aLockBox.MdcUtil is a small helper class for copying log4j MDC context between threads.API for Mondrian's memory monitors.AMemoryMonitorclient implements theListenerinterface and registers with theMemoryMonitor.This is an interface that aMemoryMonitormay optionally implement.TheMemoryMonitorFactoryis used to get the application'sMemoryMonitor.TheNotificationMemoryMonitorclass uses the Java5 memory management system to detect system low memory events.Concrete derived classes of the genericObjectFactoryclass are used to produce an implementation of an interface (a normal interface implementation or a Proxy).This is for testing only.Implementation of ObjectFactory that returns only a single instance of the Object.ObjectPool<T>AnObjectPoolis a low-memory replacement for aHashSet.Pair<L,R> Pair of values.Partially-ordered set.Ordering relation.Utilities to generate MondrianProperties.java and mondrian.properties from property definitions in MondrianProperties.xml.ASchedulegenerates a series of time events.Utility functions to discover Java services.SlotFuture<V>Implementation ofFuturethat completes when a thread writes a value (or an exception) into a slot.SpatialValueTree<K,E, V> A SpatialValueTree is a multidimensional index of values.Describes a spatial region within aSpatialValueTree.Variation of Luc's SpatialValueTree.A request for a region.Type-safe value that contains an immutable string.Implementation ofListfor transposing an array of lists.Triple<T0,T1, T2> Tuple of three values.Iterator over union of severalIterablecollections.Implementation ofListwhere all methods throw an UnsupportedOperationException exception except for theisEmptymethod.Interface containing methods which are implemented differently in different versions of the JDK.Implementation ofUtilCompatiblewhich runs in JDK 1.5.Implementation ofUtilCompatiblethat runs in JDK 1.6.Class was created to prevent XXE Security Vulnerabilities http://jira.pentaho.com/browse/PPP-3506 Created by Yury_Bakhmutski on 10/21/2016.