public boolean contains(Object o, int index) {
tmpelem.setElement(o);
tmpelem.setIndex(new Integer(index));
Iterator it = elements.iterator();
while (it.hasNext()) {
PIndexedElem e = (PIndexedElem) it.next();
if (e.equals(tmpelem) && e.getElemStatus() != PIndexedElem.ELEM_DELETED) {
if (Debug.ON && getLogger() != null) {
logger.log(BasicLevel.DEBUG, "contains(): yes");
}
return true;
}