StructureDemopublic class StructureDemo extends Object Dummy source of Objects, for structure demos. |
Fields Summary |
---|
private final int | MAXThe max number of Objects to return | int | n |
Constructors Summary |
---|
StructureDemo(int m)Construct a StructureDemo
MAX = m;
|
Methods Summary |
---|
public java.lang.Object | getDate()
if (n++ > MAX)
return null;
return Calendar.getInstance();
|
|