test_class.file: trunk/import/core/src/test/java/org/datasyslab/geospark/spatialPartitioning/quadtree/QuadRectangleTest.java
test_class.identifier: QuadRectangleTest
test_case.body: @Test
      public void testContains()
      {
          QuadRectangle r1 = makeRect(0, 0, 10, 10);
          QuadRectangle r2 = makeRect(0, 0, 10, 10);
  
          // contains rectange
          assertTrue(r1.contains(r2));
  
          // contains point
          assertTrue(r1.contains(makeRect(5, 5, 0, 0)));
  
          // doesn't contain rectangle
          QuadRectangle r3 = makeRect(0, 0, 11, 10);
          assertFalse(r1.contains(r3));
  
          // doesn't contain point
          assertFalse(r1.contains(makeRect(5, 12, 0, 0)));
      }
test_case.class_method_signature: QuadRectangleTest.testContains()
test_case.full_signature: @Test public void testContains()
test_case.identifier: testContains
test_case.invocations: makeRect makeRect assertTrue contains assertTrue contains makeRect makeRect assertFalse contains assertFalse contains makeRect
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testContains()
focal_class.declarator: x
focal_class.modifier: public final
focal_class.original_string: public final double x, y, width, height;
focal_class.type: double
focal_class.var_name: x
focal_class.declarator: partitionId = null
focal_class.modifier: public
focal_class.original_string: public Integer partitionId = null;
focal_class.type: Integer
focal_class.var_name: partitionId
focal_class.declarator: lineage = null
focal_class.modifier: public
focal_class.original_string: public String lineage = null;
focal_class.type: String
focal_class.var_name: lineage
focal_class.file: trunk/import/core/src/main/java/org/datasyslab/geospark/spatialPartitioning/quadtree/QuadRectangle.java
focal_class.identifier: QuadRectangle
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: QuadRectangle.QuadRectangle(Envelope envelope)
focal_class.full_signature: public  QuadRectangle(Envelope envelope)
focal_class.identifier: QuadRectangle
focal_class.modifiers: public
focal_class.parameters: (Envelope envelope)
focal_class.signature:  QuadRectangle(Envelope envelope)
focal_class.class_method_signature: QuadRectangle.QuadRectangle(double x, double y, double width, double height)
focal_class.full_signature: public  QuadRectangle(double x, double y, double width, double height)
focal_class.identifier: QuadRectangle
focal_class.modifiers: public
focal_class.parameters: (double x, double y, double width, double height)
focal_class.signature:  QuadRectangle(double x, double y, double width, double height)
focal_class.class_method_signature: QuadRectangle.contains(double x, double y)
focal_class.full_signature: public boolean contains(double x, double y)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (double x, double y)
focal_class.return: boolean
focal_class.signature: boolean contains(double x, double y)
focal_class.class_method_signature: QuadRectangle.contains(QuadRectangle r)
focal_class.full_signature: public boolean contains(QuadRectangle r)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (QuadRectangle r)
focal_class.return: boolean
focal_class.signature: boolean contains(QuadRectangle r)
focal_class.class_method_signature: QuadRectangle.getUniqueId()
focal_class.full_signature: public int getUniqueId()
focal_class.identifier: getUniqueId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getUniqueId()
focal_class.class_method_signature: QuadRectangle.getEnvelope()
focal_class.full_signature: public Envelope getEnvelope()
focal_class.identifier: getEnvelope
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Envelope
focal_class.signature: Envelope getEnvelope()
focal_class.class_method_signature: QuadRectangle.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: QuadRectangle.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: QuadRectangle.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_method.body: public boolean contains(double x, double y)
      {
          return x >= this.x && x <= this.x + this.width
                  && y >= this.y && y <= this.y + this.height;
      }
focal_method.class_method_signature: QuadRectangle.contains(double x, double y)
focal_method.full_signature: public boolean contains(double x, double y)
focal_method.identifier: contains
focal_method.modifiers: public
focal_method.parameters: (double x, double y)
focal_method.return: boolean
focal_method.signature: boolean contains(double x, double y)