Class GenericsExamples.PlatformFeature
java.lang.Object
net.jrodolfo.java_evolution.java05.GenericsExamples.PlatformFeature
- All Implemented Interfaces:
GenericsExamples.ReleaseFeature
- Enclosing class:
GenericsExamples
public static class GenericsExamples.PlatformFeature
extends Object
implements GenericsExamples.ReleaseFeature
Platform-level feature used by the wildcard example.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns a small teaching-oriented importance score.
-
Constructor Details
-
PlatformFeature
public PlatformFeature(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
-