@Test public void testRouteIsClassful() { List<String> classful = Lists.newArrayList("16.0.0.0/8", "128.0.0.0/16", "128.0.0.0/2", "192.168.1.0/24"); for (String prefixStr : classful) { Prefix network = Prefix.parse(prefixStr); assertThat(network + " is classful", evaluateIsClassful(network), equalTo(true)); } }
private RouteIsClassful() {}
RouteIsClassful extends BooleanExpr { private RouteIsClassful() {} }
RouteIsClassful extends BooleanExpr { private RouteIsClassful() {} private  RouteIsClassful(); }
RouteIsClassful extends BooleanExpr { private RouteIsClassful() {} private  RouteIsClassful(); @JsonCreator static RouteIsClassful instance(); @Override T accept(BooleanExprVisitor<T, U> visitor, U arg); @Override Result evaluate(Environment environment); @Override boolean equals(Object obj); @Override int hashCode(); }
RouteIsClassful extends BooleanExpr { private RouteIsClassful() {} private  RouteIsClassful(); @JsonCreator static RouteIsClassful instance(); @Override T accept(BooleanExprVisitor<T, U> visitor, U arg); @Override Result evaluate(Environment environment); @Override boolean equals(Object obj); @Override int hashCode();  }