samples/growingparameters/src-api2.0/api/classes/Compute.java
changeset 132 3bc4c54f4bcc
parent 77 22c1953e372c
child 153 b5cbb797ec0a
     1.1 --- a/samples/growingparameters/src-api2.0/api/classes/Compute.java	Sat Jun 14 09:53:37 2008 +0200
     1.2 +++ b/samples/growingparameters/src-api2.0/api/classes/Compute.java	Sat Jun 14 09:56:12 2008 +0200
     1.3 @@ -10,14 +10,17 @@
     1.4       * @return list of strings to work with 
     1.5       * @since 1.0 */
     1.6      public abstract List<String> getData();
     1.7 -    /** Computes the strings to work with together with their associated descriptions.
     1.8 -     * Shall be overriden in subclasses. By default delegates to {@link #getData}
     1.9 -     * and uses the provided strings as both, the string and its description.
    1.10 +    /** Computes the strings to work with together with their 
    1.11 +     * associated descriptions. Shall be overriden in subclasses. 
    1.12 +     * By default delegates to {@link #getData}
    1.13 +     * and uses the provided strings as both, the string 
    1.14 +     * and its description.
    1.15       * 
    1.16       * @return name to description pairs to work with 
    1.17       * @since 2.0 */
    1.18      public Map<String,String> getDataAndDescription() {
    1.19 -        LinkedHashMap<String,String> ret = new LinkedHashMap<String, String>();
    1.20 +        LinkedHashMap<String,String> ret = 
    1.21 +            new LinkedHashMap<String, String>();
    1.22          for (String s : getData()) {
    1.23              ret.put(s, s);
    1.24          }