test_class.file: ontopia-engine/src/test/java/net/ontopia/utils/GrabberComparatorTest.java
test_class.identifier: GrabberComparatorTest
test_class.superclass: extends AbstractComparatorTest
test_case.body: @Test
    public void testGrabberComparator() {
      UpperCaseGrabber upg = new UpperCaseGrabber();
      LowerCaseGrabber log = new LowerCaseGrabber();
      Comparator sc = LexicalComparator.CASE_SENSITIVE;
      Comparator isc = new GrabberComparator(new UpperCaseGrabber(), sc);
  
      testComparator(new GrabberComparator(upg, sc).compare("foobar", "FOOBAR"), 0, 1);
      testComparator(new GrabberComparator(upg, isc).compare("foobar", "FoOBAR"), 0, 1);
      testComparator(new GrabberComparator(upg, log, sc).compare("foobar", "FoOBAR"), 
                     new GrabberComparator(log, upg, sc).compare("foobar", "FoOBAR") * -1, 
                     new GrabberComparator(upg, isc).compare("foobar", "FoOBAR "));
    }
test_case.class_method_signature: GrabberComparatorTest.testGrabberComparator()
test_case.full_signature: @Test public void testGrabberComparator()
test_case.identifier: testGrabberComparator
test_case.invocations: testComparator compare testComparator compare testComparator compare compare compare
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGrabberComparator()
focal_class.declarator: grabber1
focal_class.modifier: protected
focal_class.original_string: protected GrabberIF<T, G> grabber1;
focal_class.type: GrabberIF<T, G>
focal_class.var_name: grabber1
focal_class.declarator: grabber2
focal_class.modifier: protected
focal_class.original_string: protected GrabberIF<T, G> grabber2;
focal_class.type: GrabberIF<T, G>
focal_class.var_name: grabber2
focal_class.declarator: comparator
focal_class.modifier: protected
focal_class.original_string: protected Comparator<G> comparator;
focal_class.type: Comparator<G>
focal_class.var_name: comparator
focal_class.file: ontopia-engine/src/main/java/net/ontopia/utils/GrabberComparator.java
focal_class.identifier: GrabberComparator
focal_class.interfaces: implements Comparator<T>
focal_class.class_method_signature: GrabberComparator.GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_class.full_signature: public  GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_class.identifier: GrabberComparator
focal_class.modifiers: public
focal_class.parameters: (GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_class.signature:  GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_class.class_method_signature: GrabberComparator.GrabberComparator(GrabberIF<T, G> grabber1, GrabberIF<T, G> grabber2, Comparator<G> comparator)
focal_class.full_signature: public  GrabberComparator(GrabberIF<T, G> grabber1, GrabberIF<T, G> grabber2, Comparator<G> comparator)
focal_class.identifier: GrabberComparator
focal_class.modifiers: public
focal_class.parameters: (GrabberIF<T, G> grabber1, GrabberIF<T, G> grabber2, Comparator<G> comparator)
focal_class.signature:  GrabberComparator(GrabberIF<T, G> grabber1, GrabberIF<T, G> grabber2, Comparator<G> comparator)
focal_class.class_method_signature: GrabberComparator.compare(T object1, T object2)
focal_class.full_signature: @Override public int compare(T object1, T object2)
focal_class.identifier: compare
focal_class.modifiers: @Override public
focal_class.parameters: (T object1, T object2)
focal_class.return: int
focal_class.signature: int compare(T object1, T object2)
focal_method.body: public GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator) {
      this.grabber1 = grabber;
      this.comparator = comparator;
    }
focal_method.class_method_signature: GrabberComparator.GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_method.full_signature: public  GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_method.identifier: GrabberComparator
focal_method.modifiers: public
focal_method.parameters: (GrabberIF<T, G> grabber, Comparator<G> comparator)
focal_method.signature:  GrabberComparator(GrabberIF<T, G> grabber, Comparator<G> comparator)