List of usage examples for org.apache.commons.lang ArrayUtils toObject
public static Boolean[] toObject(boolean[] array)
Converts an array of primitive booleans to objects.
From source file:org.op4j.Op.java
/** * <p>//from w ww . j a va 2s. co m * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Float[], Float> on(final float[] target) { return onArrayOf(Types.FLOAT, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>//from w w w. j a v a2 s .co m * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Double[], Double> on(final double[] target) { return onArrayOf(Types.DOUBLE, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/*w ww . ja va2 s . c o m*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Character[], Character> on(final char[] target) { return onArrayOf(Types.CHARACTER, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/*from w w w .j av a 2s.co m*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Boolean[], Boolean> on(final boolean[] target) { return onArrayOf(Types.BOOLEAN, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>//from w w w . java2 s . c o m * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Byte[], Byte> onArray(final byte[] target) { return onArrayOf(Types.BYTE, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/*from w w w . ja v a 2 s. c o m*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Short[], Short> onArray(final short[] target) { return onArrayOf(Types.SHORT, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>// w w w . ja v a 2 s. c o m * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Integer[], Integer> onArray(final int[] target) { return onArrayOf(Types.INTEGER, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/*w ww . ja v a 2 s. c om*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Long[], Long> onArray(final long[] target) { return onArrayOf(Types.LONG, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/*from www . j av a2s . co m*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Float[], Float> onArray(final float[] target) { return onArrayOf(Types.FLOAT, ArrayUtils.toObject(target)); }
From source file:org.op4j.Op.java
/** * <p>/* www. j ava2 s . c om*/ * Creates an <i>operation expression</i> on the specified target object. * </p> * * @param target the target object on which the expression will execute * @return an operator, ready for chaining */ public static <T> Level0ArrayOperator<Double[], Double> onArray(final double[] target) { return onArrayOf(Types.DOUBLE, ArrayUtils.toObject(target)); }