Skip to content

Commit

Permalink
make DefaultPeekingIterator also internal
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Mar 4, 2024
1 parent 957a7b3 commit 575ef35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ch.tutteli.kbox.PeekingIterator
/**
* An [Iterator] which provides the [peek] function in addition.
*/
class DefaultPeekingIterator<out T : Any>(private val itr: Iterator<T>) : PeekingIterator<T> {
internal class DefaultPeekingIterator<out T : Any>(private val itr: Iterator<T>) : PeekingIterator<T> {

private var peek: T? = null
@JvmSynchronized
Expand Down

0 comments on commit 575ef35

Please sign in to comment.