Back to project page task4java.
The source code is released under:
Apache License
If you think the Android project task4java listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (c) 2014 Andree Hagelstein, Maik Schulze, Deutsche Telekom AG. All Rights Reserved. * //from ww w .j av a2s .c o m * Filename: ITask.java */ package com.task4java.util.concurrent; import java.util.concurrent.ExecutionException; /** * The {@code ITask} defines the interface to retrieve information from a {@link Task}. */ public interface ITask { /** * To string. * * @return the string */ String toString(); /** * Gets the. * * @return the object * @throws InterruptedException the interrupted exception * @throws ExecutionException the execution exception */ Object get() throws InterruptedException, ExecutionException; }