package jcgp.population; public class Input implements Connection { private Object value = 0; private int index; public Input(int index) { this.index = index; } public void setValue(Object newValue) { value = newValue; } @Override public Object getValue() { return value; } public int getIndex() { return index; } @Override public String getDescription() { return "i: " + index; } }