/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }
/** * Factory to create the identity predicate. * * @param object the object to compare to * @return the predicate * @throws IllegalArgumentException if the predicate is null */ public static Predicate getInstance(Object object) { if (object == null) { return NullPredicate.INSTANCE; } return new IdentityPredicate(object); }