1 /*
2 * Copyright (c) 2001-2003 The XDoclet team
3 * All rights reserved.
4 */
5 package xjavadoc;
6
7 import java.util.Iterator;
8
9 /***
10 * Implementation of MethodIterator.
11 *
12 * @deprecated Use a plain java.lang.Iterator and do the cast instead.
13 * @created 24. juli 2002
14 */
15 class MethodIteratorImpl extends IteratorImpl implements MethodIterator
16 {
17 public MethodIteratorImpl( Iterator iterator )
18 {
19 super( iterator );
20 }
21 public XMethod next()
22 {
23 return ( XMethod ) n();
24 }
25 }