Comprehensive Rust(Español) 202412super::*; fn len() { let mut tree = BinaryTree::new(); assert_eq!(tree.len(), 0); tree.insert(2); assert_eq!(tree.len(), 1); tree.insert(1); assert_eq!(tree.len(), 2); tree.insert(2); // No es un elemento assert_eq!(tree.len(), 2); } fn has() { let mut tree = BinaryTree::new(); 127 fn check_has(tree: &BinaryTree, exp: &[bool]) { let got: Vec = (0..exp.len()).map(|i| tree.has(&(i as i32))) check_has(&tree, &[false, false, false, false, false]); tree.insert(0); check_has(&tree, &[true, false, false, false, false]); tree.insert(4); check_has(&tree, &[true, false, false, false, true]); tree.insert(4); 0 码力 | 389 页 | 1.04 MB | 11 月前3
PlantUML 1.2021.3 Guía de Referencia del Lenguajexmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml Guía de Referencia del Lenguaje PlantUML (1.2021.2) 205 / 406 12.2 Specific xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml Guía de Referencia del Lenguaje PlantUML (1.2021.2) 206 / 406 12.4 Using xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml [Ref. QA-13288] 12.4 Using (global) style 12.4.1 Without style (by0 码力 | 407 页 | 4.28 MB | 1 年前3
PlantUML 1.2021.2 Guía de Referencia del Lenguajexmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml Guía de Referencia del Lenguaje PlantUML (1.2021.2) 194 / 388 12.2 Using de Referencia del Lenguaje PlantUML (1.2021.2) 217 / 388 14.5 Tree widget [T] 14 SALT (WIREFRAME) 14.5 Tree widget [T] To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt York ++++ Boston +++ Mexico ++ Europe +++ Italy +++ Germany ++++ Berlin ++ Africa } } @endsalt 14.6 Tree table [T] You can combine trees with tables. @startsalt { {T +Region | Population | Age + World0 码力 | 389 页 | 4.12 MB | 1 年前3
PlantUML 1.2021.1 Guía de Referencia del Lenguajede Referencia del Lenguaje PlantUML (1.2021.1) 212 / 383 13.5 Tree widget [T] 13 SALT (WIREFRAME) 13.5 Tree widget [T] To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt York ++++ Boston +++ Mexico ++ Europe +++ Italy +++ Germany ++++ Berlin ++ Africa } } @endsalt 13.6 Tree table [T] You can combine trees with tables. @startsalt { {T +Region | Population | Age + World ++++ Berlin | 3 million | 30 Guía de Referencia del Lenguaje PlantUML (1.2021.1) 213 / 383 13.6 Tree table [T] 13 SALT (WIREFRAME) ++ Africa | 1 billion | 30 } } @endsalt And add lines. @startsalt0 码力 | 384 页 | 4.07 MB | 1 年前3
PlantUML 1.2023.11 Guía de Referencia del Lenguajexmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml Guía de Referencia del Lenguaje PlantUML (1.2023.11) 253 / 530 12.2 xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml Guía de Referencia del Lenguaje PlantUML (1.2023.11) 254 / 530 12.4 xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: "a pear tree" turtle-doves: two @endyaml [Ref. QA-13288] 12.4 Using different styles for highlight It is possible0 码力 | 531 页 | 7.53 MB | 1 年前3
PlantUML 1.2020.23 Guía de Referencia del Lenguajede Referencia del Lenguaje PlantUML (1.2020.23) 222 / 304 16.5 Tree widget [T] 16 SALT (WIREFRAME) 16.5 Tree widget [T] To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt York ++++ Boston +++ Mexico ++ Europe +++ Italy +++ Germany ++++ Berlin ++ Africa } } @endsalt 16.6 Tree table [T] You can combine trees with tables. @startsalt { {T +Region | Population | Age + World +++ Italy | 61 million | 30 Guía de Referencia del Lenguaje PlantUML (1.2020.23) 223 / 304 16.6 Tree table [T] 16 SALT (WIREFRAME) +++ Germany | 82 million | 30 ++++ Berlin | 3 million | 30 ++ Africa0 码力 | 305 页 | 3.11 MB | 1 年前3
PlantUML 1.2020.22 Guía de Referencia del Lenguajede Referencia del Lenguaje PlantUML (1.2020.22) 210 / 292 16.5 Tree widget [T] 16 SALT (WIREFRAME) 16.5 Tree widget [T] To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt York ++++ Boston +++ Mexico ++ Europe +++ Italy +++ Germany ++++ Berlin ++ Africa } } @endsalt 16.6 Tree table [T] You can combine trees with tables. @startsalt { {T +Region | Population | Age + World +++ Italy | 61 million | 30 Guía de Referencia del Lenguaje PlantUML (1.2020.22) 211 / 292 16.6 Tree table [T] 16 SALT (WIREFRAME) +++ Germany | 82 million | 30 ++++ Berlin | 3 million | 30 ++ Africa0 码力 | 293 页 | 3.02 MB | 1 年前3
PlantUML 1.2019.1 Guía de Referencia del LenguajeGuía de Referencia del Lenguaje PlantUML (1.2019.1) 102 / 146 13.5 Tree widget 13 SALT (WIREFRAME) 13.5 Tree widget To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt PlantUML (1.2019.1) 113 / 146 14.8 Tree 14 CREOLE 14.8 Tree You can use |_ characters to build a tree. @startuml skinparam titleFontSize 14 title Example of Tree |_ First line |_ **Bom(Model)** |_ separator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 13.5 Tree widget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 147 页 | 1.85 MB | 1 年前3
PlantUML 1.2019.4 Guía de Referencia del LenguajeGuía de Referencia del Lenguaje PlantUML (1.2019.4) 117 / 165 15.5 Tree widget 15 SALT (WIREFRAME) 15.5 Tree widget To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt PlantUML (1.2019.4) 129 / 165 16.8 Tree 16 CREOLE 16.8 Tree You can use |_ characters to build a tree. @startuml skinparam titleFontSize 14 title Example of Tree |_ First line |_ **Bom(Model)** |_ prop1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 15.5 Tree widget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 166 页 | 1.82 MB | 1 年前3
PlantUML 1.2019.3 Guía de Referencia del LenguajeGuía de Referencia del Lenguaje PlantUML (1.2019.3) 110 / 157 13.5 Tree widget 13 SALT (WIREFRAME) 13.5 Tree widget To have a Tree, you have to start with {T and to use + to denote hierarchy. @startsalt PlantUML (1.2019.3) 122 / 157 14.8 Tree 14 CREOLE 14.8 Tree You can use |_ characters to build a tree. @startuml skinparam titleFontSize 14 title Example of Tree |_ First line |_ **Bom(Model)** |_ prop1 . . . 110 Guía de Referencia del Lenguaje PlantUML (1.2019.3) 155 / 157 CONTENTS CONTENTS 13.5 Tree widget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 158 页 | 1.72 MB | 1 年前3
共 15 条
- 1
- 2













