2015-04-20 15:36:01 -07:00
|
|
|
|
//: containers/Groundhog.java
|
2015-05-29 14:18:51 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-04-20 15:36:01 -07:00
|
|
|
|
// Looks plausible, but doesn't work as a HashMap key.
|
|
|
|
|
|
|
|
|
|
public class Groundhog {
|
|
|
|
|
protected int number;
|
|
|
|
|
public Groundhog(int n) { number = n; }
|
2015-05-05 11:20:13 -07:00
|
|
|
|
@Override
|
2015-04-20 15:36:01 -07:00
|
|
|
|
public String toString() {
|
|
|
|
|
return "Groundhog #" + number;
|
|
|
|
|
}
|
|
|
|
|
} ///:~
|