303304305306307308309
* @param value * the given value. * @return <code>0</code>. */ public static char eq(char value) { return reportMatcher(new Equals(value)).returnChar(); }
316317318319320321322
* @param value * the given value. * @return <code>0</code>. */ public static double eq(double value) { return reportMatcher(new Equals(value)).returnZero(); }
329330331332333334335
* @param value * the given value. * @return <code>0</code>. */ public static float eq(float value) { return reportMatcher(new Equals(value)).returnZero(); }
342343344345346347348
* @param value * the given value. * @return <code>0</code>. */ public static int eq(int value) { return reportMatcher(new Equals(value)).returnZero(); }
355356357358359360361
* @param value * the given value. * @return <code>0</code>. */ public static long eq(long value) { return reportMatcher(new Equals(value)).returnZero(); }
368369370371372373374
* @param value * the given value. * @return <code>0</code>. */ public static short eq(short value) { return reportMatcher(new Equals(value)).returnZero(); }
381382383384385386387
* @param value * the given value. * @return <code>null</code>. */ public static <T> T eq(T value) { return reportMatcher(new Equals(value)).<T>returnNull(); }
171172173174175176177178179180
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; }
146147148149150151152153154155
144145146147148149150151152153