xjavadoc
Class XCollections

java.lang.Object
  extended byxjavadoc.XCollections

Deprecated. Use a plain java.lang.Iterator and do the cast instead.

public abstract class XCollections
extends java.lang.Object

This class provides static factory methods that provide type-safe iterators over collections containing various xjavadoc classes.


Constructor Summary
XCollections()
          Deprecated.  
 
Method Summary
static ClassIterator classIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XClass
static ConstructorIterator constructorIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XConstructor
static FieldIterator fieldIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XField
static MethodIterator methodIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XMethod
static PackageIterator packageIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XPackage
static ParameterIterator parameterIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XParameter
static ProgramElementIterator programElementIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XProgramElement
static TagIterator tagIterator(java.util.Collection c)
          Deprecated. Returns a type-safe iterator for Collections containing XTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCollections

public XCollections()
Deprecated. 
Method Detail

classIterator

public static ClassIterator classIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XClass

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XClass

fieldIterator

public static FieldIterator fieldIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XField

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XField

methodIterator

public static MethodIterator methodIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XMethod

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XMethod

programElementIterator

public static ProgramElementIterator programElementIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XProgramElement

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XProgramElement

constructorIterator

public static ConstructorIterator constructorIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XConstructor

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XConstructor

parameterIterator

public static ParameterIterator parameterIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XParameter

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XParameter

tagIterator

public static TagIterator tagIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XTag

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XTag

packageIterator

public static PackageIterator packageIterator(java.util.Collection c)
Deprecated. 
Returns a type-safe iterator for Collections containing XPackage

Parameters:
c - the collection from which the iterator should be obtained
Returns:
a type-safe iterator for Collections containing XPackage


Copyright © 2002-2004 XDoclet Team. All Rights Reserved.