com.pietschy.command.configuration.impl
Class FieldSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<java.lang.String>
              extended by com.pietschy.command.configuration.impl.FieldSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.Set<java.lang.String>

 class FieldSet
extends java.util.HashSet<java.lang.String>

Convenience class for ensuring I capture all fields represented by the various Const classes. This class is simply a HashSet that initialises from all the values of the public static final String members of the class.


Constructor Summary
FieldSet(java.lang.Class clazz)
          Creates a new field set from the specified class.
 
Method Summary
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

FieldSet

public FieldSet(java.lang.Class clazz)
Creates a new field set from the specified class.

Parameters:
clazz - the class.


Copyright © 2006 - 2007 Andrew Pietsch