Class GenericsExamples.RankedFeature
java.lang.Object
net.jrodolfo.java_evolution.java05.GenericsExamples.RankedFeature
- All Implemented Interfaces:
GenericsExamples.NamedFeature, GenericsExamples.PrioritizedFeature
- Enclosing class:
GenericsExamples
public static class GenericsExamples.RankedFeature
extends Object
implements GenericsExamples.NamedFeature, GenericsExamples.PrioritizedFeature
Concrete type that satisfies both bounds.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RankedFeature
-
-
Method Details
-
name
Description copied from interface:GenericsExamples.NamedFeatureReturns the feature name.- Specified by:
namein interfaceGenericsExamples.NamedFeature- Returns:
- feature name
-
priority
public int priority()Description copied from interface:GenericsExamples.PrioritizedFeatureReturns the feature priority.- Specified by:
priorityin interfaceGenericsExamples.PrioritizedFeature- Returns:
- feature priority
-