class ClusterUnitDatabase.DatabaseClusterUnit extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
end |
(package private) int |
next |
(package private) int |
phone |
(package private) int |
prev |
(package private) int |
start |
(package private) int |
type |
Constructor and Description |
---|
DatabaseClusterUnit(ByteBuffer bb)
Creates a unit by reading it from the given byte buffer.
|
DatabaseClusterUnit(DataInputStream is)
Creates a unit by reading it from the given input stream.
|
DatabaseClusterUnit(int type,
int phone,
int start,
int end,
int prev,
int next)
Constructs a unit.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
dumpBinary(DataOutputStream os)
Dumps this unit to the given output stream.
|
(package private) String |
getName()
Returns the name of the unit.
|
DatabaseClusterUnit(int type, int phone, int start, int end, int prev, int next)
type
- the name of the unitphone
- the name of the unitstart
- the starting frameend
- the ending frameprev
- the previous indexnext
- the next indexDatabaseClusterUnit(ByteBuffer bb) throws IOException
bb
- source of the DatabaseClusterUnit dataIOException
- if an IO error occursDatabaseClusterUnit(DataInputStream is) throws IOException
is
- source of the DatabaseClusterUnit dataIOException
- if an IO error occursvoid dumpBinary(DataOutputStream os) throws IOException
os
- the output streamIOException
- if an error occurs.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses