"depot M315"
This commit is contained in:
23
src/designPattern/grapheX/Sommet.java
Normal file
23
src/designPattern/grapheX/Sommet.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package designPattern.grapheX;
|
||||
|
||||
/**
|
||||
* Classe de sommets, toutes les propri<72>t<EFBFBD>s sont h<>rit<69>es de Identifiable.
|
||||
*
|
||||
* @author FMorain (morain@lix.polytechnique.fr)
|
||||
* @author PChassignet (chassign@lix.polytechnique.fr)
|
||||
* @version 2007.03.21
|
||||
*/
|
||||
|
||||
public class Sommet extends Identifiable {
|
||||
|
||||
public Sommet(String nn) {
|
||||
super(nn);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return identifiant();
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user