| Modifier and Type | Class and Description |
|---|---|
static class |
IO.ConvertToPathFunction |
| Modifier and Type | Method and Description |
|---|---|
static <V,N> void |
Functional.each(Collection<V> array,
Function<V,N> function) |
static <V,N> void |
Functional.each(Iterable<V> array,
Function<V,N> function) |
static <V,N> void |
Functional.each(V[] array,
Function<V,N> function) |
static <V,N> List<N> |
Lists.mapBy(Collection<V> array,
Function<V,N> function) |
static <V,N> List<N> |
Lists.mapBy(Iterable<V> array,
Function<V,N> function) |
static <V,N> List<N> |
Lists.mapBy(V[] array,
Function<V,N> function) |
| Modifier and Type | Method and Description |
|---|---|
static <TO,FROM> List<TO> |
Conversions.mapFilterNulls(Function<FROM,TO> converter,
List<FROM> fromList) |
| Modifier and Type | Class and Description |
|---|---|
static class |
MapObjectConversion.FieldToEntryConverter
Converts a field access set into a collection of map entries.
|
| Modifier and Type | Method and Description |
|---|---|
static Selector |
Selector.selectAs(String propName,
String alias,
Function transform)
Selects but allows having a different alias for the output.
|
| Modifier and Type | Method and Description |
|---|---|
RepoBuilder |
RepoBuilder.keyGetter(String propertyName,
Function<?,?> key) |
RepoBuilder |
RepoBuilder.lookupIndexFactory(Function<Class,LookupIndex> factory) |
RepoBuilder |
RepoBuilder.searchIndexFactory(Function<Class,SearchIndex> factory) |
static void |
Repos.setDefaultSearchIndexFactory(Function<Class,SearchIndex> factory) |
void |
LookupIndex.setInputKeyTransformer(Function<Object,KEY> func) |
void |
LookupIndex.setKeyGetter(Function<ITEM,KEY> keyGetter) |
static void |
Repos.setLookupIndexFactory(Function<Class,LookupIndex> factory) |
static void |
Repos.setUniqueLookupIndexFactory(Function<Class,LookupIndex> factory) |
static void |
Repos.setUniqueSearchIndexFactory(Function<Class,SearchIndex> factory) |
RepoBuilder |
RepoBuilder.uniqueLookupIndexFactory(Function<Class,LookupIndex> factory) |
RepoBuilder |
RepoBuilder.uniqueSearchIndexFactory(Function<Class,SearchIndex> factory) |
| Modifier and Type | Field and Description |
|---|---|
protected Function<ITEM,KEY> |
SearchableCollectionDefault.primaryKeyGetter |
| Modifier and Type | Method and Description |
|---|---|
RepoBuilder |
RepoBuilderDefault.keyGetter(String propertyName,
Function<?,?> keyGetter) |
RepoBuilder |
RepoBuilderDefault.lookupIndexFactory(Function<Class,LookupIndex> factory) |
RepoBuilder |
RepoBuilderDefault.searchIndexFactory(Function<Class,SearchIndex> factory) |
void |
SearchableCollectionDefault.setPrimaryKeyGetter(Function getter) |
RepoBuilder |
RepoBuilderDefault.uniqueLookupIndexFactory(Function<Class,LookupIndex> factory) |
RepoBuilder |
RepoBuilderDefault.uniqueSearchIndexFactory(Function<Class,SearchIndex> factory) |
| Modifier and Type | Field and Description |
|---|---|
protected Function<ITEM,KEY> |
UniqueLookupIndex.keyGetter |
protected Function<ITEM,KEY> |
LookupIndexDefault.keyGetter |
protected Function<ITEM,KEY> |
LookupIndexDefault.primaryKeyGetter |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseIndexWrapper.setInputKeyTransformer(Function func) |
void |
UniqueLookupIndex.setInputKeyTransformer(Function<Object,KEY> func) |
void |
LookupIndexDefault.setInputKeyTransformer(Function<Object,KEY> func) |
void |
BaseIndexWrapper.setKeyGetter(Function keyGetter) |
void |
UniqueLookupIndex.setKeyGetter(Function<ITEM,KEY> keyGetter) |
void |
LookupIndexDefault.setKeyGetter(Function<ITEM,KEY> keyGetter) |
void |
LookupIndexDefault.setPrimaryKeyGetter(Function<ITEM,KEY> keyGetter) |
| Constructor and Description |
|---|
SearchIndexDefault(Class<?> keyType,
List<ITEM> items,
Function<ITEM,KEY> keyGetter) |
SearchIndexDefault(Class<?> keyType,
List<ITEM> items,
Function<ITEM,KEY> keyGetter,
Collator collator) |
UniqueSearchIndex(Class<?> keyType,
List<ITEM> items,
Function<ITEM,KEY> keyGetter) |
| Modifier and Type | Method and Description |
|---|---|
static Function<Class,LookupIndex> |
SPIFactory.getLookupIndexFactory() |
static Function<Class,SearchIndex> |
SPIFactory.getSearchIndexFactory() |
static Function<Class,LookupIndex> |
SPIFactory.getUniqueLookupIndexFactory() |
static Function<Class,SearchIndex> |
SPIFactory.getUniqueSearchIndexFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
SPIFactory.setLookupIndexFactory(Function<Class,LookupIndex> lookupIndexFactory) |
void |
SearchableCollectionComposer.setPrimaryKeyGetter(Function function) |
static void |
SPIFactory.setSearchIndexFactory(Function<Class,SearchIndex> searchIndexFactory) |
static void |
SPIFactory.setUniqueLookupIndexFactory(Function<Class,LookupIndex> lookupIndexFactory) |
static void |
SPIFactory.setUniqueSearchIndexFactory(Function<Class,SearchIndex> factory) |
| Modifier and Type | Field and Description |
|---|---|
static Function<String,String> |
PropertyNameUtils.camelCase |
static Function<String,String> |
PropertyNameUtils.camelCaseLower |
static Function<String,String> |
PropertyNameUtils.camelCaseUpper |
static Function<String,String> |
PropertyNameUtils.lowerCase |
static Function<String,String> |
PropertyNameUtils.underBarCase |
static Function<String,String> |
PropertyNameUtils.upperCase |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LoggerFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
JDKLoggerFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Function> |
BoonTemplate.functionMap
Functions can be used anywhere where expressions can be used.
|
| Modifier and Type | Method and Description |
|---|---|
Function<String,String> |
BoonTemplate.stringEscaper()
Pluggable String escaper
|
| Modifier and Type | Method and Description |
|---|---|
BoonTemplate |
BoonTemplate.addFunction(String name,
Function function)
Adds function with a give name.
|
BoonTemplate |
BoonTemplate.setStringEscaper(Function<String,String> stringEscaper) |
Copyright © 2014. All rights reserved.