package generics;

public class Generics {

	public enum Test {
		COMPARE, ARRAY
	}

	public Generics(Test t) {
		switch (t) {
		case COMPARE:
			runCompareTest();
			break;
		case ARRAY:
			runArrayTest();
			break;
		}
	}

	private void runArrayTest() {
		JKArray<JKElement> jk = new JKArray<JKElement>();
		jk.add(new JKElement("hoi", 1));
		jk.add(new JKElement("doei", 2));

		System.out.println("Elements: " + jk.size());
		System.out.println("Sum num: " + jk.numsize());
		System.out.println("String size: " + jk.stringsize());
		System.out.println("String: " + jk.getStrings());

	}

	private void runCompareTest() {
		// TODO Auto-generated method stub

	}
}
