1. 一些基本概念 (1)度 结点的度degree:结点的子树数 树的度:树里面各结点度的最大值 度为0的结点:叶结点 leaf 或终端结点 度不为0的:非终端结点、分支结点 (2)层次level 树的深度 depth、高度:层次最大值 二叉树深度:共N个结点 一般二叉树平均深度:O(根号N) 二叉 ...
分类:
其他好文 时间:
2020-02-28 01:24:59
阅读次数:
66
为什么 execute(echo 中文) 输出中文源码? import win.ui; /*DSG{{*/ var winform = win.form(text="管道演示";right=495;bottom=431;parent=...) winform.add( btnPing={cls="b ...
分类:
其他好文 时间:
2020-02-28 01:18:06
阅读次数:
64
ABAP SICF SICF里的node是树上的节点。 如果当前节点的handler class为空: 则回溯到其parent节点,直至定位到一个有handler class的node位置。 Hybris 通过debug会看到有一堆的filter参与进去: Hybris帮助文档有一些常用filter ...
分类:
其他好文 时间:
2020-02-27 11:35:40
阅读次数:
67
发生经过:我们有一个项目是需要将后台返回的html代码片段替换掉当前操作的这个节点,那么问题来了 这时候要用outerhtml来替换原来的dom,但是到这有问题了 。如果后台返回了你一段包含js的代码段那么是无法直接执行的。下面就是解决方案: appendNewDom(item, newDom){ ...
分类:
Web程序 时间:
2020-02-26 21:07:04
阅读次数:
88
C#设置一个控件可以鼠标拖动: 新建一个C#项目, 创建一个label控件, 设置label的鼠标按下和抬起事件分别为:label1_MouseDown和label1_MouseUp。 对代码进行如下修改。 public partial class Form1 : Form { private Po ...
Android的四大组件Android系统四大组件分别是活动(Activity)、服务(Service)、广播接收器(BroadcastReceiver) 和内容提供器(Content Provider)。其中活动是所有Android应用程序的门面, 凡是在应用中你看得到的东西,都是放在活动中的。而... ...
分类:
移动开发 时间:
2020-02-26 14:02:20
阅读次数:
97
首先把界面显示出来,为了更加简单这是在相对布局中写的 1 <EditText 2 android:layout_width="match_parent" 3 android:layout_height="wrap_content" 4 android:id="@+id/et" 5 android:l ...
分类:
其他好文 时间:
2020-02-25 23:33:47
阅读次数:
120
在线尝试 Bootstrap 实例 Hello, world! ...
分类:
其他好文 时间:
2020-02-25 00:33:51
阅读次数:
83
```cpp #include #include #include //auto ptr //shared_ptr //unique_ptr //weak_ptr class Parent; //采用前置声明 using ParentPtr = std::shared_ptr; typedef st... ...
分类:
编程语言 时间:
2020-02-24 21:03:42
阅读次数:
90