| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static String | |
| public static String | |
| public static <T> String | |
| public static <T> String | |
| public static String | |
| public static int | |
| public static char[] | |
| public static char[] | |
| public static <T> void | |
| public static String | |
| public static String | |
| public static char[] | |
| public static Map | |
| public static IntervalSet | |
| public static void | |
| public static void |
| Utils | back to summary |
|---|---|
| public Utils() | |
| count | back to summary |
|---|---|
public static int count(String s, char x)
| |
| escapeWhitespace | back to summary |
|---|---|
| public static String escapeWhitespace(String s, boolean escapeSpaces) | |
| expandTabs | back to summary |
|---|---|
public static String expandTabs(String s, int tabSize)
| |
| join | back to summary |
|---|---|
| public static <T> String join(Iterator<T> iter, String separator) | |
| join | back to summary |
|---|---|
| public static <T> String join(T[] array, String separator) | |
| newlines | back to summary |
|---|---|
public static String newlines(int n)
| |
| 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 | |
| removeAllElements | back to summary |
|---|---|
| public static <T> void removeAllElements(Collection<T> data, T value) | |
| sequence | back to summary |
|---|---|
public static String sequence(int n, String s)
| |
| spaces | back to summary |
|---|---|
public static String spaces(int n)
| |
| toCharArray | back to summary |
|---|---|
| public static char[] toCharArray(IntegerList data) | |
| 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(String fileName, String content) throws IOException | |
| writeFile | back to summary |
|---|---|
| public static void writeFile(String fileName, String content, String encoding) throws IOException | |