Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

How can we translate "node" ?

I'm actually learning how to build JavaFX applications, but I'm a French student and I don't understand the word "node". How can we say it in other ways, or if someone knows, how we can translate it in French ?

2 Answers

Since it's a translation question I will answer it in French, apologies for any non-French speakers who might read us. La traduction de "node" en francais est "noeud". Dans une structure de données, ce mot a un sens particulier. Dans JavaFX il s'agit d'une structure en arbre (https://fr.wikipedia.org/wiki/Arbre_(graphe) -> attention l'article est très détaillé, mais intéressant). En gros un noeud est un élément. Par exemple ici :

Désolée, je ne peux pas éditer mon post et j'ai posté trop vite. Ici : https://upload.wikimedia.org/wikipedia/commons/b/bc/Breadth-first-tree.png?uselang=fr Chaque nombre est un noeud (ou un élément). Il y a un noeud unique à la base (root node) qui a un ou plusieurs "enfants" (children nodes), et chaque noeud enfant peut avoir lui-même des enfants. Dans JavaFX on ajoute des éléments dans d'atres éléments. L'élément contenant est le "noeud parent", et les éléments qu'il contient sont les "noeuds enfants".

Merci beaucoup, Livia Galeazzi, pour l'explication ! J'avais la traduction et le sens, mais je n'arrivais pas à faire lien... Je vais pouvoir continuer mon aventure Java avec moins de problèmes, merci à toi !