Ignore:
Timestamp:
2009-11-24T10:45:04+01:00 (14 years ago)
Author:
stoecker
Message:

i18n updated, fixed files to reduce problems when applying patches, fix #4017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Hash.java

    r2399 r2512  
    11/*
    22 *  JOSMng - a Java Open Street Map editor, the next generation.
    3  * 
     3 *
    44 *  Copyright (C) 2008 Petr Nejedly <P.Nejedly@sh.cvut.cz>
    55 *
     
    2626 * It supports two type parameters to implement effective foreign key implementation
    2727 * inside (@link Storage}, but for basic use, both type parameters are the same.
    28  * 
     28 *
    2929 * For use cases, see {@link Storage}.
    3030 * @author nenik
    3131 */
    3232public interface Hash<K,T> {
    33    
     33
    3434    /**
    3535     * Get hashcode for given instance, based on some inner state of the
    3636     * instance. The returned hashcode should remain constant over the time,
    3737     * so it should be based on some instance invariant.
    38      * 
     38     *
    3939     * @param k the object to compute hashcode for
    4040     * @return computed hashcode
    4141     */
    4242    public int getHashCode(K k);
    43    
     43
    4444    /**
    4545     * Compare two instances for semantic or lookup equality. For use cases
    4646     * where it compares different types, refer to {@link Storage}.
    47      * 
     47     *
    4848     * @param k the object to compare
    4949     * @param t the object to compare
Note: See TracChangeset for help on using the changeset viewer.