home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.Serializable;
-
- class Collections$EmptyMap extends AbstractMap implements Serializable {
- private Collections$EmptyMap() {
- }
-
- public int size() {
- return 0;
- }
-
- public boolean isEmpty() {
- return true;
- }
-
- public boolean containsKey(Object var1) {
- return false;
- }
-
- public boolean containsValue(Object var1) {
- return false;
- }
-
- public Object get(Object var1) {
- return null;
- }
-
- public Set keySet() {
- return Collections.EMPTY_SET;
- }
-
- public Collection values() {
- return Collections.EMPTY_SET;
- }
-
- public Set entrySet() {
- return Collections.EMPTY_SET;
- }
-
- public boolean equals(Object var1) {
- return var1 instanceof Map && ((Map)var1).size() == 0;
- }
-
- public int hashCode() {
- return 0;
- }
-
- // $FF: synthetic method
- Collections$EmptyMap(Collections.1 var1) {
- this();
- }
- }
-