170171172173174175176177178179
List<Matcher> matchers = new ArrayList<Matcher>(arguments.length); for (Object arg : arguments) { if (arg != null && arg.getClass().isArray()) { matchers.add(new ArrayEquals(arg)); } else { matchers.add(new Equals(arg)); } } return matchers; }
259260261262263264265
* @param value * the given value. * @return <code>0</code>. */ public static boolean eq(boolean value) { return reportMatcher(new Equals(value)).returnFalse(); }
272273274275276277278
* @param value * the given value. * @return <code>0</code>. */ public static byte eq(byte value) { return reportMatcher(new Equals(value)).returnZero(); }
285286287288289290291
* @param value * the given value. * @return <code>0</code>. */ public static char eq(char value) { return reportMatcher(new Equals(value)).returnChar(); }
298299300301302303304
* @param value * the given value. * @return <code>0</code>. */ public static double eq(double value) { return reportMatcher(new Equals(value)).returnZero(); }
311312313314315316317
* @param value * the given value. * @return <code>0</code>. */ public static float eq(float value) { return reportMatcher(new Equals(value)).returnZero(); }
324325326327328329330
* @param value * the given value. * @return <code>0</code>. */ public static int eq(int value) { return reportMatcher(new Equals(value)).returnZero(); }
337338339340341342343
* @param value * the given value. * @return <code>0</code>. */ public static long eq(long value) { return reportMatcher(new Equals(value)).returnZero(); }
350351352353354355356
* @param value * the given value. * @return <code>0</code>. */ public static short eq(short value) { return reportMatcher(new Equals(value)).returnZero(); }
363364365366367368369
* @param value * the given value. * @return <code>null</code>. */ public static <T> T eq(T value) { return reportMatcher(new Equals(value)).<T>returnNull(); }