/** * PUBLIC: * Return the number of name/value pairs in the result. */ public int size() { return getNames().size(); }
/** * PUBLIC: * Return if the result is empty. */ public boolean isEmpty() { return getNames().isEmpty(); }
/** * PUBLIC: * Return the number of name/value pairs in the result. */ public int size() { return getNames().size(); }
/** * PUBLIC: * Return if the result is empty. */ public boolean isEmpty() { return getNames().isEmpty(); }
/** * PUBLIC: * Return if the result is empty. */ public boolean isEmpty() { return getNames().isEmpty(); }
/** * PUBLIC: * Check if the key is contained in the result. */ public boolean containsKey(Object key) { return getNames().contains(key); }
/** * PUBLIC: * Check if the key is contained in the result. */ public boolean containsKey(Object key) { return getNames().contains(key); }
/** * OBSOLETE: * Return an enumeration of the result names. * @see #keySet() */ public Enumeration keys() { return new Vector(getNames()).elements(); }
/** * OBSOLETE: * Return an enumeration of the result names. * @see #keySet() */ public Enumeration keys() { return new Vector(getNames()).elements(); }
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } this.index++; return getNames().get(this.index - 1); } }
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } this.index++; return getNames().get(this.index - 1); } }
/** * PUBLIC: * Return the value for given item name. */ public Object get(String name) { int index = getNames().indexOf(name); if (index == -1) { return null; } return getResults().get(index); }
/** * PUBLIC: * Return the value for given item name. */ public Object get(String name) { int index = getNames().indexOf(name); if (index == -1) { return null; } return getResults().get(index); }
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } this.index++; return getNames().get(this.index - 1); } }
/** * PUBLIC: * Return the value for given item name. */ public Object get(String name) { int index = getNames().indexOf(name); if (index == -1) { return null; } return getResults().get(index); }
public void remove() { if (this.index >= ReportQueryResult.this.size()) { throw new IllegalStateException(); } ReportQueryResult.this.remove(getNames().get(this.index)); } }
public void remove() { if (this.index >= ReportQueryResult.this.size()) { throw new IllegalStateException(); } ReportQueryResult.this.remove(getNames().get(this.index)); } }
public void remove() { if (this.index >= ReportQueryResult.this.size()) { throw new IllegalStateException(); } ReportQueryResult.this.remove(getNames().get(this.index)); } }
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } this.index++; return new RecordEntry(getNames().get(this.index - 1), getResults().get(this.index - 1)); }
public Object next() { if (!hasNext()) { throw new NoSuchElementException(); } this.index++; return new RecordEntry(getNames().get(this.index - 1), getResults().get(this.index - 1)); }