protected Object evaluateLeftGreaterRight(List elements,String lvalue,String rvalue){
  List array;
  if (elements instanceof java.util.Vector) {
    array=new java.util.Vector();
  }
 else {
    array=new ArrayList();
  }
  for (Iterator e=elements.iterator(); e.hasNext(); ) {
    Object o=e.next();
    if (o instanceof StructuredContent) {
      if ((o=evaluateLeftGreaterRight((StructuredContent)o,lvalue,rvalue)) != null) {
        array.add(o);
      }
    }
  }
  if (array.size() == 1) {
    return (StructuredContent)array.get(0);
  }
  return array;
}

protected Object evaluateLeftGreaterRight ( List elements , String lvalue , String rvalue ) { List array ; if ( elements instanceof java . util . Vector ) { array = new java . util . Vector ( ) ; } else { array = new ArrayList ( ) ; } for ( Iterator e = elements . iterator ( ) ; e . hasNext ( ) ; ) { Object o = e . next ( ) ; if ( o instanceof StructuredContent ) { if ( ( o = evaluateLeftGreaterRight ( ( StructuredContent ) o , lvalue , rvalue ) ) != null ) { array . add ( o ) ; } } } if ( array . size ( ) == 1 ) { return ( StructuredContent ) array . get ( 0 ) ; } return array ; }
override this element to handle testing a predicate expression where lvalue > rvalue . by default , this implementation will call evaluateleftgreaterright ( ) against each element of the array , and return an array of all elements that didn ' t return null .
