// Lettre java

public class Lettre {
   private char lettre;

   Lettre(char a) {
      this.lettre = a;
   }

   public String toString() {
      return ""+this.lettre;
   }

   public char getLettre() {
      return this.lettre;
   }

   public boolean equals(Lettre a) {
      return this.lettre == a.getLettre();
   }

   public int hashCode() {
      return (int)this.lettre;
   }
}