| <<O>> Difference Topic CodigoFrameworkJogador (r1.1 - 08 Jul 2005 - NeyZunino) |
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
package fwjogos;
public class Jogador {
private String nome;
public Jogador(String nome) {
this.nome = nome;
}
public String getNome(){
return nome;
}
public boolean equals(Object o){
return nome.equals(o.toString());
}
public String toString(){
return nome;
}
}
| |||||||
| Topic CodigoFrameworkJogador . { View | Diffs | r1.1 | More } |
|
Revision - Revision r1.1 - 08 Jul 2005 - 12:05 - NeyZunino |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding XP? Send feedback. |