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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> Collection<T> unmodifiable​(Collection<T> original)
      Wraps a collection in an umodifiable collection based on the interface the collection implements.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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..