public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }
public Object next() { return new Map.Entry() { private final File file = current = files[ ++position]; private final Object key = extractKey(file.getName()); public Object getKey() { return key; } public Object getValue() { return readFile(file); } public Object setValue(final Object value) { return put(key, value); } public boolean equals(final Object obj) { if (!(obj instanceof Entry)) { return false; } Object value = getValue(); final Entry e2 = (Entry)obj; Object key2 = e2.getKey(); Object value2 = e2.getValue(); return (key == null ? key2 == null : key.equals(key2)) && (value == null ? value2 == null : getValue().equals(e2.getValue())); } }; } }