问题描述
我具有以下自定义属性类型:
public class EmbeddedEntityIterable implements Serializable,ByteIterable {
@NotNull
@Override
public ByteIterable subIterable(int offset,int length) {
return null;
}
@Override
public int compareTo(@NotNull ByteIterable o) {
return 0;
}
}
Xodus如何使用subIterable
和compareTo
?仅在@NotNull
方法上返回NULL值是否安全?这个EmbeddedEntityIterable
本质上是一个Map<String,Comparable>
,它也是一个非常嵌套的JSON对象的表示。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)