本文整理了Java中cyclops.reactive.ReactiveSeq.removeValue
方法的一些代码示例,展示了ReactiveSeq.removeValue
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ReactiveSeq.removeValue
方法的具体详情如下:
包路径:cyclops.reactive.ReactiveSeq
类名称:ReactiveSeq
方法名:removeValue
[英]Remove first occurance of the specified element from the ReactiveSeq
ReactiveSeq.of(1,2,3,4,5,1,2,3).removeValue(1)
[中]从ReactiveSeq中删除指定元素的首次出现
ReactiveSeq.of(1,2,3,4,5,1,2,3).removeValue(1)
代码示例来源:origin: aol/cyclops
default IterableX<T> removeValue(T value){
return unitIterable(stream().removeValue(value));
}
代码示例来源:origin: aol/cyclops
/**
* Remove all occurances of the specified element from the Streamable
* <pre>
* {@code
* Streamable.of(1,2,3,4,5,1,2,3).removeValue(1)
*
* //Streamable[2,3,4,5,2,3]
* }
* </pre>
*
* @param t element to removeValue
* @return Filtered Streamable
*/
default Streamable<T> removeValue(final T t) {
return Streamable.fromStream(this.stream().removeValue(t));
}
代码示例来源:origin: com.oath.cyclops/cyclops-futurestream
/**
* Remove all occurances of the specified element from the Stream
* <pre>
* {@code
* FutureStream.of(1,2,3,4,5,1,2,3).removeValue(1)
*
* //FutureStream[2,3,4,5,2,3]
* }
* </pre>
*
* @param t element to removeValue
* @return Filtered Stream
*/
@Override
default FutureStream<U> removeValue(final U t) {
return (FutureStream<U>) ReactiveSeq.super.removeValue(t);
}
代码示例来源:origin: com.oath.cyclops/cyclops
default IterableX<T> removeValue(T value){
return unitIterable(stream().removeValue(value));
}
代码示例来源:origin: com.oath.cyclops/cyclops
/**
* Remove all occurances of the specified element from the Streamable
* <pre>
* {@code
* Streamable.of(1,2,3,4,5,1,2,3).removeValue(1)
*
* //Streamable[2,3,4,5,2,3]
* }
* </pre>
*
* @param t element to removeValue
* @return Filtered Streamable
*/
default Streamable<T> removeValue(final T t) {
return Streamable.fromStream(this.stream().removeValue(t));
}
内容来源于网络,如有侵权,请联系作者删除!