public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
LogMsg(PrintStream logger,
String msg) |
static ArrayList<Integer> |
ParseCSVIntegerList(String values,
Boolean requireAtLeastOne) |
static Integer |
ParseOptionalNonNegative(String value) |
static ArrayList<Integer> |
SplitCSV(String csv) |
static String |
ToCSV(ArrayList<Integer> vals) |
static String |
Truncate(String v,
int length) |
public static Integer ParseOptionalNonNegative(String value) throws Exception
Exception
public static ArrayList<Integer> ParseCSVIntegerList(String values, Boolean requireAtLeastOne) throws Exception
Exception
public static void LogMsg(PrintStream logger, String msg)
Copyright © 2016–2019. All rights reserved.