本文整理汇总了Java中de.invesdwin.util.math.Characters类的典型用法代码示例。如果您正苦于以下问题:Java Characters类的具体用法?Java Characters怎么用?Java Characters使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Characters类属于de.invesdwin.util.math包,在下文中一共展示了Characters类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCharacterMatrix
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char[][] getCharacterMatrix(final String variable) {
if (isNull(variable)) {
return null;
} else if (isEmpty(variable)) {
final int rows = getInteger("size(" + variable + ",1)");
final char[][] matrix = new char[rows][];
for (int i = 0; i < rows; i++) {
matrix[i] = new char[0];
}
return matrix;
} else {
final String[][] obj = getStringMatrix(variable);
return Characters.checkedCastMatrix(obj);
}
}
示例2: getCharacterVector
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char[] getCharacterVector(final String variable) {
if (isNull(variable)) {
return null;
} else if (isEmpty(variable)) {
return new char[0];
} else {
final Object obj = get(variable);
return Characters.checkedCastVector(obj);
}
}
示例3: getCharacter
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
default char getCharacter(final String variable) {
final String doubleValue = getString(variable);
return Characters.checkedCast(doubleValue);
}
示例4: getCharacterVector
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
default char[] getCharacterVector(final String variable) {
final String[] doubleValue = getStringVector(variable);
return Characters.checkedCastVector(doubleValue);
}
示例5: getCharacterMatrix
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
default char[][] getCharacterMatrix(final String variable) {
final String[][] doubleValue = getStringMatrix(variable);
return Characters.checkedCastMatrix(doubleValue);
}
示例6: getCharacter
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char getCharacter(final String variable) {
final Object obj = get(variable);
return Characters.checkedCast(obj);
}
示例7: getCharacter
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char getCharacter(final String variable) {
final String doubleValue = getString(variable);
return Characters.checkedCast(doubleValue);
}
示例8: getCharacterVector
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char[] getCharacterVector(final String variable) {
final String[] doubleValue = getStringVector(variable);
return Characters.checkedCastVector(doubleValue);
}
示例9: getCharacterMatrix
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
@Override
public char[][] getCharacterMatrix(final String variable) {
final String[][] doubleValue = getStringMatrix(variable);
return Characters.checkedCastMatrix(doubleValue);
}
示例10: checkedCast
import de.invesdwin.util.math.Characters; //导入依赖的package包/类
public static String checkedCast(final Character[] value) {
if (value == null) {
return null;
}
return checkedCast(Characters.checkedCastVector(value));
}