Class Utils

java.lang.Object
com.github.fppt.jedismock.Utils

public class Utils extends Object
Created by Xiaolu on 2015/4/21.
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • closeQuietly

      public static void closeQuietly(Closeable closeable)
    • convertToLong

      public static long convertToLong(String value)
    • convertToByte

      public static byte convertToByte(String value)
    • convertToNonNegativeInteger

      public static int convertToNonNegativeInteger(String value)
    • convertToInteger

      public static int convertToInteger(String value)
    • convertToDouble

      public static double convertToDouble(String value)
    • createRegexFromGlob

      public static String createRegexFromGlob(String glob)
    • toNanoTimeout

      public static long toNanoTimeout(String value)