org.jicarilla.container.selectors
Class ClassSelector
java.lang.Object
org.jicarilla.container.selectors.ClassSelector
- All Implemented Interfaces:
- CriterionExposingSelector, Selector
- Direct Known Subclasses:
- HintedClassSelector, PickyHintedClassSelector
- public class ClassSelector
- extends java.lang.Object
- implements CriterionExposingSelector
- Version:
- $Id: ClassSelector.java,v 1.5 2004/01/10 10:14:11 lsimons Exp $
- Author:
- Leo Simons
|
Field Summary |
protected java.lang.Class |
m_class
|
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getCriterion()
|
int |
hashCode()
|
boolean |
select(java.lang.Object object)
Determine whether the argument is part of the set spanned by this
selector. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
m_class
protected final java.lang.Class m_class
ClassSelector
public ClassSelector(java.lang.Class clazz)
select
public boolean select(java.lang.Object object)
- Description copied from interface:
Selector
- Determine whether the argument is part of the set spanned by this
selector.
- Specified by:
select in interface Selector
- Parameters:
object -
- Returns:
- true if the argument is part of the set spanned by this
selector, false otherwise
getCriterion
public java.lang.Object getCriterion()
- Specified by:
getCriterion in interface CriterionExposingSelector
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
Copyright © 2004 Leo Simons. All Rights Reserved.