Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Segment.java @ 686:3dc61e00385e facets-slt
Merged with trunk and introduced hashing of computed values.
flys-artifacts/branches/facets-slt@2126 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 15 Jun 2011 15:28:54 +0000 |
parents | 913b52064449 |
children | da7cf0e3ccaa |
comparison
equal
deleted
inserted
replaced
667:434146596838 | 686:3dc61e00385e |
---|---|
40 } | 40 } |
41 | 41 |
42 public String toString() { | 42 public String toString() { |
43 StringBuilder sb = new StringBuilder("Segment: ["); | 43 StringBuilder sb = new StringBuilder("Segment: ["); |
44 sb.append("from: ").append(from).append("; to: ") | 44 sb.append("from: ").append(from).append("; to: ") |
45 .append(to).append("; values: ("); | 45 .append(to) |
46 .append("; ref: ").append(referencePoint) | |
47 .append("; values: ("); | |
46 for (int i = 0; i < values.length; ++i) { | 48 for (int i = 0; i < values.length; ++i) { |
47 if (i > 0) sb.append(", "); | 49 if (i > 0) sb.append(", "); |
48 sb.append(values[i]); | 50 sb.append(values[i]); |
49 } | 51 } |
50 sb.append(")]"); | 52 sb.append(")]"); |