code: public static ByteBuffer combine(final Collection<ByteBuffer> buffers) {
          final ByteBuffer buf = ByteBuffer.allocate(remaining(buffers));
          for (final Iterator iter = buffers.iterator(); iter.hasNext();) {
              final ByteBuffer curBuf = (ByteBuffer) iter.next();
              buf.put(curBuf);
          }
          buf.flip();
          return buf;
      }
docs: Combines the remaining data from the given <code>Collection</code> of
  <code>ByteBuffer</code>s into a single consolidated
  <code>ByteBuffer</code>.
  
  @param buffers
  The <code>Collection</code> of <code>ByteBuffer</code>s to
  make into a single buffer.
  @return A new <code>ByteBuffer</code> combining the remaining data of the
  <code>Collection</code> of <code>ByteBuffer</code>s.