/** * Returns the vector representation in byte[] format. * @return the vector representation as a byte array. */ @Override public byte[] getByteVectorRepresentation() { return SerializationUtils.toByteArray(histogram); }
/** * Provides a much faster way of serialization. * * @return a byte array that can be read with the corresponding method. * @see CEDD#setByteArrayRepresentation(byte[]) */ @Override public byte[] getByteArrayRepresentation() { return SerializationUtils.toByteArray(feature); }
/** * Returns the vector representation in byte[] format. * @return the vector representation as a byte array. */ @Override public byte[] getByteVectorRepresentation() { return SerializationUtils.toByteArray(vector); }
/** * Returns the vector representation in byte[] format. * @return the vector representation as a byte array. */ @Override public byte[] getByteVectorRepresentation() { return SerializationUtils.toByteArray(vector); }
/** * Provides a much faster way of serialization. * * @return a byte array that can be read with the corresponding method. * @see CEDD#setByteArrayRepresentation(byte[]) */ @Override public byte[] getByteArrayRepresentation() { return SerializationUtils.toByteArray(feature); }
/** * Creates a byte array representation from the clusters mean. * * @return the clusters mean as byte array. */ public byte[] getByteRepresentation() { return SerializationUtils.toByteArray(mean); }
@Override public byte[] getByteArrayRepresentation() { return SerializationUtils.toByteArray(histogram); }
@Override public byte[] getByteArrayRepresentation() { return SerializationUtils.toByteArray(descriptorValues); }
@Override public byte[] getByteArrayRepresentation() { return net.semanticmetadata.lire.utils.SerializationUtils.toByteArray(histogram); }
/** * Creates a byte array representation from the clusters mean. * * @return the clusters mean as byte array. */ public byte[] getByteRepresentation() { return SerializationUtils.toByteArray(mean); }
/** * Returns the vector representation in byte[] format. * @return the vector representation as a byte array. */ @Override public byte[] getByteVectorRepresentation() { return SerializationUtils.toByteArray(histogram); }
@Override public byte[] getByteArrayRepresentation() { return SerializationUtils.toByteArray(descriptorValues); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }
@Override public byte[] getByteArrayRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toByteArray(data); }