站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

ArrayHelper (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.util
Class ArrayHelper

java.lang.Object
  extended bynet.sf.hibernate.util.ArrayHelper

public final class ArrayHelper
extends Object


Field Summary
static Class[] EMPTY_CLASS_ARRAY
           
static int[] EMPTY_INT_ARRAY
           
static Object[] EMPTY_OBJECT_ARRAY
           
static String[] EMPTY_STRING_ARRAY
           
static Type[] EMPTY_TYPE_ARRAY
           
 
Method Summary
static void addAll(Collection collection, Object[] array)
           
static String asString(Object[] os)
           
static String[] fillArray(String str, int length)
           
static boolean isAllNegative(int[] array)
           
static int[] join(int[] x, int[] y)
           
static String[] join(String[] x, String[] y)
           
static Object[] slice(Object[] objects, int begin, int length)
           
static String[] slice(String[] strings, int begin, int length)
           
static int[] toIntArray(Collection coll)
           
static List toList(Iterator iter)
           
static List toList(Object array)
           
static String[] toStringArray(Collection coll)
           
static String[] toStringArray(Object[] objects)
           
static Object[] typecast(Object[] array, Object[] to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_STRING_ARRAY

public static final String[] EMPTY_STRING_ARRAY

EMPTY_CLASS_ARRAY

public static final Class[] EMPTY_CLASS_ARRAY

EMPTY_OBJECT_ARRAY

public static final Object[] EMPTY_OBJECT_ARRAY

EMPTY_TYPE_ARRAY

public static final Type[] EMPTY_TYPE_ARRAY

EMPTY_INT_ARRAY

public static int[] EMPTY_INT_ARRAY
Method Detail

toStringArray

public static String[] toStringArray(Object[] objects)

fillArray

public static String[] fillArray(String str,
                                 int length)

toStringArray

public static String[] toStringArray(Collection coll)

toIntArray

public static int[] toIntArray(Collection coll)

typecast

public static Object[] typecast(Object[] array,
                                Object[] to)

toList

public static List toList(Object array)

slice

public static String[] slice(String[] strings,
                             int begin,
                             int length)

slice

public static Object[] slice(Object[] objects,
                             int begin,
                             int length)

toList

public static List toList(Iterator iter)

join

public static String[] join(String[] x,
                            String[] y)

join

public static int[] join(int[] x,
                         int[] y)

asString

public static String asString(Object[] os)

isAllNegative

public static boolean isAllNegative(int[] array)

addAll

public static void addAll(Collection collection,
                          Object[] array)