class ObjectSet implements CloseableIterable<O>, Closeable {

    public static <O> ObjectSet<O> fromObjectStore(final ObjectStore<O> objectStore, final QueryOptions queryOptions) {
        return new ObjectStoreAsObjectSet<O>(objectStore, queryOptions);
    }

}