public boolean containsAndNot(final EntityIdentifiable entity, final EntityIdentifiable entity2) { assert Assert.notNull(entity); assert Assert.notNull(entity2); return this.containsAndNot(entity.getId(), entity2.getId()); }
public boolean contains(final EntityIdentifiable entity) { assert Assert.notNull(entity); return this.contains(entity.getId()); }