table of Contents
1 keyword
native: This method is implemented by other languages such as C / C ++, just call in Java.
2 Generic
Several commonly used generic representation:
E - Element (used in the collection, since the collection is stored in the element)
T - the Type (the Java classes)
K - Key (key)
V - the Value (Value)
N - Number The (Value Type)
-? Indefinite represented java Types of
T bean ;
Class<T> bean;
Class<?> bean;
T represents a single type, and Class <T> and Class <?> Represent this class corresponding to the type
Class <T> In the example of the time, T to be replaced with a concrete class
Class <?> It's a wildcard generics? Can represent any type
<? Extends T> system with limited, represents a subclass of T is unknown.
<? Super T> limit unified distribution, represents an unknown parent class T.
0