Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.srplib.binding;
 
A simple implementation of Binding interface.

Author(s):
Anton Pechinsky
public class DefaultBinding implements Binding {
    private final ValueModel source;
    private final ValueModel target;
    private final Converter converter;
    public DefaultBinding(ValueModel sourceValueModel targetConverter converter) {
        Argument.checkNotNull(source"source");
        Argument.checkNotNull(target"target");
        this. = source;
        this. = target;
        this. = converter;
    }
    public DefaultBinding(ValueModel sourceValueModel target) {
        this(sourcetargetnull);
    }
    public ValueModel getSource() {
        return ;
    }
    public ValueModel getTarget() {
        return ;
    }
    @Override
    public Converter getConverter() {
        return ;
    }
New to GrepCode? Check out our FAQ X