com.generationjava.collections.typed
Interface TypedStructure

All Known Implementing Classes:
AbstractTypedStructure

public interface TypedStructure

A structure which only allows contents of a particular type.


Method Summary
 void checkType(java.util.Collection coll)
           
 void checkType(java.lang.Object obj)
           
 java.lang.Class getType()
           
 void setType(java.lang.Class type)
           
 

Method Detail

checkType

public void checkType(java.lang.Object obj)
               throws IllegalTypeException
IllegalTypeException

checkType

public void checkType(java.util.Collection coll)
               throws IllegalTypeException
IllegalTypeException

setType

public void setType(java.lang.Class type)

getType

public java.lang.Class getType()


Copyright © 2000-2003 GenerationJava. All Rights Reserved.