Returns the results of querying for all objects of a specific type.
The result reflects the state of the realm at invocation time, so the results do not change when the realm updates. You can access these results from any thread.
The result of the query as of the time of invoking this method.
the class of the objects to query for.