Needing to build some dynamic items today and threw together: LinkedHashMap, dynamic int Array, and an ArrayList in Java. Perhaps they might help. The first class is TestHashMap.java code:

Here is the TestHashMap.java output:

Here is the TestDynamicIntArray.java class code:

Here is the TestDynamicIntArray class output:

Finally, here is the TestArrayList.java class code:

And the TestArrayList output:

Here is the TestHashMap.java output:

Here is the TestDynamicIntArray.java class code:

Here is the TestDynamicIntArray class output:

Finally, here is the TestArrayList.java class code:

And the TestArrayList output:

No comments:
Post a Comment