org.seasar.framework.util
クラス ArrayUtil

java.lang.Object
  拡張org.seasar.framework.util.ArrayUtil

public class ArrayUtil
extends Object

作成者:
higa

メソッドの概要
static Object[] add(Object[] array, Object obj)
           
static Object[] add(Object[] a, Object[] b)
           
static boolean contains(char[] array, char ch)
           
static boolean contains(Object[] array, Object obj)
           
static boolean equalsIgnoreSequence(Object[] array1, Object[] array2)
           
static int indexOf(char[] array, char ch)
           
static int indexOf(Object[] array, Object obj)
           
static boolean isEmpty(Object[] arrays)
           
static Object[] remove(Object[] array, Object obj)
           
static void setArrayValue(Object array, Class valueType, Object value, int index)
           
static Object[] toObjectArray(Object obj)
           
static String toString(Object[] array)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

add

public static Object[] add(Object[] array,
                           Object obj)

add

public static Object[] add(Object[] a,
                           Object[] b)

indexOf

public static int indexOf(Object[] array,
                          Object obj)

indexOf

public static int indexOf(char[] array,
                          char ch)

remove

public static Object[] remove(Object[] array,
                              Object obj)

isEmpty

public static boolean isEmpty(Object[] arrays)

contains

public static boolean contains(Object[] array,
                               Object obj)

contains

public static boolean contains(char[] array,
                               char ch)

equalsIgnoreSequence

public static boolean equalsIgnoreSequence(Object[] array1,
                                           Object[] array2)

toString

public static String toString(Object[] array)

setArrayValue

public static void setArrayValue(Object array,
                                 Class valueType,
                                 Object value,
                                 int index)

toObjectArray

public static Object[] toObjectArray(Object obj)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.