OSDN Git Service

Use a HashSet to store delegate references in layoutlib
authorJerome Gaillard <jgaillard@google.com>
Wed, 29 Jun 2016 14:40:15 +0000 (15:40 +0100)
committerJerome Gaillard <jgaillard@google.com>
Wed, 29 Jun 2016 14:57:15 +0000 (14:57 +0000)
commitc796a98a60a89f4dfc17f58eb6a8933858914bc5
tree99b944da5018c596a17c66c2a9753b5df5ee21bf
parentce447b000f2bef58db7d2be83504f303498a0809
Use a HashSet to store delegate references in layoutlib

More efficient than an ArrayList since we do a lot of remove operations.

Change-Id: Ic4c89df4560066f1a3ab0e71a3b180a9734f9cd6
(cherry picked from commit 12754d621b20e6a925999096ab6f21c4cbfe594a)
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/DelegateManager.java