Class FeatureImplUtils


  • public class FeatureImplUtils
    extends Object
    Utility class used by feature model implementation.

    This class is only for use internally and is not meant to be called by client code.

    Author:
    Justin Deoliveira, The Open Planning Project
    • Constructor Detail

      • FeatureImplUtils

        public FeatureImplUtils()
    • Method Detail

      • unmodifiable

        public static <T> Collection<T> unmodifiable​(Collection<T> original)
        Wraps a collection in an umodifiable collection based on the interface the collection implements.

        A list will result in an umodifiable list, a set in an unmodifiable set, etc..