1/* GENERATED SOURCE. DO NOT MODIFY. */ 2// © 2016 and later: Unicode, Inc. and others. 3// License & terms of use: http://www.unicode.org/copyright.html#License 4/* 5 *************************************************************************** 6 * Copyright (c) 2007-2009 International Business Machines Corporation and * 7 * others. All rights reserved. * 8 *************************************************************************** 9*/ 10 11package android.icu.impl; 12 13/** 14 * @hide Only a subset of ICU is exposed in Android 15 */ 16public interface ICUCache<K, V> { 17 // Type of reference holding the Map instance 18 public static final int SOFT = 0; 19 public static final int WEAK = 1; 20 21 // NULL object, which may be used for a cache key 22 public static final Object NULL = new Object(); 23 24 public void clear(); 25 public void put(K key, V value); 26 public V get(Object key); 27} 28