All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.jagg.msd.MsdWorkspace Maven / Gradle / Ivy

Go to download

jAgg is a Java 5.0 API that supports “group by” operations on Lists of Java objects: aggregate operations such as count, sum, max, min, avg, and many more. It also allows custom aggregate operations.

The newest version!
package net.sf.jagg.msd;

import java.util.List;

/**
 * This class holds the memory needed by a Discriminator.  This is
 * meant to be used by exactly one thread at a time.
 *
 * @author Randy Gettman
 * @since 0.5.0
 */
public class MsdWorkspace
{
   /**
    * The size of the array of lists and the array of used indexes.
    */
   public static final int SIZE = 65536;

   /**
    * The array of lists of elements.
    */
   public final List[] myLists = new List[SIZE];
   /**
    * The array of used indexes.
    */
   public final int[] myUsedIndexes = new int[SIZE];

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy