hep.graphics.heprep.corbavalue
Class HepRepTypeTreeAdapter
java.lang.Object
|
+--hep.graphics.heprep.corbavalue.HepRepTreeIDAdapter
|
+--hep.graphics.heprep.corbavalue.HepRepTypeTreeAdapter
- All Implemented Interfaces:
- HepRepTreeID, HepRepTypeTree
- public class HepRepTypeTreeAdapter
- extends HepRepTreeIDAdapter
- implements HepRepTypeTree
- Version:
- $Id: HepRepTypeTreeAdapter.java,v 1.11 2003/12/04 23:25:42 duns Exp $
- Author:
- Mark Donszelmann
cvsId
public static final String cvsId
- See Also:
- Constant Field Values
HepRepTypeTreeAdapter
public HepRepTypeTreeAdapter(HepRepTypeTree hepRepTypeTree)
copy
public HepRepTypeTree copy()
throws CloneNotSupportedException
- Description copied from interface:
HepRepTypeTree
- Returns a deep copy of this typetree.
- Specified by:
copy
in interface HepRepTypeTree
- Returns:
- copy of this typetree.
- Throws:
CloneNotSupportedException
- if copying is not possible.
getTypes
public Set getTypes()
- Description copied from interface:
HepRepTypeTree
- Returns a collection of all types in this tree.
- Specified by:
getTypes
in interface HepRepTypeTree
- Returns:
- collection of HepRepTypes.
equals
public boolean equals(Object o)
- Overrides:
equals
in class HepRepTreeIDAdapter
hashCode
public int hashCode()
- Overrides:
hashCode
in class HepRepTreeIDAdapter
getType
public HepRepType getType(String fullName)
- Description copied from interface:
HepRepTypeTree
- Returns type
- Specified by:
getType
in interface HepRepTypeTree
addType
public void addType(HepRepType type)
- Description copied from interface:
HepRepTypeTree
- Adds a type to this typetree.
- Specified by:
addType
in interface HepRepTypeTree
- Parameters:
type
- to be added.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2003 FreeHEP, All Rights Reserved.