test_class.file: lib/src/test/java/edu/stanford/futuredata/macrobase/analysis/summary/fpg/result/FPGAttributeSetTest.java
test_class.identifier: FPGAttributeSetTest
test_case.body: @Test
      public void testSimple() throws Exception {
          Map<String, String> v1 = new HashMap<>();
          v1.put("c1", "val1");
          v1.put("c2", "val2");
  
          Map<String, String> v2 = new HashMap<>();
          v2.put("c2", "val2");
  
          FPGAttributeSet a1 = new FPGAttributeSet(
                  .2, 10.0, 21.2, v1
          );
          FPGAttributeSet a2 = new FPGAttributeSet(
                  .7, 30.0, 25.0, v2
          );
  
          assertTrue(a1.contains(a2));
      }
test_case.class_method_signature: FPGAttributeSetTest.testSimple()
test_case.full_signature: @Test public void testSimple()
test_case.identifier: testSimple
test_case.invocations: put put put assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSimple()
focal_class.declarator: support
focal_class.modifier: private
focal_class.original_string: private double support;
focal_class.type: double
focal_class.var_name: support
focal_class.declarator: numRecords
focal_class.modifier: private
focal_class.original_string: private long numRecords;
focal_class.type: long
focal_class.var_name: numRecords
focal_class.declarator: ratioToInliers
focal_class.modifier: private
focal_class.original_string: private double ratioToInliers;
focal_class.type: double
focal_class.var_name: ratioToInliers
focal_class.declarator: items = new HashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, String> items = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: items
focal_class.file: lib/src/main/java/edu/stanford/futuredata/macrobase/analysis/summary/fpg/result/FPGAttributeSet.java
focal_class.identifier: FPGAttributeSet
focal_class.interfaces: implements Comparable<FPGAttributeSet>
focal_class.class_method_signature: FPGAttributeSet.FPGAttributeSet(FPGItemsetResult its, AttributeEncoder encoder)
focal_class.full_signature: public  FPGAttributeSet(FPGItemsetResult its, AttributeEncoder encoder)
focal_class.identifier: FPGAttributeSet
focal_class.modifiers: public
focal_class.parameters: (FPGItemsetResult its, AttributeEncoder encoder)
focal_class.signature:  FPGAttributeSet(FPGItemsetResult its, AttributeEncoder encoder)
focal_class.class_method_signature: FPGAttributeSet.FPGAttributeSet(double support,
                             double numRecords,
                             double ratioToInliers,
                             Map<String, String> items)
focal_class.full_signature: public  FPGAttributeSet(double support,
                             double numRecords,
                             double ratioToInliers,
                             Map<String, String> items)
focal_class.identifier: FPGAttributeSet
focal_class.modifiers: public
focal_class.parameters: (double support,
                             double numRecords,
                             double ratioToInliers,
                             Map<String, String> items)
focal_class.signature:  FPGAttributeSet(double support,
                             double numRecords,
                             double ratioToInliers,
                             Map<String, String> items)
focal_class.class_method_signature: FPGAttributeSet.contains(FPGAttributeSet other)
focal_class.full_signature: public boolean contains(FPGAttributeSet other)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (FPGAttributeSet other)
focal_class.return: boolean
focal_class.signature: boolean contains(FPGAttributeSet other)
focal_class.class_method_signature: FPGAttributeSet.prettyPrint()
focal_class.full_signature: public String prettyPrint()
focal_class.identifier: prettyPrint
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String prettyPrint()
focal_class.class_method_signature: FPGAttributeSet.getSupport()
focal_class.full_signature: public double getSupport()
focal_class.identifier: getSupport
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getSupport()
focal_class.class_method_signature: FPGAttributeSet.getNumRecords()
focal_class.full_signature: public double getNumRecords()
focal_class.identifier: getNumRecords
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getNumRecords()
focal_class.class_method_signature: FPGAttributeSet.getRatioToInliers()
focal_class.full_signature: public double getRatioToInliers()
focal_class.identifier: getRatioToInliers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getRatioToInliers()
focal_class.class_method_signature: FPGAttributeSet.setRatioToInliers(double ratio)
focal_class.full_signature: public void setRatioToInliers(double ratio)
focal_class.identifier: setRatioToInliers
focal_class.modifiers: public
focal_class.parameters: (double ratio)
focal_class.return: void
focal_class.signature: void setRatioToInliers(double ratio)
focal_class.class_method_signature: FPGAttributeSet.getItems()
focal_class.full_signature: public Map<String, String> getItems()
focal_class.identifier: getItems
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getItems()
focal_class.class_method_signature: FPGAttributeSet.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: FPGAttributeSet.compareTo(FPGAttributeSet o)
focal_class.full_signature: @Override public int compareTo(FPGAttributeSet o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (FPGAttributeSet o)
focal_class.return: int
focal_class.signature: int compareTo(FPGAttributeSet o)
focal_method.body: public boolean contains(FPGAttributeSet other) {
          Map<String, String> otherItems = other.items;
          for (Map.Entry<String, String> oEntry : otherItems.entrySet()) {
              String colName = oEntry.getKey();
              String colValue = oEntry.getValue();
              boolean match = false;
              if (items.containsKey(colName) && items.get(colName).equals(colValue)) {
                  continue;
              } else {
                  return false;
              }
          }
          return true;
      }
focal_method.class_method_signature: FPGAttributeSet.contains(FPGAttributeSet other)
focal_method.full_signature: public boolean contains(FPGAttributeSet other)
focal_method.identifier: contains
focal_method.invocations: entrySet getKey getValue containsKey equals get
focal_method.modifiers: public
focal_method.parameters: (FPGAttributeSet other)
focal_method.return: boolean
focal_method.signature: boolean contains(FPGAttributeSet other)