@Override public void readFrom(StreamInput in) throws IOException { text = in.readText(); offset = in.readVInt(); length = in.readVInt(); int suggestedWords = in.readVInt(); options = new ArrayList<>(suggestedWords); for (int j = 0; j < suggestedWords; j++) { O newOption = newOption(); newOption.readFrom(in); options.add(newOption); } }
@Override public void readFrom(StreamInput in) throws IOException { text = in.readText(); offset = in.readVInt(); length = in.readVInt(); int suggestedWords = in.readVInt(); options = new ArrayList<>(suggestedWords); for (int j = 0; j < suggestedWords; j++) { O newOption = newOption(); newOption.readFrom(in); options.add(newOption); } }
@Override public void readFrom(StreamInput in) throws IOException { text = in.readText(); offset = in.readVInt(); length = in.readVInt(); int suggestedWords = in.readVInt(); options = new ArrayList<>(suggestedWords); for (int j = 0; j < suggestedWords; j++) { O newOption = newOption(); newOption.readFrom(in); options.add(newOption); } }
@Override public void readFrom(StreamInput in) throws IOException { text = in.readText(); offset = in.readVInt(); length = in.readVInt(); int suggestedWords = in.readVInt(); options = new ArrayList<>(suggestedWords); for (int j = 0; j < suggestedWords; j++) { O newOption = newOption(); newOption.readFrom(in); options.add(newOption); } }
@Override public void readFrom(StreamInput in) throws IOException { text = in.readText(); offset = in.readVInt(); length = in.readVInt(); int suggestedWords = in.readVInt(); options = new ArrayList<>(suggestedWords); for (int j = 0; j < suggestedWords; j++) { O newOption = newOption(); newOption.readFrom(in); options.add(newOption); } }