Please use #readBundle(ClassLoader) instead (whose data must have been written with #writeBundle. Read and return a new HashMap object from the parcel at the current dataPosition(), using the given class loader to load any enclosed Parcelables. Returns null if the previously writte
(ClassLoader loader)
| 1586 | * the previously written map object was null. |
| 1587 | */ |
| 1588 | public final HashMap readHashMap(ClassLoader loader) |
| 1589 | { |
| 1590 | int N = readInt(); |
| 1591 | if (N < 0) { |
| 1592 | return null; |
| 1593 | } |
| 1594 | HashMap m = new HashMap(N); |
| 1595 | readMapInternal(m, N, loader); |
| 1596 | return m; |
| 1597 | } |
| 1598 | |
| 1599 | /** |
| 1600 | * Read and return a new Bundle object from the parcel at the current |
no test coverage detected