---
title: "SparseArray"
author: "hkk"
date: "2011-07-01T13:38:59Z"
tags: []
categories: ["移动开发"]
slug: "sparsearray"
draft: false
lastmod: "2011-07-04T13:51:59Z"
id: 1112267
url: "https://hkk.iteye.com/blog/1112267"
---

/\**  
 * SparseArrays map integers to Objects.  Unlike a normal array of Objects,  
 * there can be gaps in the indices.  It is intended to be more efficient  
 * than using a HashMap to map Integers to Objects.  
 \*/