/** * Returns the vector representation in string format. * @return the vector representation as string. */ @Override public String getStringVectorRepresentation() { return SerializationUtils.toString(vector); }
/** * Returns the vector representation in string format. * @return the vector representation as string. */ public String toString() { return SerializationUtils.toString(histogram);}
/** * Returns the vector representation in string format. * @return the vector representation as string. */ @Override public String getStringVectorRepresentation() { return SerializationUtils.toString(vector); }
/** * Returns the vector representation in string format. * @return the vector representation as string. */ public String toString() { return SerializationUtils.toString(histogram);}
@Override public String getStringRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toString(data); }
@Override public String getStringRepresentation() { if (data == null) throw new UnsupportedOperationException("You need to set the histogram first."); return SerializationUtils.toString(data); }