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 fileIOException
public long save(Proximities p) throws IOException
p
Proximities
starts.p
- the Proximities to writeIOException
public void close() throws IOException
IOException
Copyright © 2016 Egothor. All Rights Reserved.