| Package | Description |
|---|---|
| org.bongiorno.misc.collections |
| Modifier and Type | Class and Description |
|---|---|
class |
ImprovedList<T> |
class |
ImprovedSet<T> |
class |
QuickCollection<T>
Allows you to quickly expose a wrapper class as a collection (and thus gain benefits) by
merely setting the underlying collection object
Usage note: if you intend to use this with an XML marshalled object it will go much easier if you use property
marshalling or NONE and explicitly call out the marshaling so you can set the super.delegate in the setter
method containing the delegate.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ImprovedCollection<T> |
ImprovedCollection.improve(Collection<T> sadCollection) |
static <T> ImprovedCollection<T> |
ImprovedCollection.of(Collection<T> sadCollection) |
default <O> ImprovedCollection<O> |
ImprovedCollection.transform(java.util.function.Function<? super T,? extends O> f,
java.util.function.Supplier<ImprovedCollection<O>> s) |
ImprovedCollection<V> |
QuickMap.values() |
| Modifier and Type | Method and Description |
|---|---|
default <O> ImprovedCollection<O> |
ImprovedCollection.transform(java.util.function.Function<? super T,? extends O> f,
java.util.function.Supplier<ImprovedCollection<O>> s) |
Copyright © 2015. All rights reserved.