Set the correct file structure to maintain backward compatibility. (#18)

This commit is contained in:
2022-12-16 19:05:59 +01:00
committed by GitHub
parent 5dd586f9af
commit ae4757fb9d
9 changed files with 10 additions and 22 deletions

View File

@ -1,4 +1,4 @@
package com.github.adriankuta
package com.github.adriankuta.datastructure.tree
import kotlin.jvm.JvmSynthetic

View File

@ -1,6 +1,4 @@
package com.github.adriankuta.iterators
import com.github.adriankuta.TreeNode
package com.github.adriankuta.datastructure.tree
/**
* Tree is iterated by using `Level-order Traversal Algorithm"

View File

@ -1,6 +1,4 @@
package com.github.adriankuta.iterators
import com.github.adriankuta.TreeNode
package com.github.adriankuta.datastructure.tree
/**
* Tree is iterated by using `Post-order Traversal Algorithm"

View File

@ -1,6 +1,4 @@
package com.github.adriankuta.iterators
import com.github.adriankuta.TreeNode
package com.github.adriankuta.datastructure.tree
/**
* Tree is iterated by using `Pre-order Traversal Algorithm"

View File

@ -1,10 +1,6 @@
package com.github.adriankuta
package com.github.adriankuta.datastructure.tree
import com.github.adriankuta.iterators.LevelOrderTreeIterator
import com.github.adriankuta.iterators.PostOrderTreeIterator
import com.github.adriankuta.iterators.PreOrderTreeIterator
import com.github.adriankuta.iterators.TreeNodeIterators
import com.github.adriankuta.iterators.TreeNodeIterators.*
import com.github.adriankuta.datastructure.tree.TreeNodeIterators.*
import kotlin.jvm.JvmSynthetic
open class TreeNode<T>(val value: T) : Iterable<TreeNode<T>>, ChildDeclarationInterface<T> {

View File

@ -1,6 +1,5 @@
package com.github.adriankuta
package com.github.adriankuta.datastructure.tree
import com.github.adriankuta.iterators.TreeNodeIterators
import kotlin.jvm.JvmSynthetic
typealias ChildDeclaration<T> = ChildDeclarationInterface<T>.() -> Unit

View File

@ -1,4 +1,4 @@
package com.github.adriankuta.iterators
package com.github.adriankuta.datastructure.tree
/**
* @see PreOrder

View File

@ -1,4 +1,4 @@
package com.github.adriankuta
package com.github.adriankuta.datastructure.tree
import kotlin.test.Test
import kotlin.test.assertEquals

View File

@ -1,6 +1,5 @@
package com.github.adriankuta
package com.github.adriankuta.datastructure.tree
import com.github.adriankuta.iterators.TreeNodeIterators
import kotlin.test.Test
import kotlin.test.assertContentEquals
import kotlin.test.assertEquals