Skip to content

Instantly share code, notes, and snippets.

import scala.collection.mutable
import scala.util.Random
/**
* Created by husrev on 10/02/16.
*/
object HelloApp extends App {
type Point = (Int, Int)
type Trace = List[Point]
public class ChainImageCache implements ImageCache {
private ImageCache fastCache, slowCache;
public ChainImageCache(ImageCache fastCache, ImageCache slowCache) {
this.fastCache = fastCache;
this.slowCache = slowCache;
}
@Override
public Bitmap getBitmap(String url) {