[−]Struct jni_android_sys::java::util::stream::LongStream
public interface LongStream
Required feature: "java-util-stream-LongStream"
Methods
impl LongStream
pub fn filter<'env>(
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongPredicate", "java-util-stream-LongStream"
pub fn map<'env>(
&'env self,
arg0: impl Into<Option<&'env LongUnaryOperator>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongUnaryOperator>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongUnaryOperator", "java-util-stream-LongStream"
pub fn mapToObj<'env>(
&'env self,
arg0: impl Into<Option<&'env LongFunction>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongFunction>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongFunction", "java-util-stream-Stream"
pub fn mapToInt<'env>(
&'env self,
arg0: impl Into<Option<&'env LongToIntFunction>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongToIntFunction>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongToIntFunction", "java-util-stream-IntStream"
pub fn mapToDouble<'env>(
&'env self,
arg0: impl Into<Option<&'env LongToDoubleFunction>>
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongToDoubleFunction>>
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongToDoubleFunction", "java-util-stream-DoubleStream"
pub fn flatMap<'env>(
&'env self,
arg0: impl Into<Option<&'env LongFunction>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongFunction>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongFunction", "java-util-stream-LongStream"
pub fn distinct<'env>(
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn sorted<'env>(
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn peek<'env>(
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongConsumer", "java-util-stream-LongStream"
pub fn limit<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn skip<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn forEach<'env>(
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-function-LongConsumer"
pub fn forEachOrdered<'env>(
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongConsumer>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-function-LongConsumer"
pub fn toArray<'env>(
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
pub fn reduce_long_LongBinaryOperator<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env LongBinaryOperator>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env LongBinaryOperator>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-util-function-LongBinaryOperator"
pub fn reduce_LongBinaryOperator<'env>(
&'env self,
arg0: impl Into<Option<&'env LongBinaryOperator>>
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongBinaryOperator>>
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
Required features: "java-util-OptionalLong", "java-util-function-LongBinaryOperator"
pub fn collect<'env>(
&'env self,
arg0: impl Into<Option<&'env Supplier>>,
arg1: impl Into<Option<&'env ObjLongConsumer>>,
arg2: impl Into<Option<&'env BiConsumer>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Supplier>>,
arg1: impl Into<Option<&'env ObjLongConsumer>>,
arg2: impl Into<Option<&'env BiConsumer>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-util-function-BiConsumer", "java-util-function-ObjLongConsumer", "java-util-function-Supplier"
pub fn sum<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn min<'env>(
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
Required features: "java-util-OptionalLong"
pub fn max<'env>(
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
Required features: "java-util-OptionalLong"
pub fn count<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn average<'env>(
&'env self
) -> Result<Option<Local<'env, OptionalDouble>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OptionalDouble>>, Local<'env, Throwable>>
Required features: "java-util-OptionalDouble"
pub fn summaryStatistics<'env>(
&'env self
) -> Result<Option<Local<'env, LongSummaryStatistics>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongSummaryStatistics>>, Local<'env, Throwable>>
Required features: "java-util-LongSummaryStatistics"
pub fn anyMatch<'env>(
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-function-LongPredicate"
pub fn allMatch<'env>(
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-function-LongPredicate"
pub fn noneMatch<'env>(
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongPredicate>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-function-LongPredicate"
pub fn findFirst<'env>(
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
Required features: "java-util-OptionalLong"
pub fn findAny<'env>(
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OptionalLong>>, Local<'env, Throwable>>
Required features: "java-util-OptionalLong"
pub fn asDoubleStream<'env>(
&'env self
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-DoubleStream"
pub fn boxed<'env>(
&'env self
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
Required features: "java-util-stream-Stream"
pub fn sequential<'env>(
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn parallel<'env>(
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn iterator<'env>(
&'env self
) -> Result<Option<Local<'env, PrimitiveIterator_OfLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PrimitiveIterator_OfLong>>, Local<'env, Throwable>>
Required features: "java-util-PrimitiveIterator_OfLong"
pub fn spliterator<'env>(
&'env self
) -> Result<Option<Local<'env, Spliterator_OfLong>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Spliterator_OfLong>>, Local<'env, Throwable>>
Required features: "java-util-Spliterator_OfLong"
pub fn builder<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, LongStream_Builder>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, LongStream_Builder>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream_Builder"
pub fn empty<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn of_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn of_long_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn iterate<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: impl Into<Option<&'env LongUnaryOperator>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: impl Into<Option<&'env LongUnaryOperator>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongUnaryOperator", "java-util-stream-LongStream"
pub fn generate<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongSupplier>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongSupplier>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-function-LongSupplier", "java-util-stream-LongStream"
pub fn range<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn rangeClosed<'env>(
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64,
arg1: i64
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
pub fn concat<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongStream>>,
arg1: impl Into<Option<&'env LongStream>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongStream>>,
arg1: impl Into<Option<&'env LongStream>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
Required features: "java-util-stream-LongStream"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for LongStream
impl AsRef<BaseStream> for LongStream
fn as_ref(&self) -> &BaseStream
impl AsValidJObjectAndEnv for LongStream
impl Deref for LongStream
impl JniType for LongStream
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for LongStream
impl !Send for LongStream
impl !Sync for LongStream
impl Unpin for LongStream
impl UnwindSafe for LongStream
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,