Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/IntMap.java @ 613:f41dd9a3b8af v1.1m4
Remove few Experimental annotations as the API they've marked graduates
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Fri, 10 May 2013 17:31:27 +0200 |
| parents | 4ea0351ca878 |
| children | a937e63b6e02 |
comparison
equal
deleted
inserted
replaced
| 612:dca70c0b1f74 | 613:f41dd9a3b8af |
|---|---|
| 134 } | 134 } |
| 135 | 135 |
| 136 /** | 136 /** |
| 137 * Forget first N entries (in natural order) in the map. | 137 * Forget first N entries (in natural order) in the map. |
| 138 */ | 138 */ |
| 139 @Experimental | |
| 140 public void removeFromStart(int count) { | 139 public void removeFromStart(int count) { |
| 141 if (count > 0 && count <= size) { | 140 if (count > 0 && count <= size) { |
| 142 if (count < size) { | 141 if (count < size) { |
| 143 System.arraycopy(keys, count, keys, 0, size - count); | 142 System.arraycopy(keys, count, keys, 0, size - count); |
| 144 System.arraycopy(values, count, values, 0, size - count); | 143 System.arraycopy(values, count, values, 0, size - count); |
