@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(this.hashingStrategy); out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(this.hashingStrategy); out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(this.hashingStrategy); out.writeInt(this.set.size()); try { this.set.forEach(new CheckedProcedure<T>() { public void safeValue(T value) throws IOException { out.writeObject(value); } }); } catch (RuntimeException e) { if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw e; } }