public Results(Query query, ObjectStore os, int sequence) { if (query == null) { throw new NullPointerException("query must not be null"); }  if (os == null) { throw new NullPointerException("os must not be null"); }  this.query = query; this.os = os; this.sequence = sequence; }
protected Results() { }
     public Results(Query query, ObjectStore os, int sequence) {         if (query == null) {             throw new NullPointerException("query must not be null");         }         if (os == null) {             throw new NullPointerException("os must not be null");         }         this.query = query;         this.os = os;         this.sequence = sequence;     }