Need help with class design. I've got a DataType Class and I need help on making a Collection of this class. Kinda new to Java to please understand. Thanks.
This is DataType class
Now I want to make a collection of that class. Something likeVB Code:
import java.util.*; public class DataType{ String sqltype, javatype, csharptype, vbtype; public DataType(){ } public DataType(String sqltype, String javatype, String csharptype, String vbtype){ this.sqltype=sqltype; this.javatype=javatype; this.csharptype=csharptype; this.vbtype=vbtype; } . . . }
where I can return something of type DataType and a public function add for adding of type DataType. Please help. Any recommendations and links for tutorials are greatly appreciated. Thank you.VB Code:
import java.util.*; public class DataTypes extends [i]IDontKnow[/i]{ public DataTypes(){} }




Reply With Quote