com.atlassian.jira.util
Interface Resolver<I,O>

All Superinterfaces:
com.atlassian.util.concurrent.Function<I,O>
All Known Implementing Classes:
EnclosedIterable.ListResolver

public interface Resolver<I,O>
extends Function<I,O>

A interface to resolve some input object into an output object.

Semantically, this could be a Factory, Generator, Builder, Closure, Transformer, Decorator or something else entirely. No guarantees are implied by this interface. Specifically, input and output objects may or may not be nullable, runtime exceptions may or may not be thrown and the method may or may not block.

Since:
v3.13

Method Summary
 O get(I input)
          Resolve an instance of the output type from an object of the input type.
 

Method Detail

get

O get(I input)
Resolve an instance of the output type from an object of the input type.

Specified by:
get in interface com.atlassian.util.concurrent.Function<I,O>
Parameters:
input - the input object to resolve from.
Returns:
the output object that has been resolved.


Copyright © 2002-2012 Atlassian. All Rights Reserved.