/** * Initializes the set with the given byte array. * * @param bytes bytes representing multiple gradoop ids */ private GradoopIdSet(byte[] bytes) { this.ids = readIds(bytes); }
@Override public void read(DataInputView in) throws IOException { int n = in.readInt(); byte[] bytes = new byte[n * GradoopId.ID_SIZE]; in.readFully(bytes); this.ids = readIds(bytes); }