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);
	}
}

@@ -320,11 +320,62 @@
 put);%0A%09%7D
+%0A%0A%09public InputType getInput() %7B%0A%09%09return input;%0A%09%7D
 %0A%7D%0A

Add a getter for the synapses input.