From 8452fb62b7d80c297395a8d12acd55a0375bff44 Mon Sep 17 00:00:00 2001 From: Dominik Date: Fri, 9 Mar 2012 16:27:29 +0100 Subject: renaming whole package to org.apg to simplifiy name --- src/org/apg/util/IterableIterator.java | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/org/apg/util/IterableIterator.java (limited to 'src/org/apg/util/IterableIterator.java') diff --git a/src/org/apg/util/IterableIterator.java b/src/org/apg/util/IterableIterator.java new file mode 100644 index 000000000..be6632ac0 --- /dev/null +++ b/src/org/apg/util/IterableIterator.java @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2010 Thialfihar + * + * Licensed 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.apg.util; + +import java.util.Iterator; + +public class IterableIterator implements Iterable { + private Iterator mIter; + + public IterableIterator(Iterator iter) { + mIter = iter; + } + + public Iterator iterator() { + return mIter; + } +} -- cgit v1.2.3