Code example for LinkedList

Methods: toArray

0
//        System.out.println("  Actual: " + actual); 
//        String expected = Arrays.deepToString(test.getExpectedLockEvents()); 
//        System.out.println("Expected: " + expected); 
 
        assertEquals(test.getExpectedLockEvents(),
                     mEvents.toArray());
    } 
 
    private SynchronizationTestIfc transformAsSynchronizationTest(Class clazz)
    throws Exception { 
        Class c = mClassLoader.transform(clazz);
        return (SynchronizationTestIfc) c.newInstance();
    } 
 
    public void onLockEvent(int lockId,
                            int lockingContextId,
                            int lastTakenLockId,
                            int lastTakenLockingContextId,
                            long threadId)
    throws IOException { 
        ContextMemory cm = mContextMemory;