Query in objectdb
问题 I have to implement a query in objectdb and have very little idea. The problem is to write a query which Returns the collection of all laptops each of which has at least one other laptop preinstalled with the same processor. My Laptop class is public class Laptop { String modelName; // key int price; // in dollars boolean hasHDScreen; // has a HD Screen ? int hardDriveCapacity; // in GB Processor processor; // the preinstalled processor Memory memory; // the preinstalled memory Company madeBy