Lines Matching refs:object
24 * {@code GuardedObject} controls access to an object, by checking all requests
25 * for the object with a {@code Guard}.
31 private final Object object;
39 * @param object
45 public GuardedObject(Object object, Guard guard) {
46 this.object = object;
55 * @return the guarded object.
57 * if access is not granted to the guarded object.
61 guard.checkGuard(object);
63 return object;
72 guard.checkGuard(object);