For class
@FFITypeAlias("arrow::Result")
@FFIGen(templates = @CXXTemplate(cxx = "int", java = "Integer"))
@CXXSuperTemplate(
type = "arrow.EqualityComparable",
template = @CXXTemplate(java = "arrow.Result<T>", cxx = "arrow::Result<T>")
)
@CXXHead(
system = "arrow/result.h"
)
public interface Result<T> extends EqualityComparable<Result<T>>, CXXPointer {
}
and class
@FFITypeAlias("arrow::util::EqualityComparable")
@FFIGen
@CXXHead(
system = "arrow/util/compare.h"
)
public interface EqualityComparable<T> extends CXXPointer
{
}
The CXXSuperTemplate doesn't work if they are placed in different java files, but works if been placed in the the file.
For class
and class
The
CXXSuperTemplatedoesn't work if they are placed in different java files, but works if been placed in the the file.