public class MiscImpl extends Object
Modifier and Type | Field and Description |
---|---|
static String |
blanks |
static String |
dots |
Constructor and Description |
---|
MiscImpl() |
Modifier and Type | Method and Description |
---|---|
static String |
elide(String s,
int n) |
static String |
elide(String s,
int n,
boolean pad) |
static String |
getCaller() |
static StringBuilder |
getCallers(int s,
int n) |
static String |
replaceWhiteSpace(String s,
String replacement) |
static void |
timeLoops(String title,
int iterations,
Callable<Object> r) |
public static final String blanks
public static final String dots
public static StringBuilder getCallers(int s, int n)
s
- starting frames above invokern
- max number of callers to returnpublic static String getCaller()
Copyright © 2018. All rights reserved.