@Test public void should_test_asn() { assertThat(new SearchTerm("3642").test(asnTest)).isTrue(); assertThat(new SearchTerm("as3642").test(asnTest)).isTrue(); assertThat(new SearchTerm("AS3642").test(asnTest)).isTrue(); assertThat(new SearchTerm("AS364").test(asnTest)).isFalse(); assertThat(new SearchTerm("364").test(asnTest)).isFalse(); }
public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); Long asAsn(); IpRange asIpRange(); String asString(); boolean test(ValidatedRoaPrefix prefix); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); Long asAsn(); IpRange asIpRange(); String asString(); boolean test(ValidatedRoaPrefix prefix);  }