Interface AbstractPortableFeature

    • Method Detail

      • getActive

        static <T> T getActive​(List<? extends Feature> features,
                               Class<T> type)
        Convenience method to extract a feature by type from an active list.
        Parameters:
        features - the given feature list
        type - the feature type required
        Returns:
        the feature of the specified type if active