[]Struct jni_android_sys::java::util::stream::IntStream

#[repr(transparent)]
pub struct IntStream(_);

public interface IntStream

Required feature: "java-util-stream-IntStream"

Methods

impl IntStream

pub fn filter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntPredicate>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

filter

Required features: "java-util-function-IntPredicate", "java-util-stream-IntStream"

pub fn map<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntUnaryOperator>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

map

Required features: "java-util-function-IntUnaryOperator", "java-util-stream-IntStream"

pub fn mapToObj<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntFunction>>
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

mapToObj

Required features: "java-util-function-IntFunction", "java-util-stream-Stream"

pub fn mapToLong<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntToLongFunction>>
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]

mapToLong

Required features: "java-util-function-IntToLongFunction", "java-util-stream-LongStream"

pub fn mapToDouble<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntToDoubleFunction>>
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
[src]

mapToDouble

Required features: "java-util-function-IntToDoubleFunction", "java-util-stream-DoubleStream"

pub fn flatMap<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntFunction>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

flatMap

Required features: "java-util-function-IntFunction", "java-util-stream-IntStream"

pub fn distinct<'env>(
    &'env self
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

distinct

Required features: "java-util-stream-IntStream"

pub fn sorted<'env>(
    &'env self
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

sorted

Required features: "java-util-stream-IntStream"

pub fn peek<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntConsumer>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

peek

Required features: "java-util-function-IntConsumer", "java-util-stream-IntStream"

pub fn limit<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

limit

Required features: "java-util-stream-IntStream"

pub fn skip<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

skip

Required features: "java-util-stream-IntStream"

pub fn forEach<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntConsumer>>
) -> Result<(), Local<'env, Throwable>>
[src]

forEach

Required features: "java-util-function-IntConsumer"

pub fn forEachOrdered<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntConsumer>>
) -> Result<(), Local<'env, Throwable>>
[src]

forEachOrdered

Required features: "java-util-function-IntConsumer"

pub fn toArray<'env>(
    &'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]

pub fn reduce_int_IntBinaryOperator<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env IntBinaryOperator>>
) -> Result<i32, Local<'env, Throwable>>
[src]

reduce

Required features: "java-util-function-IntBinaryOperator"

pub fn reduce_IntBinaryOperator<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntBinaryOperator>>
) -> Result<Option<Local<'env, OptionalInt>>, Local<'env, Throwable>>
[src]

reduce

Required features: "java-util-OptionalInt", "java-util-function-IntBinaryOperator"

pub fn collect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>,
    arg1: impl Into<Option<&'env ObjIntConsumer>>,
    arg2: impl Into<Option<&'env BiConsumer>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

collect

Required features: "java-lang-Object", "java-util-function-BiConsumer", "java-util-function-ObjIntConsumer", "java-util-function-Supplier"

pub fn sum<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn min<'env>(
    &'env self
) -> Result<Option<Local<'env, OptionalInt>>, Local<'env, Throwable>>
[src]

min

Required features: "java-util-OptionalInt"

pub fn max<'env>(
    &'env self
) -> Result<Option<Local<'env, OptionalInt>>, Local<'env, Throwable>>
[src]

max

Required features: "java-util-OptionalInt"

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]

average

Required features: "java-util-OptionalDouble"

pub fn summaryStatistics<'env>(
    &'env self
) -> Result<Option<Local<'env, IntSummaryStatistics>>, Local<'env, Throwable>>
[src]

summaryStatistics

Required features: "java-util-IntSummaryStatistics"

pub fn anyMatch<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]

anyMatch

Required features: "java-util-function-IntPredicate"

pub fn allMatch<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]

allMatch

Required features: "java-util-function-IntPredicate"

pub fn noneMatch<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntPredicate>>
) -> Result<bool, Local<'env, Throwable>>
[src]

noneMatch

Required features: "java-util-function-IntPredicate"

pub fn findFirst<'env>(
    &'env self
) -> Result<Option<Local<'env, OptionalInt>>, Local<'env, Throwable>>
[src]

findFirst

Required features: "java-util-OptionalInt"

pub fn findAny<'env>(
    &'env self
) -> Result<Option<Local<'env, OptionalInt>>, Local<'env, Throwable>>
[src]

findAny

Required features: "java-util-OptionalInt"

pub fn asLongStream<'env>(
    &'env self
) -> Result<Option<Local<'env, LongStream>>, Local<'env, Throwable>>
[src]

asLongStream

Required features: "java-util-stream-LongStream"

pub fn asDoubleStream<'env>(
    &'env self
) -> Result<Option<Local<'env, DoubleStream>>, Local<'env, Throwable>>
[src]

asDoubleStream

Required features: "java-util-stream-DoubleStream"

pub fn boxed<'env>(
    &'env self
) -> Result<Option<Local<'env, Stream>>, Local<'env, Throwable>>
[src]

boxed

Required features: "java-util-stream-Stream"

pub fn sequential<'env>(
    &'env self
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

sequential

Required features: "java-util-stream-IntStream"

pub fn parallel<'env>(
    &'env self
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

parallel

Required features: "java-util-stream-IntStream"

pub fn iterator<'env>(
    &'env self
) -> Result<Option<Local<'env, PrimitiveIterator_OfInt>>, Local<'env, Throwable>>
[src]

iterator

Required features: "java-util-PrimitiveIterator_OfInt"

pub fn spliterator<'env>(
    &'env self
) -> Result<Option<Local<'env, Spliterator_OfInt>>, Local<'env, Throwable>>
[src]

spliterator

Required features: "java-util-Spliterator_OfInt"

pub fn builder<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, IntStream_Builder>>, Local<'env, Throwable>>
[src]

builder

Required features: "java-util-stream-IntStream_Builder"

pub fn empty<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

empty

Required features: "java-util-stream-IntStream"

pub fn of_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

of

Required features: "java-util-stream-IntStream"

pub fn of_int_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

of

Required features: "java-util-stream-IntStream"

pub fn iterate<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env IntUnaryOperator>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

iterate

Required features: "java-util-function-IntUnaryOperator", "java-util-stream-IntStream"

pub fn generate<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env IntSupplier>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

generate

Required features: "java-util-function-IntSupplier", "java-util-stream-IntStream"

pub fn range<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

range

Required features: "java-util-stream-IntStream"

pub fn rangeClosed<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

rangeClosed

Required features: "java-util-stream-IntStream"

pub fn concat<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env IntStream>>,
    arg1: impl Into<Option<&'env IntStream>>
) -> Result<Option<Local<'env, IntStream>>, Local<'env, Throwable>>
[src]

concat

Required features: "java-util-stream-IntStream"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for IntStream

impl AsRef<BaseStream> for IntStream

impl AsValidJObjectAndEnv for IntStream

impl Deref for IntStream

type Target = Object

The resulting type after dereferencing.

impl JniType for IntStream

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.