/** * Utility to display a vec on debug * * @param vec the vector to convert * @return a representative string */ public static String toString(VectorOfScicosID vec) { int len = vec.size(); long[] copy = new long[len]; LongBuffer.wrap(copy).put(vec.asByteBuffer(0, len).asLongBuffer()); return Arrays.toString(copy); }