-
Notifications
You must be signed in to change notification settings - Fork 0
Terminology
ljacqu edited this page Nov 27, 2019
·
2 revisions
Declaration of type variables are called type parameters and the concrete values passed into them are referred to as type arguments.
class Optional<T> { // T: type parameter
}
class Container {
// String is the type argument
private Optional<String> stringOpt;
}
Source: https://docs.oracle.com/javase/tutorial/java/generics/types.html
A nested, non-static class is called an inner class. If it is static it's simply called static nested class.
class Container {
class InnerClass {
}
static class StaticNestedClass {
}
}
Source: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html
Documentation
Internal (for development)