Some<A> class
Constructors
-
Some(A _a)
-
const
Properties
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ A
-
no setter
Methods
-
all(bool f(A a))
→ bool
-
inherited
-
andThen<B>(covariant Option<B> next)
→ Option<B>
-
inherited
-
any(bool f(A a))
→ bool
-
inherited
-
ap<B>(covariant Option<Function1<A, B>> ff)
→ Option<B>
-
inherited
-
appendElement(A a)
→ Option<A>
-
inherited
-
bind<B>(covariant Function1<A, Option<B>> f)
→ Option<B>
-
inherited
-
cata<B, B2 extends B>(B ifNone(), B2 ifSome(A a))
→ B
-
inherited
-
concatenate(Monoid<A> mi)
→ A
-
inherited
-
concatenateO(Semigroup<A> si)
→ Option<A>
-
inherited
-
every(bool f(A a))
→ bool
-
inherited
-
filter(bool predicate(A a))
→ Option<A>
-
inherited
-
flatMap<B>(covariant Function1<A, Option<B>> f)
→ Option<B>
-
inherited
-
fold<B>(B ifNone(), B ifSome(A a))
→ B
-
override
-
foldLeft<B>(B z, B f(B previous, A a))
→ B
-
inherited
-
foldLeftWithIndex<B>(B z, B f(B previous, int i, A a))
→ B
-
inherited
-
foldMap<B>(Monoid<B> bMonoid, B f(A a))
→ B
-
inherited
-
foldMapO<B>(Semigroup<B> si, B f(A a))
→ Option<B>
-
inherited
-
foldRight<B>(B z, B f(A a, B previous))
→ B
-
inherited
-
foldRightWithIndex<B>(B z, B f(int i, A a, B previous))
→ B
-
inherited
-
forEach(void sideEffect(A a))
→ void
-
inherited
-
getOrElse(A dflt())
→ A
-
inherited
-
intercalate(Monoid<A> mi, A a)
→ A
-
inherited
-
isNone()
→ bool
-
inherited
-
isSome()
→ bool
-
inherited
-
iterator()
→ Iterator<A>
-
inherited
-
length()
→ int
-
inherited
-
map<B>(B f(A a))
→ Option<B>
-
inherited
-
mapWithIndex<B>(B f(int i, A a))
→ Option<B>
-
inherited
-
maximum(Order<A> oa)
→ Option<A>
-
inherited
-
minimum(Order<A> oa)
→ Option<A>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
orElse(Option<A> other())
→ Option<A>
-
inherited
-
partition(bool f(A a))
→ Tuple2<Option<A>, Option<A>>
-
inherited
-
plus(covariant Option<A> o2)
→ Option<A>
-
inherited
-
prependElement(A a)
→ Option<A>
-
inherited
-
replace<B>(B replacement)
→ Option<B>
-
inherited
-
reverse()
→ Option<A>
-
inherited
-
strengthL<B>(B b)
→ Option<Tuple2<B, A>>
-
inherited
-
strengthR<B>(B b)
→ Option<Tuple2<A, B>>
-
inherited
-
toEither<B>(B ifNone())
→ Either<B, A>
-
inherited
-
toIterable()
→ Iterable<A>
-
inherited
-
toNullable()
→ A?
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
traverseFree<F, B>(Free<F, B> f(A a))
→ Free<F, Option<B>>
-
inherited
-
traverseFuture<B>(Future<B> f(A a))
→ Future<Option<B>>
-
inherited
-
traverseIList<B>(IList<B> f(A a))
→ IList<Option<B>>
-
inherited
-
traverseIVector<B>(IVector<B> f(A a))
→ IVector<Option<B>>
-
inherited
-
traverseState<S, B>(State<S, B> f(A a))
→ State<S, Option<B>>
-
inherited
-
traverseTask<B>(Task<B> f(A a))
→ Task<Option<B>>
-
inherited
-
where(bool predicate(A a))
→ Option<A>
-
inherited
-
zipWithIndex()
→ Option<Tuple2<int, A>>
-
inherited