The gen-tree repository holds a generic model for simple and binary tree objects
> Star ⭐ > > Share this library with friends on Twitter and everywhere else you can > > If you love this > project [![donation](https://img.shields.io/badge/donate-❤-ff2244.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GVBTWLRAZ7HB8)Please support this project by simply putting a Github
The source code comes under the liberal MIT License, making gen-tree great for all types of applications.
gradle (click to expand)
Replace the variable ${latestVersion} with the current latest version:
You can first define the version in the ext section and add than the following gradle dependency to
your project build.gradle
if you want to import the core functionality of gen-tree:
define version in file gradle.properties
genTreeVersion=${latestVersion}
or in build.gradle ext area
genTreeVersion = "${latestVersion}"
then add the dependency to the dependencies area
implementation("io.github.astrapi69:gen-tree:$genTreeVersion")
If you use the new libs.versions.toml file for new automatic catalog versions update
[versions]
gen-tree-version= "${latestVersion}"
[libraries]
gen-tree = { module = "io.github.astrapi69:gen-tree", version.ref = "gen-tree-version" }
then add the dependency to the dependencies area
implementation libs.gen.tree
Maven (click to expand)
Maven dependency is now on sonatype. Check out sonatype repository for latest snapshots and releases.
Add the following maven dependency to your project pom.xml
if you want to import the core
functionality of gen-tree:
Then you can add the dependency to your dependencies:
<properties>
...
<!-- gen-tree version -->
<gen-tree.version>${latestVersion}</gen-tree.version>
...
</properties>
...
<dependencies>
...
<!-- gen-tree DEPENDENCY -->
<dependency>
<groupId>io.github.astrapi69</groupId>
<artifactId>gen-tree</artifactId>
<version>${gen-tree.version}</version>
</dependency>
...
</dependencies>
Snapshots (click to expand)
This section describes how to import snapshot versions into your project. Add the following code snippet to your gradle file in the repositories section:
repositories {
//...
maven {
name "Sonatype Nexus Snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}
The versions of gen-tree are maintained with the Semantic Versioning guidelines.
Release version numbers will be incremented in the following format:
<major>.<minor>.<patch>
For detailed information on versioning you can visit the wiki page.
The source code for gen-tree are on GitHub. Please feel free to fork and send pull requests!
Create your own fork of astrapi69/gen-tree/fork
To share your changes, submit a pull request.
Don't forget to add new units tests on your changes.
Do not hesitate to contact the gen-tree developers with your questions, concerns, comments, bug reports, or feature requests.
- Feature requests, questions and bug reports can be reported at the issues page.
No animals were harmed in the making of this library.
This project is kept as an open source product and relies on contributions to remain being developed. If you like this library, please consider a donation
over paypal:
or over bitcoin(BTC) with this address:
bc1ql2y99q7e8psndhcc3gferk03esw3qqf677rhjy
or over FIO with this address:
FIO7tFMUVAA9cHiPPqKMfMXiSxHrbpiFyRYqTketNuM67aULuwjop
or over Ethereum(ETH) with:
0xc057D159D3C8f3311E73568b334FF6fE82EB2b7D
or over Ethereum Classic(ETC) with:
0xF708cA86D86C246B69c3F4BAe431eBbe0c2bfddD
or over Dogecoin(DOGE) with:
D5yi4Um8cpakd6yPRm2hGWuQ5nrVzhSSW1
or over Monero(XMR) with:
49bqeRQ7Bf49oJFVC72pqpe5hFbb62pfXDYPdLsadGGF81KZW2ZfrPZ8PbAVu5X2v1TYAspeczMya3cYQysNS4usRRPQHVw
- Tree Data Structure Java Library This Library contains different implementations of the tree data structures, such as K-ary, binary, expression trees etc.
- Sample tree structure Sample tree structure for C# / Java with iterator and search
Nexus Sonatype repositories |
---|
Special thanks to sonatype repository for providing a free maven repository service for open source projects |
codecov.io |
---|
Special thanks to codecov.io for providing a free code coverage for open source projects |
javadoc.io |
---|
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects |