public override void Write(Record record, PageCursor cursor) { PageCountRecord r = ( PageCountRecord )record; int shorts = RecordSize / 2; for (int i = 0; i < shorts; i++) { cursor.PutShort(r.RecordId); } }
public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } PageCountRecord that = ( PageCountRecord )o; return(Arrays.Equals(Bytes, that.Bytes)); }