Brian

39%
Flag icon
A Class object used in this fashion is called a type token. You can also use a custom key type. For example, you could have a DatabaseRow type representing a database row (the container), and a generic type Column<T> as its key.
Brian
What would be the various key types? Column names somehow? Or each column is a different known type for type safety, but then how do you have two columns of same type?
Effective Java
Rate this book
Clear rating
Open Preview