changed val hasNext to fun hasNext()
in Iterator
This commit is contained in:
@@ -2,7 +2,7 @@ package jet
|
|||||||
|
|
||||||
public trait Iterator<out T> {
|
public trait Iterator<out T> {
|
||||||
public fun next() : T
|
public fun next() : T
|
||||||
public val hasNext : Boolean
|
public fun hasNext() : Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class ByteIterator() : Iterator<Byte> {
|
public abstract class ByteIterator() : Iterator<Byte> {
|
||||||
|
|||||||
Reference in New Issue
Block a user