| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
Osgl.Val<T> |
static class |
Osgl.Var<T> |
| Modifier and Type | Method and Description |
|---|---|
C.Set<T> |
Osgl.Var.onlyIn(Collection<? extends T> col) |
C.Set<T> |
Osgl.Var.withIn(Collection<T> col) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
C.ListOrSet<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
SetBase<T> |
| Modifier and Type | Field and Description |
|---|---|
static C.Set |
C.EMPTY_SET |
| Modifier and Type | Method and Description |
|---|---|
C.Set<T> |
C.Set.accept(Osgl.Function<? super T,?> visitor) |
C.Set<T> |
C.Set.each(Osgl.Function<? super T,?> visitor) |
C.Set<T> |
C.Set.eager() |
C.Set<T> |
SetBase.eager() |
C.Set<Map.Entry<K,V>> |
C.Map.entrySet() |
C.Set<T> |
C.Set.filter(Osgl.Function<? super T,Boolean> predicate) |
C.Set<T> |
SetBase.filter(Osgl.Function<? super T,Boolean> predicate) |
<R> C.Set<R> |
SetBase.flatMap(Osgl.Function<? super T,? extends Iterable<? extends R>> mapper) |
C.Set<T> |
C.Set.forEach(Osgl.Function<? super T,?> visitor) |
C.Set<T> |
C.Set.lazy() |
C.Set<T> |
SetBase.lazy() |
<R> C.Set<R> |
SetBase.map(Osgl.Function<? super T,? extends R> mapper) |
static <T> C.Set<T> |
C.newSet()
Create an new empty set
|
static <T> C.Set<T> |
C.newSet(Collection<? extends T> col)
Create an new set with all elements contained in the collection
specified
|
C.Set<T> |
C.Set.onlyIn(Collection<? extends T> col)
Returns a set contains all elements in the
col
collection specified but not in this set |
C.Set<T> |
SetBase.onlyIn(Collection<? extends T> col) |
C.Set<T> |
C.Set.parallel() |
C.Set<T> |
SetBase.parallel() |
C.Set<T> |
C.Set.sequential() |
C.Set<T> |
SetBase.sequential() |
static <T> C.Set<T> |
C.set()
Create an empty immutable set
|
static <T> C.Set<T> |
C.set(Collection<? extends T> col)
Create an immutable set of all elements contained in the collection specified
|
static <T> C.Set<T> |
C.set(Iterable<? extends T> itr)
Create an immutable set of all elements supplied by the iterable specified
|
static <T> C.Set<T> |
C.set(T element)
Create an immutable set of a single element
|
static <T> C.Set<T> |
C.set(T t1,
T... ta)
Create an immutable set contains specified elements
|
static <T> C.Set<T> |
C.setOf(T... ta)
Create an immutable set of an array of elements
|
C.Set<T> |
ListBuilder.toSet() |
C.Set<T> |
C.Set.withIn(Collection<T> col)
Returns a set contains only elements in both
col
collection specified and this set |
C.Set<T> |
SetBase.withIn(Collection<T> col) |
C.Set<T> |
C.Set.without(Collection<? super T> col)
Returns a set contains all elements in this set and not in
the
col collection specified |
C.Set<T> |
SetBase.without(Collection<? super T> col) |
C.Set<T> |
C.Set.without(T element)
Returns a set contains all elements in the set except the
one specified
|
C.Set<T> |
SetBase.without(T element) |
C.Set<T> |
C.Set.without(T element,
T... elements)
Returns a set contains all elements in the set except the
ones specified
|
C.Set<T> |
SetBase.without(T element,
T... elements) |
Copyright © 2017. All Rights Reserved.