|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.cli.impl.lang.Util
public class Util
| Field Summary | |
|---|---|
(package private) static Object[] |
EMPTY_ARGS
. |
(package private) static Pattern |
INDENT_PATTERN
. |
static String |
MAN_TAB
. |
static String |
MAN_TAB_EXTRA
. |
(package private) static String[] |
tabIndex
. |
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | ||
|---|---|---|
private static String |
_tab(int size)
|
|
static
|
indent(int tab,
CharSequence s,
A appendable)
|
|
static
|
indent(String tab,
CharSequence s,
A appendable)
|
|
static
|
join(Iterable<? extends T>... iterables)
|
|
(package private) static String |
tab(int size)
|
|
static
|
tuples(Class<T> type,
Iterable<? extends T>... iterables)
|
|
static
|
wrap(T object)
Wrap an object with an Instance. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final Object[] EMPTY_ARGS
static final Pattern INDENT_PATTERN
public static final String MAN_TAB
public static final String MAN_TAB_EXTRA
static final String[] tabIndex
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
static String tab(int size)
private static String _tab(int size)
public static <A extends Appendable> A indent(int tab,
CharSequence s,
A appendable)
throws IOException
IOException
public static <A extends Appendable> A indent(String tab,
CharSequence s,
A appendable)
throws IOException
IOException
public static <T> Iterable<T[]> tuples(Class<T> type,
Iterable<? extends T>... iterables)
public static <T> Iterable<? extends T> join(Iterable<? extends T>... iterables)
public static <T> Instance<T> wrap(T object)
Instance.
T - the instance generic typeobject - the object to wrap
Instance wrapping the specified object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||