Class GenericsExamples.LanguageFeature
java.lang.Object
net.jrodolfo.java_evolution.java05.GenericsExamples.LanguageFeature
- All Implemented Interfaces:
GenericsExamples.ReleaseFeature
- Enclosing class:
GenericsExamples
public static class GenericsExamples.LanguageFeature
extends Object
implements GenericsExamples.ReleaseFeature
Language-level feature used by the wildcard example.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns a small teaching-oriented importance score.
-
Constructor Details
-
LanguageFeature
public LanguageFeature(int importance)
-
-
Method Details
-
importance
public int importance()Description copied from interface:GenericsExamples.ReleaseFeatureReturns a small teaching-oriented importance score.- Specified by:
importancein interfaceGenericsExamples.ReleaseFeature- Returns:
- importance score
-