Question: Where is the import statement for "Handle"?


#1

Sorry I can not find the import statement for Handle type. Where this type came from?

import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Message;
import android.util.Log;

public class ThumbnailDownloader<Handle> extends HandlerThread {

Map<Handle, String> requestMap = Collections.synchronizedMap(new HashMap<Handle, String>());


#2

Sorry, ignore my question. That was a stupid question. I haven’t used Java template at all.


#3

Not a stupid question at all. Glad you found the answer for yourself, though!