Archives de catégorie : equals

Overriding Object’s equals() method

  Plan The equals(Object) method : principles and simple example Brief definition of the equals() method  Default implementation of the equals() method and when override it The general contract to respect when we override the equals() method A simple example of … Continuer la lecture

Publié dans equals, java, Object, symmetry, transitivity | Laisser un commentaire