001: package java.util;
002:
003: import java.io.IOException;
004: import java.io.ObjectInputStream;
005: import java.io.ObjectOutputStream;
006: import java.io.Serializable;
007:
008: public class IdentityHashMap extends AbstractMap implements Map,
009: Serializable, Cloneable {
010: static final Object tombstone = new Object();
011: static final Object emptyslot = new Object();
012: int size;
013: transient Object[] table;
014: transient int modCount;
015:
016: public IdentityHashMap() {
017: }
018:
019: public IdentityHashMap(int max) {
020: }
021:
022: public IdentityHashMap(Map m) {
023: }
024:
025: public void clear() {
026: }
027:
028: public Object clone() {
029: }
030:
031: public boolean containsKey(Object key) {
032: }
033:
034: public boolean containsValue(Object value) {
035: }
036:
037: public Set entrySet() {
038: }
039:
040: public boolean equals(Object o) {
041: }
042:
043: public Object get(Object key) {
044: }
045:
046: public int hashCode() {
047: }
048:
049: public boolean isEmpty() {
050: }
051:
052: public Set keySet() {
053: }
054:
055: public Object put(Object key, Object value) {
056: }
057:
058: public void putAll(Map m) {
059: }
060:
061: public Object remove(Object key) {
062: }
063:
064: public int size() {
065: }
066:
067: public Collection values() {
068: }
069:
070: int hash(Object key) {
071: }
072:
073: private final class IdentityIterator implements Iterator {
074: final int type;
075: int knownMod = modCount;
076: int count = size;
077: int loc = table.length;
078:
079: IdentityIterator(int type) {
080: }
081:
082: public boolean hasNext() {
083: }
084:
085: public Object next() {
086: }
087:
088: public void remove() {
089: }
090: }
091:
092: private final class IdentityEntry implements Map.Entry {
093: final int loc;
094: final int knownMod = modCount;
095:
096: IdentityEntry(int loc) {
097: }
098:
099: public boolean equals(Object o) {
100: }
101:
102: public Object getKey() {
103: }
104:
105: public Object getValue() {
106: }
107:
108: public int hashCode() {
109: }
110:
111: public Object setValue(Object value) {
112: }
113:
114: public final String toString() {
115: }
116: }
117:
118: private void readObject(ObjectInputStream s) throws IOException,
119: ClassNotFoundException {
120: }
121:
122: private void writeObject(ObjectOutputStream s) throws IOException {
123: }
124: }
|