@Test(expected = UnsupportedOperationException.class) public void removingDataThroughDictionaryIteratorIsNotAllowed() { Iterator<Entry<String, Object>> dit = this.dataset.dictionaryIterator(); dit.next(); dit.remove(); }
@Override public Iterator<Entry<String, T>> dictionaryIterator() { return this.internalMap.entrySet().iterator(); }
DictionaryPatientData implements PatientData<T> { @Override public Iterator<Entry<String, T>> dictionaryIterator() { return this.internalMap.entrySet().iterator(); } }
DictionaryPatientData implements PatientData<T> { @Override public Iterator<Entry<String, T>> dictionaryIterator() { return this.internalMap.entrySet().iterator(); } DictionaryPatientData(String name, Map<String, T> data); }
DictionaryPatientData implements PatientData<T> { @Override public Iterator<Entry<String, T>> dictionaryIterator() { return this.internalMap.entrySet().iterator(); } DictionaryPatientData(String name, Map<String, T> data); @Override String getName(); @Override int size(); @Override T get(String name); @Override Iterator<T> iterator(); @Override boolean containsKey(String key); @Override Iterator<String> keyIterator(); @Override Iterator<Entry<String, T>> dictionaryIterator(); @Override boolean isIndexed(); @Override boolean isNamed(); @Override T getValue(); @Override T get(int index); }
DictionaryPatientData implements PatientData<T> { @Override public Iterator<Entry<String, T>> dictionaryIterator() { return this.internalMap.entrySet().iterator(); } DictionaryPatientData(String name, Map<String, T> data); @Override String getName(); @Override int size(); @Override T get(String name); @Override Iterator<T> iterator(); @Override boolean containsKey(String key); @Override Iterator<String> keyIterator(); @Override Iterator<Entry<String, T>> dictionaryIterator(); @Override boolean isIndexed(); @Override boolean isNamed(); @Override T getValue(); @Override T get(int index);  }