KT-2640 Provide jet.MutableIterator and jet.MutableIterable
#KT-2640 fixed
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2010-2012 JetBrains s.r.o.
|
||||
*
|
||||
* 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 test;
|
||||
|
||||
public interface LoadIterable<T> {
|
||||
public Iterable<T> getIterable();
|
||||
public void setIterable(Iterable<T> Iterable);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait LoadIterable<T> : java.lang.Object {
|
||||
public fun getIterable(): MutableIterable<T>?
|
||||
public fun setIterable(p0: Iterable<T>?)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
public abstract trait test.LoadIterable</*0*/ T : jet.Any?> : java.lang.Object {
|
||||
public abstract fun getIterable(): jet.MutableIterable<T>?
|
||||
public abstract fun setIterable(/*0*/ p0: jet.Iterable<T>?): jet.Tuple0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
public interface LoadIterator<T> {
|
||||
public Iterator<T> getIterator();
|
||||
public void setIterator(Iterator<T> iterator);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait LoadIterator<T> : java.lang.Object {
|
||||
public fun getIterator(): MutableIterator<T>?
|
||||
public fun setIterator(p0: Iterator<T>?)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
public abstract trait test.LoadIterator</*0*/ T : jet.Any?> : java.lang.Object {
|
||||
public abstract fun getIterator(): jet.MutableIterator<T>?
|
||||
public abstract fun setIterator(/*0*/ p0: jet.Iterator<T>?): jet.Tuple0
|
||||
}
|
||||
Reference in New Issue
Block a user