Code example for Predicate

Methods: toString

0
         return Iterables.any(checkNotNull(arg0, "network").getServices(), supportsStaticNAT);
      } 
 
      @Override 
      public String toString() {
         return supportsStaticNAT.toString();
      } 
   } 
 
   public static enum HasFirewallServiceWhichSupportsPortForwarding implements Predicate<Network> {
      INSTANCE;
 
      @Override 
      public boolean apply(Network arg0) {
         return Iterables.any(checkNotNull(arg0, "network").getServices(), supportsPortForwarding);
      } 
 
      @Override 
      public String toString() {
         return supportsPortForwarding.toString();