@Test public final void testToStringPair() { CandidateLinePair pair = new CandidateLinePair(0, 1, Integer.MAX_VALUE); assertNotNull(pair.toString()); }
@Override public final String toString() { StringBuilder sb = new StringBuilder(); sb.append("line: ").append(line.getID()); sb.append(" rating: ").append(rating); sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m"); return sb.toString(); }
CandidateLine { @Override public final String toString() { StringBuilder sb = new StringBuilder(); sb.append("line: ").append(line.getID()); sb.append(" rating: ").append(rating); sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m"); return sb.toString(); } }
CandidateLine { @Override public final String toString() { StringBuilder sb = new StringBuilder(); sb.append("line: ").append(line.getID()); sb.append(" rating: ").append(rating); sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m"); return sb.toString(); } CandidateLine(final Line l, final int r, final int projection);  CandidateLine(final Line l, final int r); private  CandidateLine(); }
CandidateLine { @Override public final String toString() { StringBuilder sb = new StringBuilder(); sb.append("line: ").append(line.getID()); sb.append(" rating: ").append(rating); sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m"); return sb.toString(); } CandidateLine(final Line l, final int r, final int projection);  CandidateLine(final Line l, final int r); private  CandidateLine(); final boolean isValid(); final Line getLine(); final int getRating(); final int getProjectionAlongLine(); final boolean hasProjectionAlongLine(); @Override final String toString(); final boolean hasSameLine(final CandidateLine cl); final void setNewRating(final int rate, final int lengthAlong); }
CandidateLine { @Override public final String toString() { StringBuilder sb = new StringBuilder(); sb.append("line: ").append(line.getID()); sb.append(" rating: ").append(rating); sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m"); return sb.toString(); } CandidateLine(final Line l, final int r, final int projection);  CandidateLine(final Line l, final int r); private  CandidateLine(); final boolean isValid(); final Line getLine(); final int getRating(); final int getProjectionAlongLine(); final boolean hasProjectionAlongLine(); @Override final String toString(); final boolean hasSameLine(final CandidateLine cl); final void setNewRating(final int rate, final int lengthAlong); static final CandidateLine INVALID; }