/* ------------------------------------------------------------------------- */
public boolean is_equal(org.omg.CosCollection.Iterator test) throws IteratorInvalid{
synchronized( collection ){
PositionalIteratorImpl iter = collection.check_iterator( test );
if( !is_valid() ){
throw new IteratorInvalid( IteratorInvalidReason.is_invalid );
}
return get_pos() == iter.get_pos();
}
}