Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'JCL/converterJclMin1.7/src/java/util')
-rw-r--r--JCL/converterJclMin1.7/src/java/util/AbstractCollection.java4
-rw-r--r--JCL/converterJclMin1.7/src/java/util/AbstractList.java4
-rw-r--r--JCL/converterJclMin1.7/src/java/util/AbstractSet.java4
-rw-r--r--JCL/converterJclMin1.7/src/java/util/ArrayList.java50
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Arrays.java21
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Collection.java19
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Collections.java23
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Enumeration.java18
-rw-r--r--JCL/converterJclMin1.7/src/java/util/HashMap.java33
-rw-r--r--JCL/converterJclMin1.7/src/java/util/HashSet.java22
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Hashtable.java33
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Iterator.java17
-rw-r--r--JCL/converterJclMin1.7/src/java/util/List.java16
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Locale.java17
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Map.java18
-rw-r--r--JCL/converterJclMin1.7/src/java/util/MissingResourceException.java16
-rw-r--r--JCL/converterJclMin1.7/src/java/util/NoSuchElementException.java16
-rw-r--r--JCL/converterJclMin1.7/src/java/util/RandomAccess.java3
-rw-r--r--JCL/converterJclMin1.7/src/java/util/ResourceBundle.java23
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Set.java16
-rw-r--r--JCL/converterJclMin1.7/src/java/util/StringTokenizer.java29
-rw-r--r--JCL/converterJclMin1.7/src/java/util/Vector.java32
-rw-r--r--JCL/converterJclMin1.7/src/java/util/zip/ZipEntry.java18
-rw-r--r--JCL/converterJclMin1.7/src/java/util/zip/ZipFile.java23
24 files changed, 475 insertions, 0 deletions
diff --git a/JCL/converterJclMin1.7/src/java/util/AbstractCollection.java b/JCL/converterJclMin1.7/src/java/util/AbstractCollection.java
new file mode 100644
index 0000000000..89e6b86afe
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/AbstractCollection.java
@@ -0,0 +1,4 @@
+package java.util;
+
+public abstract class AbstractCollection<E> implements Collection<E> {
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/AbstractList.java b/JCL/converterJclMin1.7/src/java/util/AbstractList.java
new file mode 100644
index 0000000000..ab84c73f8a
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/AbstractList.java
@@ -0,0 +1,4 @@
+package java.util;
+
+public abstract class AbstractList<E> extends AbstractCollection<E> implements List<E> {
+} \ No newline at end of file
diff --git a/JCL/converterJclMin1.7/src/java/util/AbstractSet.java b/JCL/converterJclMin1.7/src/java/util/AbstractSet.java
new file mode 100644
index 0000000000..c93ad94dad
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/AbstractSet.java
@@ -0,0 +1,4 @@
+package java.util;
+
+public abstract class AbstractSet<E> extends AbstractCollection<E> implements Set<E> {
+} \ No newline at end of file
diff --git a/JCL/converterJclMin1.7/src/java/util/ArrayList.java b/JCL/converterJclMin1.7/src/java/util/ArrayList.java
new file mode 100644
index 0000000000..08693f0aa6
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/ArrayList.java
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+import java.io.Serializable;
+
+public class ArrayList<T> extends AbstractList<T> implements List<T>, RandomAccess, Cloneable, Serializable {
+ private static final long serialVersionUID = -2169998406647523911L;
+ public ArrayList(int i) {
+ }
+ public ArrayList() {
+ }
+ public T[] toArray(T[] o) {
+ return null;
+ }
+ public int size() {
+ return 0;
+ }
+ public boolean add(T o) {
+ return false;
+ }
+ public int indexOf(T o) {
+ return 0;
+ }
+ public T remove(int index) {
+ return null;
+ }
+ public T get(int index) {
+ return null;
+ }
+ public boolean contains(T o) {
+ return false;
+ }
+ public Iterator<T> iterator() {
+ return null;
+ }
+ public boolean addAll(Collection<T> c) {
+ return false;
+ }
+ public void set(int i, T o) {
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Arrays.java b/JCL/converterJclMin1.7/src/java/util/Arrays.java
new file mode 100644
index 0000000000..3fe9c6f924
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Arrays.java
@@ -0,0 +1,21 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+
+public class Arrays {
+ public static void sort(Object[] tab) {
+ }
+ @SafeVarargs
+ public static <T> List<T> asList(T... a) {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Collection.java b/JCL/converterJclMin1.7/src/java/util/Collection.java
new file mode 100644
index 0000000000..4415a6b508
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Collection.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public interface Collection<T> extends Iterable<T> {
+ public Iterator<T> iterator();
+ public int size();
+ public T get(int index);
+ public boolean addAll(Collection<T> c);
+ public T[] toArray(T[] o);
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Collections.java b/JCL/converterJclMin1.7/src/java/util/Collections.java
new file mode 100644
index 0000000000..fa2220d3ce
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Collections.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class Collections {
+ public static <T extends Comparable<? super T>> void sort(List<T> list) {
+ }
+
+ public static final <K,V> Map<K,V> emptyMap() {
+ return null;
+ }
+ public static final <T> List<T> emptyList() {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Enumeration.java b/JCL/converterJclMin1.7/src/java/util/Enumeration.java
new file mode 100644
index 0000000000..71ce4fb586
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Enumeration.java
@@ -0,0 +1,18 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public interface Enumeration {
+
+ public boolean hasMoreElements();
+
+ public Object nextElement();
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/HashMap.java b/JCL/converterJclMin1.7/src/java/util/HashMap.java
new file mode 100644
index 0000000000..d22a3176c5
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/HashMap.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class HashMap<K,V> implements Map<K,V> {
+ public HashMap(int i) {
+ }
+ public V get(K k) {
+ return null;
+ }
+ public boolean containsKey(K k) {
+ return false;
+ }
+ public void put(K k, V v) {
+ }
+ public int size() {
+ return 0;
+ }
+ public Set<K> keySet() {
+ return null;
+ }
+ public Collection<V> values() {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/HashSet.java b/JCL/converterJclMin1.7/src/java/util/HashSet.java
new file mode 100644
index 0000000000..6e3afcc8b3
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/HashSet.java
@@ -0,0 +1,22 @@
+package java.util;
+
+import java.io.Serializable;
+
+public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable, Serializable {
+ private static final long serialVersionUID = 4886489800857586866L;
+ public Iterator<E> iterator() {
+ return null;
+ }
+ public boolean addAll(Collection<E> c) {
+ return false;
+ }
+ public E get(int index) {
+ return null;
+ }
+ public int size() {
+ return 0;
+ }
+ public E[] toArray(E[] o) {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Hashtable.java b/JCL/converterJclMin1.7/src/java/util/Hashtable.java
new file mode 100644
index 0000000000..fc2c5eb10f
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Hashtable.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class Hashtable<U, V> implements Map<U, V> {
+ public Hashtable(int i) {
+ }
+ public V get(U u) {
+ return null;
+ }
+ public boolean containsKey(U u) {
+ return false;
+ }
+ public void put(U u, V v) {
+ }
+ public synchronized Enumeration elements() {
+ return null;
+ }
+ public int size() {
+ return 0;
+ }
+ public synchronized Enumeration keys() {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Iterator.java b/JCL/converterJclMin1.7/src/java/util/Iterator.java
new file mode 100644
index 0000000000..1356cd55a2
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Iterator.java
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public interface Iterator<E> {
+ boolean hasNext();
+ E next();
+ void remove();
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/List.java b/JCL/converterJclMin1.7/src/java/util/List.java
new file mode 100644
index 0000000000..8039b14743
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/List.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public interface List<T> extends Collection<T> {
+ public boolean add(T o);
+ public void set(int i, T o);
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Locale.java b/JCL/converterJclMin1.7/src/java/util/Locale.java
new file mode 100644
index 0000000000..d591b3946a
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Locale.java
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class Locale {
+ public static Locale getDefault() {
+ return null;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Map.java b/JCL/converterJclMin1.7/src/java/util/Map.java
new file mode 100644
index 0000000000..fc06d3cece
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Map.java
@@ -0,0 +1,18 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public interface Map<K,V> {
+
+ public V get(K k);
+ public boolean containsKey(K k);
+ public void put(K k, V v);
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/MissingResourceException.java b/JCL/converterJclMin1.7/src/java/util/MissingResourceException.java
new file mode 100644
index 0000000000..3f512497f5
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/MissingResourceException.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+
+public class MissingResourceException extends RuntimeException {
+ private static final long serialVersionUID = -6463093713113089678L;
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/NoSuchElementException.java b/JCL/converterJclMin1.7/src/java/util/NoSuchElementException.java
new file mode 100644
index 0000000000..855fa6ae99
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/NoSuchElementException.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+
+public class NoSuchElementException extends RuntimeException {
+ private static final long serialVersionUID = -3741760439480852710L;
+} \ No newline at end of file
diff --git a/JCL/converterJclMin1.7/src/java/util/RandomAccess.java b/JCL/converterJclMin1.7/src/java/util/RandomAccess.java
new file mode 100644
index 0000000000..78870df3a5
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/RandomAccess.java
@@ -0,0 +1,3 @@
+package java.util;
+
+public interface RandomAccess {}
diff --git a/JCL/converterJclMin1.7/src/java/util/ResourceBundle.java b/JCL/converterJclMin1.7/src/java/util/ResourceBundle.java
new file mode 100644
index 0000000000..027b99f365
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/ResourceBundle.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public abstract class ResourceBundle {
+
+ public static final ResourceBundle getBundle(String baseName, Locale locale) {
+ return null;
+ }
+
+ public final String getString(String key) {
+ return null;
+ }
+ public abstract Enumeration getKeys();
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Set.java b/JCL/converterJclMin1.7/src/java/util/Set.java
new file mode 100644
index 0000000000..64284b40a8
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Set.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+
+public interface Set<U> extends Collection<U> {
+ public Iterator<U> iterator();
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/StringTokenizer.java b/JCL/converterJclMin1.7/src/java/util/StringTokenizer.java
new file mode 100644
index 0000000000..86214d8596
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/StringTokenizer.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class StringTokenizer {
+
+ public StringTokenizer(String toBeParsed, String delimiters) {
+ }
+
+ public int countTokens() {
+ return 0;
+ }
+
+ public String nextToken() {
+ return null;
+ }
+
+ public boolean hasMoreTokens() {
+ return false;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/Vector.java b/JCL/converterJclMin1.7/src/java/util/Vector.java
new file mode 100644
index 0000000000..7f8630a58c
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/Vector.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util;
+
+public class Vector<E> {
+
+ public Vector() {
+ }
+
+ public Vector(int i) {
+ }
+
+ public int size() {
+ return 0;
+ }
+
+ public E get(int i) {
+ return null;
+ }
+
+ public boolean add(E o) {
+ return true;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/zip/ZipEntry.java b/JCL/converterJclMin1.7/src/java/util/zip/ZipEntry.java
new file mode 100644
index 0000000000..7c82b06d8c
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/zip/ZipEntry.java
@@ -0,0 +1,18 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util.zip;
+
+
+public class ZipEntry {
+ public long getSize() {
+ return 0;
+ }
+}
diff --git a/JCL/converterJclMin1.7/src/java/util/zip/ZipFile.java b/JCL/converterJclMin1.7/src/java/util/zip/ZipFile.java
new file mode 100644
index 0000000000..56c853a2bc
--- /dev/null
+++ b/JCL/converterJclMin1.7/src/java/util/zip/ZipFile.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.util.zip;
+
+import java.io.InputStream;
+
+
+public class ZipFile {
+ public ZipEntry getEntry(String s) {
+ return null;
+ }
+ public InputStream getInputStream(ZipEntry zipEntry) {
+ return null;
+ }
+}

Back to the top