for (Iterator<Condition<TitanRelation>> iter = conditions.iterator(); iter.hasNext(); ) {
Condition<TitanRelation> cond = iter.next();
if (cond instanceof PredicateCondition) {
PredicateCondition<TitanType, TitanRelation> atom = (PredicateCondition) cond;
if (atom.getKey().equals(pktype) && atom.getPredicate() == Cmp.EQUAL && interval == null) {
interval = new PointInterval(atom.getValue());
iter.remove();
}
}
}