KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > dtd > util > MapHolder


1 /*******************************************************************************
2  * Copyright (c) 2002, 2005 Object Factory Inc.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * Object Factory Inc. - Initial implementation
10  *******************************************************************************/

11 package org.eclipse.ant.internal.ui.dtd.util;
12
13 /**
14  * @author Bob Foster
15  */

16 public class MapHolder extends SortedMapFactory implements IMapHolder {
17
18     public Object JavaDoc[] keys;
19     public Object JavaDoc[] values;
20     
21     /* (non-Javadoc)
22      * @see org.eclipse.ant.internal.ui.dtd.util.IKeyHolder#getKeys()
23      */

24     public Object JavaDoc[] getKeys() {
25         return keys;
26     }
27
28     /* (non-Javadoc)
29      * @see org.eclipse.ant.internal.ui.dtd.util.IKeyHolder#setKeys(java.lang.Object[])
30      */

31     public void setKeys(Object JavaDoc[] keys) {
32         this.keys = keys;
33     }
34
35     /* (non-Javadoc)
36      * @see org.eclipse.ant.internal.ui.dtd.util.IValueHolder#getValues()
37      */

38     public Object JavaDoc[] getValues() {
39         return values;
40     }
41
42     /* (non-Javadoc)
43      * @see org.eclipse.ant.internal.ui.dtd.util.IValueHolder#setValues(java.lang.Object[])
44      */

45     public void setValues(Object JavaDoc[] values) {
46         this.values = values;
47     }
48 }
49
Popular Tags