@Override public void methodWithListNullableDataObjectHandler(Handler<List<@Nullable TestDataObject>> handler) { handler.handle(methodWithListNullableDataObjectReturn()); }
@Override public void methodWithListNullableDataObjectHandlerAsyncResult(Handler<AsyncResult<List<@Nullable TestDataObject>>> handler) { handler.handle(Future.succeededFuture(methodWithListNullableDataObjectReturn())); }
@Override public void methodWithListNullableDataObjectHandlerAsyncResult(Handler<AsyncResult<List<@Nullable TestDataObject>>> handler) { handler.handle(Future.succeededFuture(methodWithListNullableDataObjectReturn())); }
@Override public void methodWithListNullableDataObjectHandler(Handler<List<@Nullable TestDataObject>> handler) { handler.handle(methodWithListNullableDataObjectReturn()); }
@Override public void methodWithListNullableDataObjectHandler(Handler<List<@Nullable TestDataObject>> handler) { handler.handle(methodWithListNullableDataObjectReturn()); }
@Override public void methodWithListNullableDataObjectHandlerAsyncResult(Handler<AsyncResult<List<@Nullable TestDataObject>>> handler) { handler.handle(Future.succeededFuture(methodWithListNullableDataObjectReturn())); }
@Override public void methodWithListNullableDataObjectHandler(Handler<List<@Nullable TestDataObject>> handler) { handler.handle(methodWithListNullableDataObjectReturn()); }
@Override public void methodWithListNullableDataObjectHandlerAsyncResult(Handler<AsyncResult<List<@Nullable TestDataObject>>> handler) { handler.handle(Future.succeededFuture(methodWithListNullableDataObjectReturn())); }
@Override public void methodWithListNullableDataObjectHandlerAsyncResult(Handler<AsyncResult<List<@Nullable TestDataObject>>> handler) { handler.handle(Future.succeededFuture(methodWithListNullableDataObjectReturn())); }
@Override public void methodWithListNullableDataObjectHandler(Handler<List<@Nullable TestDataObject>> handler) { handler.handle(methodWithListNullableDataObjectReturn()); }
@Override public void methodWithListNullableDataObjectParam(List<@Nullable TestDataObject> param) { Function<@Nullable TestDataObject, JsonObject> conv = obj -> (obj != null) ? obj.toJson() : null; assertEquals(param.stream().map(conv).collect(Collectors.toList()), methodWithListNullableDataObjectReturn().stream().map(conv).collect(Collectors.toList())); }
@Override public void methodWithListNullableDataObjectParam(List<@Nullable TestDataObject> param) { Function<@Nullable TestDataObject, JsonObject> conv = obj -> (obj != null) ? obj.toJson() : null; assertEquals(param.stream().map(conv).collect(Collectors.toList()), methodWithListNullableDataObjectReturn().stream().map(conv).collect(Collectors.toList())); }
@Override public void methodWithListNullableDataObjectParam(List<@Nullable TestDataObject> param) { Function<@Nullable TestDataObject, JsonObject> conv = obj -> (obj != null) ? obj.toJson() : null; assertEquals(param.stream().map(conv).collect(Collectors.toList()), methodWithListNullableDataObjectReturn().stream().map(conv).collect(Collectors.toList())); }
@Override public void methodWithListNullableDataObjectParam(List<@Nullable TestDataObject> param) { Function<@Nullable TestDataObject, JsonObject> conv = obj -> (obj != null) ? obj.toJson() : null; assertEquals(param.stream().map(conv).collect(Collectors.toList()), methodWithListNullableDataObjectReturn().stream().map(conv).collect(Collectors.toList())); }
@Override public void methodWithListNullableDataObjectParam(List<@Nullable TestDataObject> param) { Function<@Nullable TestDataObject, JsonObject> conv = obj -> (obj != null) ? obj.toJson() : null; assertEquals(param.stream().map(conv).collect(Collectors.toList()), methodWithListNullableDataObjectReturn().stream().map(conv).collect(Collectors.toList())); }