In code, if I write a code line like this:
GClass<Double> x = new GClass<Double>();
And let say, that the class is like this:
public static class GClass<T> {
private T value = null;
public GClass() {
// What is T?
}
}
Where I inserted the question "What is T?", I don't want the value (that is null
), but its type (that is Double
).