Package com.google.common.jimfs
Class AbstractWatchService.Event<T>
- java.lang.Object
-
- com.google.common.jimfs.AbstractWatchService.Event<T>
-
- All Implemented Interfaces:
java.nio.file.WatchEvent<T>
- Enclosing class:
- AbstractWatchService
static final class AbstractWatchService.Event<T> extends java.lang.Object implements java.nio.file.WatchEvent<T>
A basic implementation ofWatchEvent
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable T
context()
int
count()
boolean
equals(java.lang.Object obj)
int
hashCode()
java.nio.file.WatchEvent.Kind<T>
kind()
java.lang.String
toString()
-
-
-
Method Detail
-
kind
public java.nio.file.WatchEvent.Kind<T> kind()
- Specified by:
kind
in interfacejava.nio.file.WatchEvent<T>
-
count
public int count()
- Specified by:
count
in interfacejava.nio.file.WatchEvent<T>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-