Package | Description |
---|---|
org.wandora.application.gui.previews | |
org.wandora.utils |
Modifier and Type | Field and Description |
---|---|
static Functional.Fn1<Option<java.net.URI>,java.lang.String> |
PreviewUtils.makeFileURI |
Modifier and Type | Method and Description |
---|---|
static Option<java.lang.String> |
PreviewUtils.choosePath(java.util.Map<java.lang.String,java.lang.String> options,
javax.swing.JComponent dlgParent,
java.lang.String optionsPrefix) |
static Option<java.lang.String> |
PreviewUtils.getOption(java.util.Map<java.lang.String,java.lang.String> options,
java.lang.String key) |
Modifier and Type | Field and Description |
---|---|
private static Option |
Option.none_ |
Modifier and Type | Method and Description |
---|---|
static <T,C extends java.util.Collection<Option<T>>> |
Option.somes(C col)
Creates a collection containing only the actual values from a collection of options
|
Modifier and Type | Method and Description |
---|---|
<R> Option<R> |
Option.flatMap(Functional.Fn1<Option<R>,? super T> f)
Essentially the map operation from functional programming where Option
is a list that contains either 0 or 1 elements.
|
<R> Option<R> |
Option.map(Delegate<R,? super T> f)
Essentially the map operation from functional programming where Option
is a list that contains either 0 or 1 elements.
|
<R> Option<R> |
Option.map(Functional.Fn1<R,? super T> f)
Essentially the map operation from functional programming where Option
is a list that contains either 0 or 1 elements.
|
static <T> Option<T> |
Option.none()
Returns an Option that represents null
|
Option<T> |
Option.or(Option<? extends T> other)
Replaces this with other if this is empty, otherwise
yields this.
|
Option<T> |
Option.or(T other)
Replaces this with other if this is empty, otherwise
yields this.
|
static <T> Option<T> |
Option.some(T val)
Creates an Option that contains a non-null value
|
Modifier and Type | Method and Description |
---|---|
Option<T> |
Option.or(Option<? extends T> other)
Replaces this with other if this is empty, otherwise
yields this.
|
Modifier and Type | Method and Description |
---|---|
<R> Option<R> |
Option.flatMap(Functional.Fn1<Option<R>,? super T> f)
Essentially the map operation from functional programming where Option
is a list that contains either 0 or 1 elements.
|
Constructor and Description |
---|
Abortable(java.awt.Frame dialogParent,
Abortable.ImplFactory fac,
Option<java.lang.String> name) |
Copyright 2004-2015 Wandora Team