public static class WithResources.None extends java.lang.Object implements WithResources
WithResources.None
Modifier and Type | Method and Description |
---|---|
Closeable |
get()
Instantiate any necessary resources
|
boolean |
isNoOp()
A convenience method to avoid unnecessary work.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, and, none
public Closeable get()
WithResources
get
in interface WithResources
public boolean isNoOp()
WithResources
isNoOp
in interface WithResources
WithResources.get()
is invoked, nor when Closeable.close()
is invoked on the object it returns.Copyright © 2009-2022 The Apache Software Foundation