This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.atomic.AtomicBoolean; | |
import android.os.Handler; | |
import android.os.Message; | |
import android.util.Log; | |
public abstract class AsynchronousTask<Params, Result> { | |
private static final int COMPLETE = 0; | |
private static final class AsyncTaskResult<Data> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package uk.co.taxomania.util; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.io.BufferedWriter; | |
import java.io.FileWriter; | |
public class ListToLatexTable{ | |
public static void main(final String[] args){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static <T> List<T> mapToKeyList(Map<T, ?> map) | |
{ | |
final Collection<T> collection = map.keySet(); | |
final List<T> list = new ArrayList<T>(); | |
list.addAll(collection); | |
return list; | |
} |