01: package st.ata.util;
02:
03: import java.io.InputStream;
04: import java.util.Date;
05:
06: /** Adds mutating operations to {@link AList}. */
07:
08: public interface MutableAList extends AList {
09: public void putObject(String key, Object val);
10:
11: public void putInt(String key, int value);
12:
13: public void putLong(String key, long value);
14:
15: public void putString(String key, String value);
16:
17: public void putAList(String key, AList value);
18:
19: public void putDate(String key, Date value);
20:
21: public void putInputStream(String key, InputStream value);
22:
23: public void putIntArray(String key, int[] value);
24:
25: public void putLongArray(String key, long[] value);
26:
27: public void putStringArray(String key, String[] value);
28:
29: public void putAListArray(String key, AList[] value);
30:
31: public void putDateArray(String key, Date[] value);
32:
33: public void putInputStreamArray(String key, InputStream[] value);
34: }
|