Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.noodlesandwich.rekord;
 
 
 public final class Transformers {
     public static <T> Transformer<T, T> identity() {
        return new IdentityTransformer<>();
    }
    public static <T> Transformer<T, T> defaultsTo(T value) {
        return new DefaultingTransformer<>(value);
    }
    public static <A, B, C> Transformer<A, C> compose(Transformer<B, C> secondTransformer<A, B> first) {
        return new ComposingTransformer<>(secondfirst);
    }
New to GrepCode? Check out our FAQ X