List of usage examples for java.io ObjectOutput writeLong
void writeLong(long v) throws IOException;
long
value, which is comprised of eight bytes, to the output stream. From source file:de.pro.dbw.file.tipofthenight.api.TipOfTheNightModel.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getGenerationTime()); out.writeObject(this.getText()); out.writeObject(this.getTitle()); }
From source file:com.github.naoghuman.cm.model.matrix.MatrixModel.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getGenerationTime()); out.writeObject(StringEscapeUtils.escapeHtml4(this.getTitle())); out.writeObject(StringEscapeUtils.escapeHtml4(this.getDescription())); }
From source file:com.github.naoghuman.cm.model.notes.NotesModel.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getMatrixId()); out.writeLong(this.getGenerationTime()); out.writeObject(StringEscapeUtils.escapeHtml4(this.getNotes())); }
From source file:com.splicemachine.derby.stream.compaction.SparkCompactionFunction.java
@Override public void writeExternal(ObjectOutput out) throws IOException { byte[] hriBytes = hri.toByteArray(); super.writeExternal(out); out.writeLong(smallestReadPoint); out.writeInt(namespace.length);// ww w .j ava2 s. c om out.write(namespace); out.writeInt(tableName.length); out.write(tableName); out.writeInt(hriBytes.length); out.write(hriBytes); out.writeInt(storeColumn.length); out.write(storeColumn); }
From source file:com.github.naoghuman.abclist.model.ExerciseTerm.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getExerciseId()); out.writeLong(this.getTermId()); out.writeBoolean(this.isMarkAsWrong()); }
From source file:com.github.naoghuman.cm.model.glossary.GlossaryModel.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getGenerationTime()); out.writeObject(StringEscapeUtils.escapeHtml4(this.getTitle())); out.writeObject(StringEscapeUtils.escapeHtml4(this.getDescription())); out.writeObject(StringEscapeUtils.escapeHtml4(this.getNotes())); }
From source file:net.openhft.chronicle.wire.benchmarks.Data.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeDouble(price);/* w ww . ja v a2s . c o m*/ out.writeLong(longInt); out.writeInt(smallInt); out.writeBoolean(flag); out.writeObject(side); out.writeObject(getText()); }
From source file:com.aol.advertising.qiao.util.cache.PersistentValueWrapper.java
@Override public void writeExternal(ObjectOutput out) throws IOException { //System.out.println("<writeExternal> " + this.toString()); //TODO: remove super.writeExternal(out); out.writeLong(this.expirationTime); out.writeObject(key);/*from w w w . j av a2 s . c om*/ }
From source file:com.github.naoghuman.cm.model.category.CategoryModel.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getMatrixId()); out.writeLong(this.getGenerationTime()); out.writeObject(StringEscapeUtils.escapeHtml4(this.getTitle())); out.writeObject(StringEscapeUtils.escapeHtml4(this.getDescription())); }
From source file:com.github.naoghuman.abclist.model.Term.java
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeLong(this.getId()); out.writeLong(this.getGenerationTime()); out.writeObject(this.getDescription()); out.writeObject(this.getTitle()); }