JAVA 应用与开发 - 集合与映射4, 2019 ���� �����List����Set�����Map�的������� ���������� ������iterator��Enumeration ��������� API ������的������������ 1 28 �� 1 ������� 2 Collection � Map �� 3 �� 4 Iterator �� 5 � 6 �� ��������的������������� ������������的��� �� List ������的��������������� ������的���������������� �������� �� Map �����的��¡���Key-Value������ �������的��������������� 注意 Java 集合中只能保存引用类型的数据,实际上存放的是对象的引用 而非对象本身。Java ��������的������������� ������������的��� �� List ������的��������������� ������的���������������� �������� �� Map �����的��¡���Key-Value������ �������的��������������� 注意 Java 集合中只能保存引用类型的数据,实际上存放的是对象的引用 而非对象本身。Java0 码力 | 66 页 | 713.79 KB | 1 年前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Codeits environment ● Enter: The occupancy map ○ A data structure used to represent the environment around a robot in terms of how “occupied” the cells in the map are Clip from https://www.youtube.com/watch occupancy map ○ A data structure used to represent the environment around a robot in terms of how “occupied” the cells in the map are ● Assumption: The robot knows its location in the occupancy map at all occupancy map ○ A data structure used to represent the environment around a robot in terms of how “occupied” the cells in the map are ● Assumption: The robot knows its location in the occupancy map at all0 码力 | 200 页 | 1.77 MB | 6 月前3
CppCon 2021: Persistent Data StructuresIntroduction Persistent Hash Map Persistent Transactional Data Structures Live Demonstration ReferencesIntroduction Persistent Hash Map Persistent Transactional Data Structures Live Demonstration References References Overview Introduction Persistent Memory Use-Cases Pitfalls Persistent Hash Map Design Goals and Methodology Persistence Performance Results Persistent Transactional Data Structures Design Demonstration A Persistent Hash Map for Graph Processing Workloads and a Methodology for Persistent Transactional Data Structures 2IntroductionIntroduction Persistent Hash Map Persistent Transactional Data0 码力 | 56 页 | 1.90 MB | 6 月前3
Cache-Friendly Design in Robot Path Planningenvironment This is a map of a make-believe distribution facility that is: 0.8 km long 0.4 km deep 51The operating environment This is a spatial graph extracted from the map. 52The operating environment std::for_each #include <map> // std::map, std::multimap #include// std::apply class Graph { private: std::multimap adjacencies_; std::map std::for_each #include <map> // std::map, std::multimap #include // std::apply class Graph { private: std::multimap adjacencies_; std::map 0 码力 | 216 页 | 10.68 MB | 6 月前3
Game Development for Human Beingsmobile and more cool stuff. We’ll be using a free map editor called Tiled to create our level. One nice thing about Phaser is that you can easily load map files exported from Tiled (JSON format). This Check out the Wikipedia definition if you are not 100% familiar with this concept. To create a new map in Tiled go to File -> New: On width and height specify the number of tiles your level will have many tilesets on your tilemaps. We’ll use just one: assets/images/tiles.png. To load a tileset: Map -> New Tileset The nice retro tileset we’ll use is from Open Game Art and it’s a public domain image0 码力 | 472 页 | 8.46 MB | 10 月前3
Zabbix 4.2 Manualmacros are now supported in map element labels, URL names and URL values: New supported location in maps Macros Host element Host group el- e- ment Trigger el- e- ment Map el- e- ment Element ID}, {INVENTORY.*} macros {TRIGGER.ID}, {INVENTORY.*} macros {MAP.ID}, {MAP.NAME} URL name {HOST.ID} {HOSTGROUP.ID} {TRIGGER.ID} {MAP.ID} URL name and value {HOST.CONN}, {HOST.DNS}, {HOST.HOST}, {HOST {INVENTORY.*} macros {MAP.NAME} Note that this table lists only the new locations. So, even though {HOST.ID}, {HOSTGROUP.ID}, {TRIGGER.ID} and {MAP.ID} are listed as now supported in map URL names, they were0 码力 | 1270 页 | 15.64 MB | 1 年前3
The Way To Go - 2012.........................185 8.1.2 Map capacity .............................................................................................188 8.1.3 Slices as map values ............................ .................................................188 8.2 Testing if a key-value item exists in a map—Deleting an element ..........................188 8.3 The for range construct .................... ................191 8.5 Sorting a map ........................................................................................................192 8.6 Inverting a map ..................................0 码力 | 629 页 | 4.85 MB | 1 年前3
MoonBit月兔编程语言 现代编程思想 第十课 哈希表与闭包
添加/更新操作 1. fn put[K : Hash + Eq, V](map : HT_bucket[K, V], key : K, value : V) -> Unit { 2. let index = key.hash().mod_u(map.length) // 计算对应索引 3. let mut bucket = map.values[index] // 找到对应数据结构 4. while => { // 如果没有找到,添加并退出循环 7. bucket.val = Some({ key, value }, { val: None }) 8. map.size = map.size + 1 9. break 10. } 11. Some(entry, rest) => { 12. if entry else { // 否则,将bucket替换为更⼩的结构,保证循环会终结 16. bucket = rest 17. } } } } 18. if map.size.to_double() / map.length.to_double() >= load { // 根据负载重新分配 19. resize() 20. } 21. } 8 哈希表:直接寻址 虽0 码力 | 27 页 | 448.83 KB | 1 年前3
Zabbix 3.4 Manualwidget from previous versions and displays problems similarly to the Monitoring → Problems section • Map navigation tree - this widget allows to build a hierarchy of existing maps. See more details. The Dashboard • Dashboard widgets 1.1 Map navigation tree This new widget allows to build a hierarchy of existing maps while also displaying problem statistics with each included map. It becomes even more powerful you link the Map widget to the navigation tree. In this case, clicking on a map name in the navigation tree displays the map in full in the Map widget. Statistics with the top level map in the hierarchy0 码力 | 1136 页 | 15.03 MB | 1 年前3
Zabbix 4.4 Manualwidgets. widget - visual unit displaying information of a certain kind and source (a summary, a map, a graph, the clock, etc), used in the dashboard. Zabbix API - Zabbix API allows you to use the JSON characters will be shown incompletely. IE11 issue with map resizing in dashboard widgets Maps, in Internet Explorer 11, are cut off on the right side if the map content is larger than the dashboard widget area value mapping Two value maps are available Windows service state and Windows service startup type to map a numerical value to a text repre- sentation in the Frontend. Discovery of Windows services Low-level0 码力 | 1393 页 | 16.55 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













