@Test public void shouldReturnWrappedTestResultForTest() { TinkerPopTextWrappingPredicate wrappingPredicate = new TinkerPopTextWrappingPredicate(Text.containing); assertEquals(TextP.containing("ark").test("marko"), wrappingPredicate.test("marko", "ark")); }
@Override public boolean test(Object value, Object condition) { return internalPredicate.test(value.toString(), (String) condition); }
TinkerPopTextWrappingPredicate implements JanusGraphPredicate { @Override public boolean test(Object value, Object condition) { return internalPredicate.test(value.toString(), (String) condition); } }
TinkerPopTextWrappingPredicate implements JanusGraphPredicate { @Override public boolean test(Object value, Object condition) { return internalPredicate.test(value.toString(), (String) condition); } TinkerPopTextWrappingPredicate(Text wrappedPredicate); }
TinkerPopTextWrappingPredicate implements JanusGraphPredicate { @Override public boolean test(Object value, Object condition) { return internalPredicate.test(value.toString(), (String) condition); } TinkerPopTextWrappingPredicate(Text wrappedPredicate); @Override boolean isValidCondition(Object condition); @Override boolean isValidValueType(Class<?> clazz); @Override boolean hasNegation(); @Override JanusGraphPredicate negate(); @Override boolean isQNF(); @Override boolean test(Object value, Object condition); }
TinkerPopTextWrappingPredicate implements JanusGraphPredicate { @Override public boolean test(Object value, Object condition) { return internalPredicate.test(value.toString(), (String) condition); } TinkerPopTextWrappingPredicate(Text wrappedPredicate); @Override boolean isValidCondition(Object condition); @Override boolean isValidValueType(Class<?> clazz); @Override boolean hasNegation(); @Override JanusGraphPredicate negate(); @Override boolean isQNF(); @Override boolean test(Object value, Object condition);  }