DatabaseClusterUnit(DataInputStream is) throws IOException {
  this.type=is.readInt();
  this.phone=is.readInt();
  this.start=is.readInt();
  this.end=is.readInt();
  this.prev=is.readInt();
  this.next=is.readInt();
}

DatabaseClusterUnit ( DataInputStream is ) throws IOException { this . type = is . readInt ( ) ; this . phone = is . readInt ( ) ; this . start = is . readInt ( ) ; this . end = is . readInt ( ) ; this . prev = is . readInt ( ) ; this . next = is . readInt ( ) ; }
creates a unit by reading it from the given input stream .
