本文整理了Java中com.alibaba.citrus.util.Assert.unsupportedOperation()
方法的一些代码示例,展示了Assert.unsupportedOperation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Assert.unsupportedOperation()
方法的具体详情如下:
包路径:com.alibaba.citrus.util.Assert
类名称:Assert
方法名:unsupportedOperation
[英]不支持的操作。
[中]不支持的操作。
代码示例来源:origin: webx/citrus
/** 不支持的操作。 */
public static <T> T unsupportedOperation() {
unsupportedOperation(null, (Object[]) null);
return null;
}
代码示例来源:origin: webx/citrus
/** 不支持的操作。 */
public static <T> T unsupportedOperation() {
unsupportedOperation(null, (Object[]) null);
return null;
}
代码示例来源:origin: webx/citrus
public String[] setValue(String[] value) {
unsupportedOperation();
return null;
}
}
代码示例来源:origin: webx/citrus
/** 不支持的操作。 */
public static <T> T unsupportedOperation() {
unsupportedOperation(null, (Object[]) null);
return null;
}
代码示例来源:origin: webx/citrus
public String[] setValue(String[] value) {
unsupportedOperation();
return null;
}
}
代码示例来源:origin: webx/citrus
public WebxController getWebxController() {
unsupportedOperation("RootComponent.getWebxController()");
return null;
}
代码示例来源:origin: webx/citrus
public final void remove() {
unsupportedOperation("remove");
}
};
代码示例来源:origin: webx/citrus
public void remove() {
unsupportedOperation("remove()");
}
};
代码示例来源:origin: webx/citrus
public final void remove() {
unsupportedOperation("remove");
}
};
代码示例来源:origin: webx/citrus
public final void remove() {
unsupportedOperation("remove");
}
};
代码示例来源:origin: webx/citrus
protected void add(String key, String value) {
unsupportedOperation("You should extend class " + getClass().getSimpleName()
+ " and override method add(String, String)");
}
代码示例来源:origin: webx/citrus
protected void add(String key, String value) {
unsupportedOperation("You should extend class " + getClass().getSimpleName()
+ " and override method add(String, String)");
}
代码示例来源:origin: webx/citrus
@Override
public CharsetEncoder newEncoder() {
unsupportedOperation("Could not create encoder for unknown charset: " + name());
return null;
}
}
代码示例来源:origin: webx/citrus
@Override
public CharsetDecoder newDecoder() {
unsupportedOperation("Could not create decoder for unknown charset: " + name());
return null;
}
代码示例来源:origin: webx/citrus
@Override
public CharsetEncoder newEncoder() {
unsupportedOperation("Could not create encoder for unknown charset: " + name());
return null;
}
}
代码示例来源:origin: webx/citrus
@Override
public CharsetDecoder newDecoder() {
unsupportedOperation("Could not create decoder for unknown charset: " + name());
return null;
}
代码示例来源:origin: webx/citrus
@Override
public CharsetEncoder newEncoder() {
unsupportedOperation("Could not create encoder for unknown charset: " + name());
return null;
}
}
代码示例来源:origin: webx/citrus
@Override
public CharsetDecoder newDecoder() {
unsupportedOperation("Could not create decoder for unknown charset: " + name());
return null;
}
代码示例来源:origin: webx/citrus
@Override
public Resource createRelative(String relativePath) throws IOException {
if (loader == null) {
unsupportedOperation("no ResourceLoadingSupport");
return null;
}
String pathToUse = StringUtils.applyRelativePath(location, relativePath);
return loader.getResourceByPath(pathToUse);
}
代码示例来源:origin: webx/citrus
@Override
public Resource createRelative(String relativePath) throws IOException {
if (loader == null) {
unsupportedOperation("no ResourceLoadingSupport");
return null;
}
String pathToUse = StringUtils.applyRelativePath(location, relativePath);
return loader.getResourceByPath(pathToUse);
}
内容来源于网络,如有侵权,请联系作者删除!