Lines Matching refs:guard
54 private Guard guard; // the guard
57 * Constructs a GuardedObject using the specified object and guard.
63 * @param guard the Guard object that guards access to the object.
66 public GuardedObject(Object object, Guard guard)
68 this.guard = guard;
74 * to the guarded object is denied by the guard.
84 if (guard != null)
85 guard.checkGuard(object);
92 * We check the guard if there is one.
97 if (guard != null)
98 guard.checkGuard(object);