1270 |
|
} |
1271 |
|
} |
1272 |
|
|
1273 |
< |
/** |
1273 |
> |
/** |
1274 |
|
* Removes first entry; return key or null if empty. |
1275 |
|
*/ |
1276 |
|
K pollFirstKey() { |
1728 |
|
* distinct because readObject calls can't be nicely adapted |
1729 |
|
* as the kind of iterator needed by buildFromSorted. (They |
1730 |
|
* can be, but doing so requires type cheats and/or creation |
1731 |
< |
* of adaptor classes.) It is simpler to just adapt the code. |
1731 |
> |
* of adapter classes.) It is simpler to just adapt the code. |
1732 |
|
*/ |
1733 |
|
|
1734 |
|
HeadIndex<K,V> h = head; |