public class ProximitiesFileOut extends Object
| Constructor and Description |
|---|
ProximitiesFileOut(String filename)
Constructor for the ProximitiesFileOut object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the output stream and mark for garbage collection.
|
long |
save(Proximities p)
Write the given Proximities to this object's output stream.
|
public ProximitiesFileOut(String filename) throws IOException
filename - the name of the fileIOExceptionpublic long save(Proximities p) throws IOException
p Proximities
starts.p - the Proximities to writeIOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2016 Egothor. All Rights Reserved.