Lines Matching refs:context
65 // maps a context to the last event for the context (iff the last queued
66 // event for the context is an ENTRY_MODIFY event).
105 final void signalEvent(WatchEvent.Kind<?> kind, Object context) {
115 Objects.equals(context, prev.context()))))
121 // if this is a modify event and the last entry for the context
125 WatchEvent<?> ev = lastModifyEvents.get(context);
134 lastModifyEvents.remove(context);
143 context = null;
149 new Event<Object>((WatchEvent.Kind<Object>)kind, context);
151 lastModifyEvents.put(context, ev);
192 private final T context;
197 Event(WatchEvent.Kind<T> type, T context) {
199 this.context = context;
209 public T context() {
210 return context;