Package qilin.util

Class Util

java.lang.Object
qilin.util.Util

public class Util extends Object
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • toUtf8

      public static byte[] toUtf8(String s)
    • addToMap

      public static <K, V> boolean addToMap(Map<K,Set<V>> map, K key, V value)
    • removeFromMap

      public static <K, V> boolean removeFromMap(Map<K,Set<V>> map, K key, V value)
    • add

      public static <T> void add(Map<String,T> map, T name, String... aliases)
    • concat

      public static String[] concat(String[] a, String[] b)
    • writeToFile

      public static void writeToFile(String file, String content)
    • stripQuotes

      public static String stripQuotes(CharSequence s)