Parent Directory | Revision Log | Patch
revision 1.24 by mark, Sun Sep 19 20:17:25 2004 UTC | revision 1.25 by mkoch, Fri Oct 22 17:15:57 2004 UTC | |
---|---|---|
# | Line 1536 public class TreeMap extends AbstractMap | Line 1536 public class TreeMap extends AbstractMap |
1536 | * @param key the key to check | * @param key the key to check |
1537 | * @return true if the key is in range | * @return true if the key is in range |
1538 | */ | */ |
1539 | final boolean keyInRange(Object key) | boolean keyInRange(Object key) |
1540 | { | { |
1541 | return ((minKey == nil || compare(key, minKey) >= 0) | return ((minKey == nil || compare(key, minKey) >= 0) |
1542 | && (maxKey == nil || compare(key, maxKey) < 0)); | && (maxKey == nil || compare(key, maxKey) < 0)); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |