public class River
extends Object
implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this resource, relinquishing any underlying resources.
|
RiverInputStream |
getInputStream()
Return this River's InputStream.
|
RiverOutputStream |
getOutputStream()
Return this River's RiverOutputStream.
|
String |
toString()
Provide debug-readable output version of this object.
|
public final short ID
public final Lake LAKE
public void close()
close
in interface AutoCloseable
public RiverInputStream getInputStream()
public RiverOutputStream getOutputStream()
public String toString()
toString
in class Object