New Features and Bugfixes.
- Fixed: ObjectArrayList.of was causing crashes because of a Poor implementation. - Added: Unsorted HashMaps/Sets now throw Concurrent exceptions if they were modified during a rehash. - Added: Array/Collection version of enqueue and enqueueFirst to PriorityQueues. - Added: fillBuffer function into PrimitiveLists which allow to optimize JavaNio buffers if needed.
This commit is contained in:
@@ -22,6 +22,13 @@ public class ObjectArrayListTest
|
||||
testCastable(ObjectArrayList.wrap("Test", "Testing", "Testing stuff"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testEmptyCreation()
|
||||
{
|
||||
ObjectArrayList<String> test = ObjectArrayList.of(String.class);
|
||||
Assert.assertTrue(test.isCastable());
|
||||
}
|
||||
|
||||
public <T> void testCastable(IObjectArray<T> castable, boolean result)
|
||||
{
|
||||
Assert.assertTrue(castable.isCastable() == result);
|
||||
|
||||
Reference in New Issue
Block a user