|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ICUCache | Line # 10 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | /* | |
| 2 | *************************************************************************** | |
| 3 | * Copyright (c) 2007-2008 International Business Machines Corporation and * | |
| 4 | * others. All rights reserved. * | |
| 5 | *************************************************************************** | |
| 6 | */ | |
| 7 | ||
| 8 | package com.ibm.icu.impl; | |
| 9 | ||
| 10 | public interface ICUCache { | |
| 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(Object key, Object value); | |
| 20 | public Object get(Object key); | |
| 21 | } | |
|
||||||||||