@Test public void fieldTest() { BundleFilterNot bff = new BundleFilterNot(new CachingField("foo")); MapBundle bundle = MapBundle.createBundle(new String[]{"dog", "food"}); assertTrue(bff.filter(bundle)); }
@Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; }
BundleFilterNot implements BundleFilter { @Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; } }
BundleFilterNot implements BundleFilter { @Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; } BundleFilterNot(@JsonProperty("field") AutoField field); }
BundleFilterNot implements BundleFilter { @Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; } BundleFilterNot(@JsonProperty("field") AutoField field); @Override boolean filter(Bundle bundle); }
BundleFilterNot implements BundleFilter { @Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; } BundleFilterNot(@JsonProperty("field") AutoField field); @Override boolean filter(Bundle bundle);  }