Object NasFlag.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • of

         final static NasFlag<String> of(String key, String defaultValue, Integer getType, Integer putType)

        Creates a flag of type String.

        Parameters:
        key - the key of flag.
        defaultValue - the default value of flag.
        getType - the get type of flag.
        putType - the put type of flag.
        Returns:

        a flag of type String.

      • of

         final static NasFlag<Boolean> of(String key, Boolean defaultValue, Integer getType, Integer putType)

        Creates a flag of type Boolean.

        Parameters:
        key - the key of flag.
        defaultValue - the default value of flag.
        getType - the get type of flag.
        putType - the put type of flag.
        Returns:

        a flag of type Boolean.

      • of

         final static NasFlag<Integer> of(String key, Integer defaultValue, Integer getType, Integer putType)

        Creates a flag of type Int.

        Parameters:
        key - the key of flag.
        defaultValue - the default value of flag.
        getType - the get type of flag.
        putType - the put type of flag.
        Returns:

        a flag of type Int.