Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class ArrayUtil_IW

java.lang.Object
  extended by com.liferay.portal.kernel.util.ArrayUtil_IW

public class ArrayUtil_IW
extends Object


Method Summary
 boolean[] append(boolean[]... arrays)
           
 boolean[] append(boolean[] array, boolean value)
           
 byte[] append(byte[]... arrays)
           
 byte[] append(byte[] array, byte value)
           
 char[] append(char[]... arrays)
           
 char[] append(char[] array, char value)
           
 double[] append(double[]... arrays)
           
 double[] append(double[] array, double value)
           
 float[] append(float[]... arrays)
           
 float[] append(float[] array, float value)
           
 int[] append(int[]... arrays)
           
 int[] append(int[] array, int value)
           
 long[] append(long[]... arrays)
           
 long[] append(long[] array, long value)
           
 short[] append(short[]... arrays)
           
 short[] append(short[] array, short value)
           
<T> T[]
append(T[]... arrays)
           
<T> T[][]
append(T[][] array1, T[] value)
           
<T> T[][]
append(T[][] array1, T[][] array2)
           
<T> T[]
append(T[] array, T value)
           
<T> T[]
append(T[] array1, T[] array2)
           
 boolean[] clone(boolean[] array)
           
 boolean[] clone(boolean[] array, int from, int to)
           
 byte[] clone(byte[] array)
           
 byte[] clone(byte[] array, int from, int to)
           
 char[] clone(char[] array)
           
 char[] clone(char[] array, int from, int to)
           
 double[] clone(double[] array)
           
 double[] clone(double[] array, int from, int to)
           
 float[] clone(float[] array)
           
 float[] clone(float[] array, int from, int to)
           
 int[] clone(int[] array)
           
 int[] clone(int[] array, int from, int to)
           
 long[] clone(long[] array)
           
 long[] clone(long[] array, int from, int to)
           
 short[] clone(short[] array)
           
 short[] clone(short[] array, int from, int to)
           
<T> T[]
clone(T[] array)
           
<T> T[][]
clone(T[][] array)
           
<T> T[][]
clone(T[][] array, int from, int to)
           
<T> T[]
clone(T[] array, int from, int to)
           
 void combine(Object[] array1, Object[] array2, Object[] combinedArray)
           
 boolean contains(boolean[] array, boolean value)
           
 boolean contains(byte[] array, byte value)
           
 boolean contains(char[] array, char value)
           
 boolean contains(double[] array, double value)
           
 boolean contains(float[] array, float value)
           
 boolean contains(int[] array, int value)
           
 boolean contains(long[] array, long value)
           
 boolean contains(Object[] array, Object value)
           
 boolean contains(short[] array, short value)
           
 String[] distinct(String[] array)
           
 String[] distinct(String[] array, Comparator<String> comparator)
           
static ArrayUtil_IW getInstance()
           
 int getLength(Object[] array)
           
 Object getValue(Object[] array, int pos)
           
 boolean[] remove(boolean[] array, boolean value)
           
 byte[] remove(byte[] array, byte value)
           
 char[] remove(char[] array, char value)
           
 double[] remove(double[] array, double value)
           
 int[] remove(int[] array, int value)
           
 long[] remove(long[] array, long value)
           
 short[] remove(short[] array, short value)
           
 String[] remove(String[] array, String value)
           
 String[] removeByPrefix(String[] array, String prefix)
           
 void reverse(String[] array)
           
 boolean[] subset(boolean[] array, int start, int end)
           
 byte[] subset(byte[] array, int start, int end)
           
 char[] subset(char[] array, int start, int end)
           
 double[] subset(double[] array, int start, int end)
           
 float[] subset(float[] array, int start, int end)
           
 int[] subset(int[] array, int start, int end)
           
 long[] subset(long[] array, int start, int end)
           
 short[] subset(short[] array, int start, int end)
           
<T> T[]
subset(T[] array, int start, int end)
           
 Boolean[] toArray(boolean[] array)
           
 boolean[] toArray(Boolean[] array)
           
 Byte[] toArray(byte[] array)
           
 byte[] toArray(Byte[] array)
           
 Character[] toArray(char[] array)
           
 char[] toArray(Character[] array)
           
 Double[] toArray(double[] array)
           
 double[] toArray(Double[] array)
           
 Float[] toArray(float[] array)
           
 float[] toArray(Float[] array)
           
 Integer[] toArray(int[] array)
           
 int[] toArray(Integer[] array)
           
 Long[] toArray(long[] array)
           
 long[] toArray(Long[] array)
           
 Short[] toArray(short[] array)
           
 short[] toArray(Short[] array)
           
 double[] toDoubleArray(Collection<Double> collection)
           
 float[] toFloatArray(Collection<Float> collection)
           
 int[] toIntArray(Collection<Integer> collection)
           
 long[] toLongArray(Collection<Long> collection)
           
 Long[] toLongArray(Object[] array)
           
 short[] toShortArray(Collection<Short> collection)
           
 String toString(Object[] array, String param)
           
 String toString(Object[] array, String param, String delimiter)
           
<T,V> String
toString(T[] list, Accessor<T,V> accessor)
           
<T,V> String
toString(T[] list, Accessor<T,V> accessor, String delimiter)
           
 String[] toStringArray(boolean[] array)
           
 String[] toStringArray(byte[] array)
           
 String[] toStringArray(char[] array)
           
 String[] toStringArray(Date[] array, DateFormat dateFormat)
           
 String[] toStringArray(double[] array)
           
 String[] toStringArray(float[] array)
           
 String[] toStringArray(int[] array)
           
 String[] toStringArray(JSONArray array)
           
 String[] toStringArray(long[] array)
           
 String[] toStringArray(Object[] array)
           
 String[] toStringArray(short[] array)
           
 byte[] unique(byte[] array)
           
 double[] unique(double[] array)
           
 float[] unique(float[] array)
           
 int[] unique(int[] array)
           
 long[] unique(long[] array)
           
 short[] unique(short[] array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ArrayUtil_IW getInstance()

append

public boolean[] append(boolean[]... arrays)

append

public boolean[] append(boolean[] array,
                        boolean value)

append

public byte[] append(byte[]... arrays)

append

public byte[] append(byte[] array,
                     byte value)

append

public char[] append(char[]... arrays)

append

public char[] append(char[] array,
                     char value)

append

public double[] append(double[]... arrays)

append

public double[] append(double[] array,
                       double value)

append

public float[] append(float[]... arrays)

append

public float[] append(float[] array,
                      float value)

append

public int[] append(int[]... arrays)

append

public int[] append(int[] array,
                    int value)

append

public long[] append(long[]... arrays)

append

public long[] append(long[] array,
                     long value)

append

public short[] append(short[]... arrays)

append

public short[] append(short[] array,
                      short value)

append

public <T> T[] append(T[]... arrays)

append

public <T> T[] append(T[] array,
                      T value)

append

public <T> T[] append(T[] array1,
                      T[] array2)

append

public <T> T[][] append(T[][] array1,
                        T[] value)

append

public <T> T[][] append(T[][] array1,
                        T[][] array2)

clone

public boolean[] clone(boolean[] array)

clone

public boolean[] clone(boolean[] array,
                       int from,
                       int to)

clone

public byte[] clone(byte[] array)

clone

public byte[] clone(byte[] array,
                    int from,
                    int to)

clone

public char[] clone(char[] array)

clone

public char[] clone(char[] array,
                    int from,
                    int to)

clone

public double[] clone(double[] array)

clone

public double[] clone(double[] array,
                      int from,
                      int to)

clone

public float[] clone(float[] array)

clone

public float[] clone(float[] array,
                     int from,
                     int to)

clone

public int[] clone(int[] array)

clone

public int[] clone(int[] array,
                   int from,
                   int to)

clone

public long[] clone(long[] array)

clone

public long[] clone(long[] array,
                    int from,
                    int to)

clone

public short[] clone(short[] array)

clone

public short[] clone(short[] array,
                     int from,
                     int to)

clone

public <T> T[] clone(T[] array)

clone

public <T> T[] clone(T[] array,
                     int from,
                     int to)

clone

public <T> T[][] clone(T[][] array)

clone

public <T> T[][] clone(T[][] array,
                       int from,
                       int to)

combine

public void combine(Object[] array1,
                    Object[] array2,
                    Object[] combinedArray)

contains

public boolean contains(boolean[] array,
                        boolean value)

contains

public boolean contains(byte[] array,
                        byte value)

contains

public boolean contains(char[] array,
                        char value)

contains

public boolean contains(double[] array,
                        double value)

contains

public boolean contains(float[] array,
                        float value)

contains

public boolean contains(int[] array,
                        int value)

contains

public boolean contains(long[] array,
                        long value)

contains

public boolean contains(Object[] array,
                        Object value)

contains

public boolean contains(short[] array,
                        short value)

distinct

public String[] distinct(String[] array)

distinct

public String[] distinct(String[] array,
                         Comparator<String> comparator)

getLength

public int getLength(Object[] array)

getValue

public Object getValue(Object[] array,
                       int pos)

remove

public boolean[] remove(boolean[] array,
                        boolean value)

remove

public byte[] remove(byte[] array,
                     byte value)

remove

public char[] remove(char[] array,
                     char value)

remove

public double[] remove(double[] array,
                       double value)

remove

public int[] remove(int[] array,
                    int value)

remove

public long[] remove(long[] array,
                     long value)

remove

public short[] remove(short[] array,
                      short value)

remove

public String[] remove(String[] array,
                       String value)

removeByPrefix

public String[] removeByPrefix(String[] array,
                               String prefix)

reverse

public void reverse(String[] array)

subset

public boolean[] subset(boolean[] array,
                        int start,
                        int end)

subset

public byte[] subset(byte[] array,
                     int start,
                     int end)

subset

public char[] subset(char[] array,
                     int start,
                     int end)

subset

public double[] subset(double[] array,
                       int start,
                       int end)

subset

public float[] subset(float[] array,
                      int start,
                      int end)

subset

public int[] subset(int[] array,
                    int start,
                    int end)

subset

public long[] subset(long[] array,
                     int start,
                     int end)

subset

public short[] subset(short[] array,
                      int start,
                      int end)

subset

public <T> T[] subset(T[] array,
                      int start,
                      int end)

toArray

public Boolean[] toArray(boolean[] array)

toArray

public boolean[] toArray(Boolean[] array)

toArray

public Byte[] toArray(byte[] array)

toArray

public byte[] toArray(Byte[] array)

toArray

public Character[] toArray(char[] array)

toArray

public char[] toArray(Character[] array)

toArray

public Double[] toArray(double[] array)

toArray

public double[] toArray(Double[] array)

toArray

public Float[] toArray(float[] array)

toArray

public float[] toArray(Float[] array)

toArray

public Integer[] toArray(int[] array)

toArray

public int[] toArray(Integer[] array)

toArray

public Long[] toArray(long[] array)

toArray

public long[] toArray(Long[] array)

toArray

public Short[] toArray(short[] array)

toArray

public short[] toArray(Short[] array)

toDoubleArray

public double[] toDoubleArray(Collection<Double> collection)

toFloatArray

public float[] toFloatArray(Collection<Float> collection)

toIntArray

public int[] toIntArray(Collection<Integer> collection)

toLongArray

public long[] toLongArray(Collection<Long> collection)

toLongArray

public Long[] toLongArray(Object[] array)

toShortArray

public short[] toShortArray(Collection<Short> collection)

toString

public String toString(Object[] array,
                       String param)

toString

public String toString(Object[] array,
                       String param,
                       String delimiter)

toString

public <T,V> String toString(T[] list,
                             Accessor<T,V> accessor)

toString

public <T,V> String toString(T[] list,
                             Accessor<T,V> accessor,
                             String delimiter)

toStringArray

public String[] toStringArray(boolean[] array)

toStringArray

public String[] toStringArray(byte[] array)

toStringArray

public String[] toStringArray(char[] array)

toStringArray

public String[] toStringArray(Date[] array,
                              DateFormat dateFormat)

toStringArray

public String[] toStringArray(double[] array)

toStringArray

public String[] toStringArray(float[] array)

toStringArray

public String[] toStringArray(int[] array)

toStringArray

public String[] toStringArray(JSONArray array)

toStringArray

public String[] toStringArray(long[] array)

toStringArray

public String[] toStringArray(Object[] array)

toStringArray

public String[] toStringArray(short[] array)

unique

public byte[] unique(byte[] array)

unique

public double[] unique(double[] array)

unique

public float[] unique(float[] array)

unique

public int[] unique(int[] array)

unique

public long[] unique(long[] array)

unique

public short[] unique(short[] array)

Liferay 6.1.2-ce-ga3