|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.sdsc.inca.consumer.Util
public class Util
Created by IntelliJ IDEA.
| Field Summary | |
|---|---|
static int |
TOOLTIP_MAX_STRING_LENGTH
|
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
formatStringAsTooltip(java.lang.String tooltipText)
Format text for a tooltip (jfreechart doesn't like ' or long strings. |
static long |
getElapsedTime(long startTime)
Small convenience function for printing out timing information. |
static long |
getTimeNow()
Small convenience function to return the current time in milliseconds. |
static void |
printElapsedTime(long startTime,
java.lang.String id)
Small convenience function for printing out timing information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TOOLTIP_MAX_STRING_LENGTH
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static java.lang.String formatStringAsTooltip(java.lang.String tooltipText)
tooltipText - A string to use for a tooltip text.
public static long getElapsedTime(long startTime)
startTime - The time at which to compute the elapsed time from now.
public static long getTimeNow()
public static void printElapsedTime(long startTime,
java.lang.String id)
startTime - The time at which to compute the elapsed time from now.id - A small identifier string that can be used in the debug
statement.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||