|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.common.Helper
public class Helper
Provides utility methods when translating from C# to Java.
Constructor Summary | |
---|---|
Helper()
|
Method Summary | ||
---|---|---|
static
|
as(_S o,
java.lang.Class c)
Performs a try cast of o to class c. |
|
static
|
getLength(_T[][] array,
int dimension)
Returns the specified dimension of the specified two-dimensional array. |
|
static int |
getLength(double[][] array,
int dimension)
Returns the specified dimension of the specified two-dimensional array. |
|
static int |
getLength(float[][] array,
int dimension)
Returns the specified dimension of the specified two-dimensional array. |
|
static int |
getLength(int[][] array,
int dimension)
Returns the specified dimension of the specified two-dimensional array. |
|
static int |
getLength(short[][] array,
int dimension)
Returns the specified dimension of the specified two-dimensional array. |
|
static
|
nc(_S1 s1,
_S2 s2)
Performs a null-coalescing of the specified arguments. |
|
static
|
raise(javax.swing.event.EventListenerList listenerList,
com.mindfusion.common.event<_L,_E> e,
java.lang.Object source,
_E args)
Raises the specified event with the specified argument on the listeners in the specified list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Helper()
Method Detail |
---|
public static <_T,_S> _T as(_S o, java.lang.Class c)
public static <_T,_S1,_S2> _T nc(_S1 s1, _S2 s2)
public static <_L extends java.util.EventListener,_E extends java.util.EventObject> void raise(javax.swing.event.EventListenerList listenerList, com.mindfusion.common.event<_L,_E> e, java.lang.Object source, _E args)
public static <_T> int getLength(_T[][] array, int dimension)
public static int getLength(int[][] array, int dimension)
public static int getLength(double[][] array, int dimension)
public static int getLength(float[][] array, int dimension)
public static int getLength(short[][] array, int dimension)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |