Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package br.com.objectos.way.auto.core.fakes;
 
 
 @javax.annotation.Generated("br.com.objectos.way.auto.functional.AutoFunctionalProcessor")
 public final class GenericIsValid implements Predicate<Generic<?>> {
 
   private static final Predicate<Generic<?>> INSTANCE = new GenericIsValid();
   private static final Predicate<Generic<?>> NOT = new NotGenericIsValid();
  
  private GenericIsValid() {}
  public static Predicate<Generic<?>> get() {
    return ;
  }
  public static Predicate<Generic<?>> not() {
    return ;
  }
  public boolean apply(Generic<?> input) {
    return input.isValid();
  }
  
@javax.annotation.Generated("br.com.objectos.way.auto.functional.AutoFunctionalProcessor")
final class NotGenericIsValid implements Predicate<Generic<?>> {
  public boolean apply(Generic<?> input) {
    return !input.isValid();
  }
  
New to GrepCode? Check out our FAQ X