Your preferences have been saved!
» Double List - //package cc.mallet.util; import java.util.Arrays; import java.io.*; public class DoubleList implements Serializable {   double[] data;   int size;   public DoubleList ()   {     this (2);... 18 Feb 12 » Concatenate arrays - //package com.aliasi.util; import java.util.ArrayList; import java.util.List; import java.util.Random; /**  * Static utility methods for processing arrays.  *  * @author  Bob Carpenter  * @version 4.0.0  * @since   LingPipe1.0... 18 Feb 12 » Adds the object to the array. - //package org.slim3.util; import java.lang.reflect.Array; /**  * A utility for {@link Array}.  *   * @author higa  * @since 1.0.0  *   */ public final class ArrayUtil {... 18 Feb 12 » Doubles the size of an array - /**  * @author ryanm  */ public class ArrayUtil {   /**    * Doubles the size of an array    *     * @param in    * @return The new array... 18 Feb 12 » A growable array of bytes - /**   * A growable array of bytes  */ public class ByteArray {   /**    * The array grow size    */   private int growSize;   /**... 18 Feb 12 » Append item to array - //package com.dyuproject.util; import java.lang.reflect.Array; /**  * @author David Yu  * @created Jan 16, 2009  */ public final class ArrayUtil {          /**... 18 Feb 12 » A variable length Double Array: expanding and contracting its internal - import java.io.Serializable; */ public class ResizableDoubleArray implements Serializable {   /** Serializable version identifier */   private static final long serialVersionUID = -3485529955529426875L;   /** additive expansion mode */   public static final int ADDITIVE_MODE = 1;   /** multiplicative expansion mode */   public static final int MULTIPLICATIVE_MODE = 0;   /**... 18 Feb 12 » Simple object pool -  */ public final class SimplePool {   /*    * Where the threads are held.    */   private Object pool[];   private int max;   private int last;   private int current = -1;   private Object lock;... 18 Feb 12 » Adds all the elements of the given arrays into a - */ import java.lang.reflect.Array; /**  * <p>Operations on arrays, primitive arrays (like <code>int[]</code>) and  * primitive wrapper arrays (like <code>Integer[]</code>).</p>  *   * <p>This class tries to handle <code>null</code> input gracefully.  * An exception will not be thrown for a <code>null</code>  * array input. However, an Object array that contains a <code>null</code>  * element may throw an exception. Each method documents its behaviour.</p>... 18 Feb 12 » Append the given Object to the given array - import java.lang.reflect.Array; import java.util.Arrays; */ abstract class ObjectUtils {   private static final int INITIAL_HASH = 7;   private static final int MULTIPLIER = 31;   private static final String EMPTY_STRING = "";   private static final String NULL_STRING = "null";   private static final String ARRAY_START = "{";   private static final String ARRAY_END = "}";   private static final String EMPTY_ARRAY = ARRAY_START + ARRAY_END;... 18 Feb 12