Bruce Eckel 49edcc8b17 reorg
2015-06-15 17:47:35 -07:00

13 lines
296 B
Java

//: generics/coffee/Coffee.java
// ©2015 MindView LLC: see Copyright.txt
package generics.coffee;
public class Coffee {
private static long counter = 0;
private final long id = counter++;
@Override
public String toString() {
return getClass().getSimpleName() + " " + id;
}
} ///:~