364365366367368369370
* @param value * the given value. * @return <code>0</code>. */ public static byte eq(byte value) { return reportMatcher(new Equals(value)).returnZero(); }
377378379380381382383
* @param value * the given value. * @return <code>0</code>. */ public static char eq(char value) { return reportMatcher(new Equals(value)).returnChar(); }
390391392393394395396
* @param value * the given value. * @return <code>0</code>. */ public static double eq(double value) { return reportMatcher(new Equals(value)).returnZero(); }
403404405406407408409
* @param value * the given value. * @return <code>0</code>. */ public static float eq(float value) { return reportMatcher(new Equals(value)).returnZero(); }
416417418419420421422
* @param value * the given value. * @return <code>0</code>. */ public static int eq(int value) { return reportMatcher(new Equals(value)).returnZero(); }
429430431432433434435
* @param value * the given value. * @return <code>0</code>. */ public static long eq(long value) { return reportMatcher(new Equals(value)).returnZero(); }
442443444445446447448
* @param value * the given value. * @return <code>0</code>. */ public static short eq(short value) { return reportMatcher(new Equals(value)).returnZero(); }
455456457458459460461
* @param value * the given value. * @return <code>null</code>. */ public static <T> T eq(T value) { return reportMatcher(new Equals(value)).<T>returnNull(); }
142143144145146147148149150151
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; }
154155156157158159160161162163