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 11 package ohos.global.icu.impl; 12 13 /** 14 * @hide exposed on OHOS 15 */ 16 public 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 clear()24 public void clear(); put(K key, V value)25 public void put(K key, V value); get(Object key)26 public V get(Object key); 27 } 28