/[schmitzm]/trunk/src/skrueger/geotools/AttributeMetadataMap.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/AttributeMetadataMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 769 by alfonx, Sun Mar 21 11:02:34 2010 UTC revision 770 by alfonx, Sun Mar 21 11:36:11 2010 UTC
# Line 23  import skrueger.i8n.Translation; Line 23  import skrueger.i8n.Translation;
23   * <code>null</code>, but rather create a default {@link AMD_IMPL} on-the-fly.   * <code>null</code>, but rather create a default {@link AMD_IMPL} on-the-fly.
24   */   */
25  public abstract class AttributeMetadataMap<AMD_IMPL extends AttributeMetadata>  public abstract class AttributeMetadataMap<AMD_IMPL extends AttributeMetadata>
26                  extends TreeMap<Name, AMD_IMPL> implements                  extends TreeMap<NameImpl, AMD_IMPL> implements
27                  Copyable<AttributeMetadataMap>, QualityQuantizable {                  Copyable<AttributeMetadataMap>, QualityQuantizable {
28    
29          private static final long serialVersionUID = 4936966916517396063L;          private static final long serialVersionUID = 4936966916517396063L;
# Line 75  public abstract class AttributeMetadataM Line 75  public abstract class AttributeMetadataM
75    
76                  amdMap.clear();                  amdMap.clear();
77    
78                  for (final Name key : keySet()) {                  for (final NameImpl key : keySet()) {
79                          final AMD_IMPL AMD_IMPL = get(key);                          final AMD_IMPL AMD_IMPL = get(key);
80                          amdMap.put(key, AMD_IMPL.copy());                          amdMap.put(key, AMD_IMPL.copy());
81                  }                  }
# Line 83  public abstract class AttributeMetadataM Line 83  public abstract class AttributeMetadataM
83          }          }
84    
85          /**          /**
86           * Returns the {@link AMD_IMPL} for a given {@link Name}. May return           * Returns the {@link AMD_IMPL} for a given {@link NameImpl}. May return
87           * <code>null</code> or create a default {@link AttributeMetadata} depending           * <code>null</code> or create a default {@link AttributeMetadata} depending
88           * on whether this method is overwritten. fly.           * on whether this method is overwritten. fly.
89           */           */
90          public AMD_IMPL get(final Name name) {          public AMD_IMPL get(final NameImpl name) {
91                  return super.get(name);                  return super.get(name);
92          }          }
93    

Legend:
Removed from v.769  
changed lines
  Added in v.770

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26