package org.neuralnetwork.synapse;

public abstract class AbstractSynapse<InputType, ValueType> {
	private final InputType input;

	public AbstractSynapse(InputType input) {
		this.input = input;
	}

	abstract protected ValueType readValueFrom(InputType input);

	public ValueType getValue() {
		return readValueFrom(input);
	}
}

package org.neuralnetwork.synapse;

public abstract class AbstractSynapse<InputType, ValueType> {
	private final InputType input;

	public AbstractSynapse(InputType input) {
		this.input = input;
	}

	abstract protected ValueType readValueFrom(InputType input);

	public ValueType getValue() {
		return readValueFrom(input);
	}

	public InputType getInput() {
		return input;
	}
}

Add a getter for the synapses input.
Add a getter for the synapses input.
