Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.noodlesandwich.rekord.keys;
 
 
 public abstract class OriginalKey<T, V> extends AbstractKey<T, V> {
    private final String name;
    public OriginalKey(String name) {
        this. = name;
    }
    @Override
    public String name() {
        return ;
    }
    @Override
    public <NewV> Key<T, NewV> that(Transformer<V, NewV> transformer) {
        return new TransformingKey<>(thistransformer);
    }
    @Override
    public <P extends T> Properties<P> storeTo(Properties<P> properties, V value) {
        return properties.with(new Property<P, V>(thisvalue));
    }
    @Override
    public <P extends T> V retrieveFrom(Properties<P> properties) {
        return properties.get(this);
    }
    @Override
    public Key<T, ?> original() {
        return this;
    }
New to GrepCode? Check out our FAQ X