ICUCache.java revision 836e6b40a94ec3fb7545a76cb072960442b7eee9
1/* GENERATED SOURCE. DO NOT MODIFY. */ 2/* 3 *************************************************************************** 4 * Copyright (c) 2007-2009 International Business Machines Corporation and * 5 * others. All rights reserved. * 6 *************************************************************************** 7*/ 8 9package android.icu.impl; 10 11/** @hide Only a subset of ICU is exposed in Android 12* @hide All android.icu classes are currently hidden 13 */ 14public interface ICUCache<K, V> { 15 // Type of reference holding the Map instance 16 public static final int SOFT = 0; 17 public static final int WEAK = 1; 18 19 // NULL object, which may be used for a cache key 20 public static final Object NULL = new Object(); 21 22 public void clear(); 23 public void put(K key, V value); 24 public V get(Object key); 25} 26