Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » util » [javadoc | source]
org.hibernate.util
public final class: ArrayHelper [javadoc | source]
java.lang.Object
   org.hibernate.util.ArrayHelper
Field Summary
public static final  boolean[] TRUE     
public static final  boolean[] FALSE     
public static final  String[] EMPTY_STRING_ARRAY     
public static final  int[] EMPTY_INT_ARRAY     
public static final  boolean[] EMPTY_BOOLEAN_ARRAY     
public static final  Class[] EMPTY_CLASS_ARRAY     
public static final  Object[] EMPTY_OBJECT_ARRAY     
public static final  Type[] EMPTY_TYPE_ARRAY     
Method from org.hibernate.util.ArrayHelper Summary:
addAll,   countTrue,   fillArray,   fillArray,   fillArray,   getBatchSizes,   hash,   hash,   hash,   indexOf,   isAllFalse,   isAllNegative,   isAllTrue,   isEquals,   isEquals,   isEquals,   join,   join,   join,   slice,   slice,   to2DIntArray,   to2DStringArray,   toBooleanArray,   toIntArray,   toList,   toList,   toString,   toStringArray,   toStringArray,   toTypeArray,   typecast
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.util.ArrayHelper Detail:
 public static  void addAll(Collection collection,
    Object[] array) 
 public static int countTrue(boolean[] array) 
 public static String[] fillArray(String value,
    int length) 
 public static int[] fillArray(int value,
    int length) 
 public static LockMode[] fillArray(LockMode lockMode,
    int length) 
 public static int[] getBatchSizes(int maxBatchSize) 
 public static int hash(Object[] array) 
    calculate the array hash (only the first level)
 public static int hash(char[] array) 
    calculate the array hash (only the first level)
 public static int hash(byte[] bytes) 
    calculate the array hash (only the first level)
 public static int indexOf(Object[] array,
    Object object) 
 public static boolean isAllFalse(boolean[] array) 
 public static boolean isAllNegative(int[] array) 
 public static boolean isAllTrue(boolean[] array) 
 public static boolean isEquals(Object[] o1,
    Object[] o2) 
    Compare 2 arrays only at the first level
 public static boolean isEquals(char[] o1,
    char[] o2) 
    Compare 2 arrays only at the first level
 public static boolean isEquals(byte[] b1,
    byte[] b2) 
    Compare 2 arrays only at the first level
 public static String[] join(String[] x,
    String[] y) 
 public static int[] join(int[] x,
    int[] y) 
 public static String[] join(String[] x,
    String[] y,
    boolean[] use) 
 public static String[] slice(String[] strings,
    int begin,
    int length) 
 public static Object[] slice(Object[] objects,
    int begin,
    int length) 
 public static int[][] to2DIntArray(Collection coll) 
 public static String[][] to2DStringArray(Collection coll) 
 public static boolean[] toBooleanArray(Collection coll) 
 public static int[] toIntArray(Collection coll) 
 public static List toList(Object array) 
 public static List toList(Iterator iter) 
 public static String toString(Object[] array) 
 public static String[] toStringArray(Object[] objects) 
 public static String[] toStringArray(Collection coll) 
 public static Type[] toTypeArray(Collection coll) 
 public static Object[] typecast(Object[] array,
    Object[] to)