| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public static boolean | |
| public static String | |
| public static String | |
| public static <T> String | |
| public static <T> String | |
| public static int | |
| public static char[] | |
| public static char[] | |
| public static <T> void | |
| public static <T> void | |
| public static <T> void | |
| public static char[] | |
| public static Map | |
| public static IntervalSet | |
| public static void | |
| public static void | |
| public static void |
| Utils | back to summary |
|---|---|
| public Utils() | |
| charArraySize | back to summary |
|---|---|
| private static int charArraySize(IntegerList data) | |
| equals | back to summary |
|---|---|
| public static boolean equals(Object x, Object y) | |
| escapeWhitespace | back to summary |
|---|---|
| public static String escapeWhitespace(String s, boolean escapeSpaces) | |
| join | back to summary |
|---|---|
| public static String join(Iterable<?> iter, String separator) | |
| join | back to summary |
|---|---|
| public static <T> String join(T[] array, String separator) | |
| join | back to summary |
|---|---|
| public static <T> String join(Iterator<T> iter, String separator) | |
| numNonnull | back to summary |
|---|---|
| public static int numNonnull(Object[] data) | |
| readFile | back to summary |
|---|---|
public static char[] readFile(String fileName) throws IOException
| |
| readFile | back to summary |
|---|---|
public static char[] readFile(String fileName, String encoding) throws IOException
| |
| removeAll | back to summary |
|---|---|
| public static <T> void removeAll(List<T> list, Predicate<? super T> predicate) | |
| removeAll | back to summary |
|---|---|
| public static <T> void removeAll(Iterable<T> iterable, Predicate<? super T> predicate) | |
| removeAllElements | back to summary |
|---|---|
| public static <T> void removeAllElements(Collection<T> data, T value) | |
| toCharArray | back to summary |
|---|---|
| public static char[] toCharArray(IntegerList data) Convert the list to a UTF-16 encoded char array. If all values are less than the 0xFFFF 16-bit code point limit then this is just a char array of 16-bit char as usual. For values in the supplementary range, encode them as two UTF-16 code units. | |
| toMap | back to summary |
|---|---|
| public static Map Convert array of strings to string→index map. Useful for converting rulenames to name→ruleindex map. | |
| toSet | back to summary |
|---|---|
public static IntervalSet toSet(BitSet bits)
| |
| writeFile | back to summary |
|---|---|
| public static void writeFile(File file, byte[] content) throws IOException | |
| writeFile | back to summary |
|---|---|
| public static void writeFile(String fileName, String content) throws IOException | |
| writeFile | back to summary |
|---|---|
| public static void writeFile(String fileName, String content, String encoding) throws IOException | |