Relative Content

Tag Archive for objectboxobjectbox-androidobjectbox-java

Does Objectbox support resizable containers such as an ArrayList?

I am in the process of moving from Realm to ObjectBox and am working on updating my model classes. I have several instances where the Realm model class uses RealmList<Double> or RealmList<Long> for recording lists of values. The RealmList is a resizable container that implements List so it works well for storing data of unknown sizes. The ObjectBox documentation states that it supports arrays such as double[] and long[]. It also states that it supports List<String> which suggests that it might support a List<> of other types but it’s not explicitly stated.