コード例 #1
0
 public static void assertCallbackArgs() {
   assertEquals("putAllCallbackArg", putAllevent1.getCallbackArgument());
   assertEquals("putAllCallbackArg", putAllevent2.getCallbackArgument());
   assertEquals("putAllCallbackArg", putAllevent3.getCallbackArgument());
   assertEquals("putAllCallbackArg", putAllevent4.getCallbackArgument());
   assertEquals("putAllCallbackArg", putAllevent5.getCallbackArgument());
 }
コード例 #2
0
 public EventWrapper(EntryEvent ee, int type) {
   this.event = ee;
   this.key = ee.getKey();
   this.val = ee.getNewValue();
   this.arg = ee.getCallbackArgument();
   this.type = type;
 }