01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09: package j2me.util.concurrent;
10:
11: import j2me.util.Map;
12:
13: public interface ConcurrentMap extends Map {
14:
15: Object putIfAbsent(Object key, Object value);
16:
17: boolean remove(Object key, Object value);
18:
19: boolean replace(Object key, Object oldValue, Object newValue);
20:
21: Object replace(Object key, Object value);
22:
23: }
|