#heap class design

1 messages ยท Page 1 of 1 (latest)

fallen wraithBOT
#

<@&987246399047479336> please have a look, thanks.

frosty hollow
#

if all of the add/remove logic belongs to the node class, the left and right fields can be private to that class
if you have a separate class for the heap itself, you can omit an access modifier for the fields as long as the node class is in the same package as the heap class - this will prevent access to the fields except from within the package containing your classes

smoky sand
#

.close

fallen wraithBOT
# smoky sand .close

Looks like you attempted to use a command? Please note that we only use slash-commands on this server ๐Ÿ™‚

Try starting your message with a forward-slash / and Discord should open a popup showing you all available commands.
A command might then look like /foo ๐Ÿ‘

smoky sand
#

!close

fallen wraithBOT
# smoky sand !close

Looks like you attempted to use a command? Please note that we only use slash-commands on this server ๐Ÿ™‚

Try starting your message with a forward-slash / and Discord should open a popup showing you all available commands.
A command might then look like /foo ๐Ÿ‘

#

Closed the thread.