aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/interfaces-jdk14/org
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-07-06 21:47:41 +0000
committerNick Burch <nick@apache.org>2008-07-06 21:47:41 +0000
commitdcf030a4f30369d262ed0e3060ef1eee41ac3abb (patch)
tree7f433175051fb3d70caef34e67f7863f1ebbf679 /src/ooxml/interfaces-jdk14/org
parent8f39d5692a49477fd392b663583e58a1acd36c5a (diff)
downloadpoi-dcf030a4f30369d262ed0e3060ef1eee41ac3abb.tar.gz
poi-dcf030a4f30369d262ed0e3060ef1eee41ac3abb.zip
Big update of links in docs to get things building properly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@674352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/interfaces-jdk14/org')
-rw-r--r--src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Iterable.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Iterable.java b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Iterable.java
new file mode 100644
index 0000000000..17a2820c8c
--- /dev/null
+++ b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Iterable.java
@@ -0,0 +1,30 @@
+/* ====================================================================
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+==================================================================== */
+
+package org.apache.poi.ss.usermodel;
+
+import java.util.Iterator;
+
+/**
+ * Workaround for java.lang.Iterable not existing on java 1.4, but
+ * people wanting to use it all the same.
+ * Must only be present for java 1.4 interfaces! Do not add for
+ * java 1.5, as that has its own real one from java.lang
+ */
+public interface Iterable {
+ public Iterator iterator();
+}