/** * Creates a new iterator with the given namespace * @param namespace The namespace to match against */ private PropIter(Namespace namespace) { this.namespace = namespace; iterator = map.values().iterator(); seek(); }
/** * Returns an iterator over all those property in this set, that have the * indicated <code>namespace</code>. * * @param namespace The namespace of the property in the iteration. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator(Namespace namespace) { return new PropIter(namespace); }
/** * Returns an iterator over all property in this set. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator() { return new PropIter(); }
/** * @see DavPropertyIterator#next(); */ public DavProperty<?> next() { return nextProperty(); }
/** * Returns an iterator over all those property in this set, that have the * indicated <code>namespace</code>. * * @param namespace The namespace of the property in the iteration. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator(Namespace namespace) { return new PropIter(namespace); }
/** * @see DavPropertyIterator#next(); */ public Object next() { return nextProperty(); }
/** * @see DavPropertyIterator#nextProperty(); */ public DavProperty nextProperty() throws NoSuchElementException { if (next==null) { throw new NoSuchElementException(); } DavProperty ret = next; seek(); return ret; }
/** * Returns an iterator over all those property in this set, that have the * indicated <code>namespace</code>. * * @param namespace The namespace of the property in the iteration. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator(Namespace namespace) { return new PropIter(namespace); }
/** * Creates a new iterator with the given namespace * @param namespace The namespace to match against */ private PropIter(Namespace namespace) { this.namespace = namespace; iterator = map.values().iterator(); seek(); }
/** * Creates a new iterator with the given namespace * @param namespace The namespace to match against */ private PropIter(Namespace namespace) { this.namespace = namespace; iterator = map.values().iterator(); seek(); }
/** * Returns an iterator over all property in this set. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator() { return new PropIter(); }
/** * Returns an iterator over all property in this set. * * @return An iterator over {@link DavProperty}. */ public DavPropertyIterator iterator() { return new PropIter(); }
/** * @see DavPropertyIterator#next(); */ public DavProperty<?> next() { return nextProperty(); }
/** * @see DavPropertyIterator#nextProperty(); */ public DavProperty<?> nextProperty() throws NoSuchElementException { if (next==null) { throw new NoSuchElementException(); } DavProperty<?> ret = next; seek(); return ret; }
/** * @see DavPropertyIterator#nextProperty(); */ public DavProperty<?> nextProperty() throws NoSuchElementException { if (next==null) { throw new NoSuchElementException(); } DavProperty<?> ret = next; seek(); return ret; }