commit | 4cc7b1c5b0e383ae3d65798e35f759441417fed8 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Fri Apr 16 08:41:59 2010 -0700 |
committer | Shawn O. Pearce <spearce@spearce.org> | Fri Apr 16 16:30:21 2010 -0700 |
tree | 7a79c2847d3d0f2d60b439d2228ae92d13f9b683 | |
parent | 06ee913c8d5cd1afaa3c5573430f07e5655e1edf [diff] |
ObjectIdSubclassMap: Add isEmpty() method This class behaves like a cross between a Set and a Map, sometimes we might expect to use the method isEmpty() to test for size() == 0. So implement it, reducing the surprise folks get when they are given one of these objects. Change-Id: I0d68e1243da8e62edf79c6ba4fd925f643e80a88 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>