@Override public String toString() { StringBuffer sb = new StringBuffer(); // Saves the from type as a short label String fromType = ""; // Set the fuzzy type first as they are used in set range methods. if ( fromCvFuzzyType != null ) { fromType = fromCvFuzzyType.getShortLabel(); } sb.append( getRange( fromType, fromIntervalStart, fromIntervalEnd ) ); sb.append( "-" ); // Saves the to type as a short label String toType = ""; if ( toCvFuzzyType != null ) { toType = toCvFuzzyType.getShortLabel(); } sb.append( getRange( toType, toIntervalStart, toIntervalEnd ) ); return sb.toString(); }
@Override public String toString() { StringBuffer sb = new StringBuffer(); // Saves the from type as a short label String fromType = ""; // Set the fuzzy type first as they are used in set range methods. if ( fromCvFuzzyType != null ) { fromType = fromCvFuzzyType.getShortLabel(); } sb.append( getRange( fromType, fromIntervalStart, fromIntervalEnd ) ); sb.append( "-" ); // Saves the to type as a short label String toType = ""; if ( toCvFuzzyType != null ) { toType = toCvFuzzyType.getShortLabel(); } sb.append( getRange( toType, toIntervalStart, toIntervalEnd ) ); return sb.toString(); }
@Override public String toString() { StringBuffer sb = new StringBuffer(); // Saves the from type as a short label String fromType = ""; // Set the fuzzy type first as they are used in set range methods. if ( fromCvFuzzyType != null ) { fromType = fromCvFuzzyType.getShortLabel(); } sb.append( getRange( fromType, fromIntervalStart, fromIntervalEnd ) ); sb.append( "-" ); // Saves the to type as a short label String toType = ""; if ( toCvFuzzyType != null ) { toType = toCvFuzzyType.getShortLabel(); } sb.append( getRange( toType, toIntervalStart, toIntervalEnd ) ); return sb.toString(); }