Modifier and Type | Method and Description |
---|---|
<R> List<R> |
SelectQuery.ExecutionContext.asList(Function<E,R> mappingFunction)
Returns the selected values in a list with the mapping function applied to each of them.
|
<R> List<R> |
SelectQueryImpl.ExecutionContextImpl.asList(Function<E,R> mappingFunction) |
Modifier and Type | Method and Description |
---|---|
Function<File,ConfigFile> |
ConfigFileWalker.getConfigFileFactory() |
Modifier and Type | Method and Description |
---|---|
ConfigFileWalker |
ConfigFileWalker.setConfigFileFactory(Function<File,ConfigFile> configFileFactory) |
Constructor and Description |
---|
ConfigFileWalker(File root,
ConfigFileWalker.ConfigVisitor visitor,
Function<File,ConfigFile> configFileFactory) |
Modifier and Type | Interface and Description |
---|---|
interface |
IndexingStrategy
Implementations determine how we do multi-threading for reindex-all.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiThreadedIndexingStrategy
Wraps another
IndexingStrategy with an Executor . |
class |
SimpleIndexingStrategy |
Constructor and Description |
---|
MemoryIssueIndexer(Function<IndexDirectoryFactory.Name,org.apache.lucene.store.Directory> directorySupplier,
IssueManager issueManager) |
MemoryIssueIndexer(Function<IndexDirectoryFactory.Name,org.apache.lucene.store.Directory> directorySupplier,
IssueManager issueManager,
ApplicationProperties applicationProperties) |
MockIndexDirectoryFactory(Function<IndexDirectoryFactory.Name,org.apache.lucene.store.Directory> directorySupplier,
ApplicationProperties applicationProperties) |
Constructor and Description |
---|
RangeQueryFactory(Function<T,String> valueFactory) |
Modifier and Type | Interface and Description |
---|---|
interface |
DirectoryFactory
The DirectoryFactory allows a different Lucene Directory to be used
|
Modifier and Type | Class and Description |
---|---|
class |
IndexPathDirectoryFactory
An implementation that uses the
IndexPathManager as its way of getting a
Directory |
class |
MemoryDirectoryFactory
An implementation of
DirectoryFactory that uses a RAMDirectory
This is for testing only |
Modifier and Type | Interface and Description |
---|---|
interface |
Resolver<I,O>
A interface to resolve some input object into an output object.
|
Modifier and Type | Method and Description |
---|---|
static <S,T extends S> |
Functions.coerceToSuper()
Transform to a super class.
|
static <T,R extends T> |
Functions.downcast(Class<R> subclass)
Get a function that always the input downcast to the supplied class.
|
static <T> Function<T,T> |
Functions.identity()
Get a function that always returns the input.
|
static <T,R> Function<T,R> |
Functions.memoize(Function<T,R> function,
ConcurrentMap<T,R> map)
Memoizer maps an input to an output and always returns the mapped result
rather than calling the wrapped function every time.
|
Modifier and Type | Method and Description |
---|---|
static <T,V> Visitor<T> |
Functions.mappedVisitor(Function<T,V> mappingFunction,
Visitor<V> delegate)
Get a visitor that will apply the given
function before delegating to another visitor. |
static <T,R> Function<T,R> |
Functions.memoize(Function<T,R> function,
ConcurrentMap<T,R> map)
Memoizer maps an input to an output and always returns the mapped result
rather than calling the wrapped function every time.
|
static <T,R> com.google.common.base.Function<T,R> |
Functions.toGoogleFunction(Function<T,R> function)
Map to a google-collections Function.
|
Constructor and Description |
---|
CallableFunction(Function<I,O> function,
com.atlassian.util.concurrent.ExceptionPolicy exceptionPolicy) |
Modifier and Type | Class and Description |
---|---|
static class |
EnclosedIterable.ListResolver<T>
Utility class for transforming a
EnclosedIterable into a List . |
Modifier and Type | Method and Description |
---|---|
static <I,E> Collection<E> |
Transformed.collection(Collection<? extends I> collection,
Function<I,E> transformer) |
static <I,E> EnclosedIterable<E> |
Transformed.enclosedIterable(EnclosedIterable<I> iterable,
Function<I,E> transformer) |
static <K,I,V> Map.Entry<K,V> |
Transformed.entry(Map.Entry<? extends K,? extends I> entry,
Function<I,V> transformer) |
static <I,E> Iterable<E> |
Transformed.iterable(Iterable<I> iterable,
Function<I,E> transformer) |
static <I,E> Iterator<E> |
Transformed.iterator(Iterator<? extends I> set,
Function<I,E> transformer)
|
static <I,E> List<E> |
Transformed.list(List<I> set,
Function<I,E> transformer) |
static <K,I,V> Map<K,V> |
Transformed.map(Map<K,I> map,
Function<I,V> transformer) |
static <K,R,S> Map<K,S> |
CollectionUtil.map(Map<K,R> map,
Function<R,S> mapper)
Take a map and eagerly transform all values into a new, immutable Map.
|
static <I,O> List<O> |
EnclosedIterable.Functions.toList(EnclosedIterable<I> iterable,
Function<I,O> transformer)
Get an
ArrayList of the contents of the supplied EnclosedIterable
transformed by the supplied transform function into the new type O. |
static <T,R> List<R> |
CollectionUtil.transform(Iterable<? extends T> iterable,
Function<T,R> transformer)
Return a
List that is transformed from elements of the input type
to elements of the output type by a transformer function. |
static <T,R> List<R> |
CollectionUtil.transform(Iterator<? extends T> iterator,
Function<T,R> transformer)
Return a List that is transformed from elements of the input type to elements of the output type by a transformer function.
|
static <T,R> Iterable<R> |
CollectionUtil.transformAndFilter(Iterable<T> iterable,
Function<T,R> transformer,
Predicate<R> predicate) |
static <T,R> Iterator<R> |
CollectionUtil.transformIterator(Iterator<? extends T> iterator,
Function<T,R> transformer)
Return an
Iterator that is transformed from elements of the input
type to elements of the output type by a transformer function. |
static <T,R> Set<R> |
CollectionUtil.transformSet(Iterable<T> iterable,
Function<T,R> transformer)
Return a
Set that is transformed from elements of the input type
to elements of the output type by a transformer function. |
Modifier and Type | Method and Description |
---|---|
Map<Long,BulkMoveHelper.DistinctValueResult> |
DefaultBulkMoveHelper.getDistinctValuesForMove(BulkEditBean bulkEditBean,
OrderableField orderableField,
Function<Issue,Collection<Object>> issueValueResolution,
Function<Object,String> nameResolution) |
Map<Long,BulkMoveHelper.DistinctValueResult> |
DefaultBulkMoveHelper.getDistinctValuesForMove(BulkEditBean bulkEditBean,
OrderableField orderableField,
Function<Issue,Collection<Object>> issueValueResolution,
Function<Object,String> nameResolution) |
Map<Long,BulkMoveHelper.DistinctValueResult> |
BulkMoveHelper.getDistinctValuesForMove(BulkEditBean bulkEditBean,
OrderableField orderableField,
Function<Issue,Collection<Object>> issueValueResolution,
Function<Object,String> nameResolution)
For the given field, calculates all the distinct values present in the currently selected issues of the BulkEditBean.
|
Map<Long,BulkMoveHelper.DistinctValueResult> |
BulkMoveHelper.getDistinctValuesForMove(BulkEditBean bulkEditBean,
OrderableField orderableField,
Function<Issue,Collection<Object>> issueValueResolution,
Function<Object,String> nameResolution)
For the given field, calculates all the distinct values present in the currently selected issues of the BulkEditBean.
|
Copyright © 2002-2015 Atlassian. All Rights Reserved.