Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Node#isRightPartial() predicate class method (#2) #12

Merged
merged 1 commit into from
Jun 8, 2019

Conversation

klaudiosinani
Copy link
Owner

Description

The PR introduces the following new nullary predicate method:

  • Node#isRightPartial()

The methods return true if the node instance is a right-partial node (has only one non-null right child), or false if it is a leaf, a full or a left partial node.

@klaudiosinani klaudiosinani added the enhancement New feature or request label Jun 8, 2019
@klaudiosinani klaudiosinani merged commit a2a0a74 into master Jun 8, 2019
@klaudiosinani klaudiosinani deleted the Node#isRightPartial branch June 8, 2019 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant