当前位置: 首页>>代码示例>>Java>>正文


Java Pipe.NO_PATH_MESSAGE属性代码示例

本文整理汇总了Java中com.tinkerpop.pipes.Pipe.NO_PATH_MESSAGE属性的典型用法代码示例。如果您正苦于以下问题:Java Pipe.NO_PATH_MESSAGE属性的具体用法?Java Pipe.NO_PATH_MESSAGE怎么用?Java Pipe.NO_PATH_MESSAGE使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.tinkerpop.pipes.Pipe的用法示例。


在下文中一共展示了Pipe.NO_PATH_MESSAGE属性的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getCurrentPath

public List getCurrentPath() {
	if (this.pathEnabled) {
		final List list = this.pipeToCap.getCurrentPath();
		list.add(this.currentEnd);
		return list;
	} else {
		throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
	}
}
 
开发者ID:BrynCooke,项目名称:totorom,代码行数:9,代码来源:DivertPipe.java

示例2: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        final List list = this.pipeToCap.getCurrentPath();
        list.add(this.currentEnd);
        return list;
    } else {
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
    }
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:9,代码来源:SideEffectCapPipe.java

示例3: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        final List pathElements = new ArrayList(this.currentPath);
        final int size = pathElements.size();
        if (this instanceof TransformPipe) {
            pathElements.add(this.currentEnd);
        } else if (size == 0 || pathElements.get(size - 1) != this.currentEnd) {
            // do not repeat filters or side-effects as they dup the object
            pathElements.add(this.currentEnd);
        }
        return pathElements;
    } else {
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
    }
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:15,代码来源:OrderPipe.java

示例4: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        final List pathElements = new ArrayList(this.currentPath);
        final int size = pathElements.size();
        // do not repeat filters as they dup the object
        if (size == 0 || pathElements.get(size - 1) != this.currentEnd) {
            pathElements.add(this.currentEnd);
        }
        return pathElements;
    } else {
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
    }
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:13,代码来源:AggregatePipe.java

示例5: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        final List path = new ArrayList();
        final List currentPath = this.expando.getCurrentPath();
        if (null != currentPath)
            path.addAll(currentPath);
        path.addAll(this.pipe.getCurrentPath());
        return path;
    } else {
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
    }
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:12,代码来源:LoopPipe.java

示例6: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        int tempCurrent = this.current - 1;
        if (tempCurrent < 0)
            tempCurrent = this.total - 1;
        return this.pipes.get(tempCurrent).getCurrentPath();
    } else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:9,代码来源:FairMergePipe.java

示例7: getCurrentPath

public List getCurrentPath() {
  if (this.pathEnabled) {
    return this.currentPath;
  } else {
    throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
  }
}
 
开发者ID:pangloss,项目名称:pacer-parallel,代码行数:7,代码来源:ChannelReaderPipe.java

示例8: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled)
        return new ArrayList(this.listPaths);
    else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:GatherFunctionPipe.java

示例9: getCurrentPath

public List getCurrentPath() {
    if (pathEnabled)
        return new ArrayList(this.listPaths);
    else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:ShufflePipe.java

示例10: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled)
        return this.endPipe.getCurrentPath();
    else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:Pipeline.java

示例11: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled) {
        return new ArrayList(this.paths.peek());
    } else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:CopySplitPipe.java

示例12: getCurrentPath

public List getCurrentPath() {
    if (this.pathEnabled)
        return this.pipes.get(this.current).getCurrentPath();
    else
        throw new RuntimeException(Pipe.NO_PATH_MESSAGE);
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:ExhaustMergePipe.java


注:本文中的com.tinkerpop.pipes.Pipe.NO_PATH_MESSAGE属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。