cz.cuni.amis.utils.collections
Class HashSetClass
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<Class>
cz.cuni.amis.utils.collections.HashSetClass
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Class>, Collection<Class>, Set<Class>
public class HashSetClass
- extends HashSet<Class>
HashSet that provides extended meaning of the .containsClass(cls) method.
.contains(cls) first probes for class's ancestors
and interfaces. The operation is then run against all of them.
- Author:
- Jimmy
- See Also:
- Serialized Form
HashSetClass
public HashSetClass()
containsClass
public Class containsClass(Class arg0)
- Returns class that is part of 'arg0' ancestors/interface classes.
- Parameters:
arg0
-
- Returns:
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.