]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/impl/ICUCache.java
Clean up imports.
[Dictionary.git] / jars / icu4j-52_1 / main / classes / core / src / com / ibm / icu / impl / ICUCache.java
1 /*
2  ***************************************************************************
3  * Copyright (c) 2007-2009 International Business Machines Corporation and *
4  * others.  All rights reserved.                                           *
5  ***************************************************************************
6 */
7
8 package com.ibm.icu.impl;
9
10 public interface ICUCache<K, V> {
11     // Type of reference holding the Map instance
12     public static final int SOFT = 0;
13     public static final int WEAK = 1;
14
15     // NULL object, which may be used for a cache key
16     public static final Object NULL = new Object();
17
18     public void clear();
19     public void put(K key, V value);
20     public V get(Object key);
21 }