public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeWhitespace(String s,
boolean escapeSpaces) |
static <T> String |
join(Iterator<T> iter,
String separator) |
static int |
numNonnull(Object[] data) |
static <T> void |
removeAllElements(Collection<T> data,
T value) |
static void |
waitForClose(Window window) |
static void |
writeFile(String fileName,
String content) |
public static int numNonnull(Object[] data)
public static <T> void removeAllElements(Collection<T> data, T value)
public static void writeFile(String fileName, String content) throws IOException
IOException
public static void waitForClose(Window window) throws InterruptedException
InterruptedException
Copyright © 1992-2013 ANTLR. All Rights Reserved.