Class StarredAdaptive


  • public class StarredAdaptive
    extends java.lang.Object
    Class used to star properties and to make them adaptive (most used).
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.StringgetSettings()
      Gets the settings to save.
      static booleanisPropertyStarred​(java.lang.String name)
      Checks if a property is starred.
      static voidloadSettings​(java.lang.String setting)
      Loads the settings.
      static voidmarkRecentlyUsed​(java.lang.String name)
      Marks the property as recently used.
      static voidsetPropertyStarred​(java.lang.String name, boolean isStarred)
      Stars the property name specified.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadSettings

        public static void loadSettings​(java.lang.String setting)
        Loads the settings.
      • getSettings

        public static java.lang.String getSettings()
        Gets the settings to save.
      • setPropertyStarred

        public static void setPropertyStarred​(java.lang.String name,
                                              boolean isStarred)
        Stars the property name specified.
      • isPropertyStarred

        public static boolean isPropertyStarred​(java.lang.String name)
        Checks if a property is starred.
      • markRecentlyUsed

        public static void markRecentlyUsed​(java.lang.String name)
        Marks the property as recently used.