本文整理了Java中javaslang.control.Validation.get()
方法的一些代码示例,展示了Validation.get()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Validation.get()
方法的具体详情如下:
包路径:javaslang.control.Validation
类名称:Validation
方法名:get
暂无
代码示例来源:origin: com.io7m.smfj/io7m-smfj-format-text
final SMFFormatVersion version = v_version.get();
super.events.onVersionReceived(version);
switch (version.major()) {
代码示例来源:origin: com.io7m.smfj/com.io7m.smfj.validation.main
this.parseStatementIdentifier(line);
if (result.isValid()) {
final SMFSchemaIdentifier p = result.get();
this.received_identifier = true;
builder.setSchemaIdentifier(p);
this.parseStatementCoordinates(line);
if (result.isValid()) {
builder.setRequiredCoordinateSystem(result.get());
return errors;
this.parseStatementRequireVertices(line);
if (result.isValid()) {
builder.setRequireVertices(result.get());
return errors;
this.parseStatementRequireTriangles(line);
if (result.isValid()) {
builder.setRequireTriangles(result.get());
return errors;
this.parseStatementAttribute(line);
if (result.isValid()) {
final Tuple2<Boolean, SMFSchemaAttribute> p = result.get();
final boolean required = p._1.booleanValue();
if (required) {
代码示例来源:origin: com.io7m.smfj/com.io7m.smfj.bytebuffer
this.config = result.get();
代码示例来源:origin: com.io7m.smfj/com.io7m.smfj.validation.main
final SMFSchemaVersion version = r_version.get();
if (version.major() == 1) {
return new ParserV1(version, reader, this.uri).parseSchema();
代码示例来源:origin: com.io7m.smfj/com.io7m.smfj.processing.main
final Validation<List<SMFErrorType>, SMFSchema> result_schema = parser.parseSchema();
if (result_schema.isValid()) {
final SMFSchema schema = result_schema.get();
final Validation<List<SMFErrorType>, SMFHeader> result_valid =
validator.validate(m.header(), schema);
内容来源于网络,如有侵权,请联系作者删除!