Chapter 2: Java OO II. Yang Wang wyang AT njnet.edu.cn

Size: px
Start display at page:

Download "Chapter 2: Java OO II. Yang Wang wyang AT njnet.edu.cn"

Transcription

1 Chapter 2: Java OO II Yang Wang wyang AT njnet.edu.cn

2 Outline Abstraction Abstract Class Interface Inheritance Polymorphism

3 Abstraction

4 Abstraction What is Abstraction? An abstraction is a general idea rather than one relating to a particular object, person, or situation. - From Collins The Significance of Abstraction Model Implementation Language Tools for Abstraction in Java Abstract Class Interface

5 Basic Abstraction Class <=> Object superclass vs. subclass extends create a big tree but still model is bundled with full implementation

6 Abstraction Abstract Class Abstract Class:Java Class providing part of implementations Including abstract methods Cannot be used to create objects Must be inherited and implemented

7 Abstraction Abstract Class An Abstract Class for Benchmark

8 Abstraction Abstract Class A Completed, Specified Class for Benchmark

9 Abstract Class Rules Non-Abstract class Can t have Abstract methods Abstract class Can t be initialized with New A class must be Abstract when it has Abstract methods Non-Abstract class subclass can be Abstract Abstract class constructor must be protected

10 Example java.lang.numer bytevalue() shortvalue() intvalue() longvalue() floatvalue() DoubleValue Byte Integer Long Float BigInteger 10

11 Quiz Number numberref = new Integer(0); Double doubleref = (Double) numberref;

12 Abstraction Interface The language basis of Java is Class But the basis of OOD is Type Class Type + Implementation Java prompts Interface-based OOD Designer only cares of design, or saying, interface;

13 Abstraction Interface Most Interfaces do: Distinguish one type with other types Showing that one type can have the ability to do sth: Cloneable:an object of this type can be cloned Comparable: objects of this type can be compared Runnable: an object of this type can be run in a thread Serializable: an object of this type can be serialized

14 Abstraction Interface Defining an Interface Constant Method

15 Abstraction Interface

16 Abstraction Interface Fields in Interface public,static,final Must be initialized

17 Abstraction Interface Implementing an Interface A Class can implement multiple interfaces Multiple Implementation All methods in an interface should be implemented Multiple Implementation!= Multiple Inheritance

18 Abstraction Interface Think Does M-Implementation bring the same problem as M-Inheritance?

19 Abstraction Interface Using Interface to declare the type of objects

20 Abstraction Interface Interface-based Programming Agile: First, lets care about the design, the type, the interface, and ignore the implementation, the class. Reliable: assure the correctness based on the use of types

21 Abstraction Interface Marker Interface Nothing defined in an interface It is just a marker Such as Cloneable

22 Abstraction Interface Abstract Class is a Strong is-a relationship, ( 苹果是 一种 水果 ) Interface is a Weak is-a relationship( 苹果是 一类可以吃的东 西 )

23 Abstraction Interface Abstract Class name is a Noun Interface name is a Noun or a Adj.

24 Abstraction Interface Abstract Class name is a Noun Interface name is a Noun or a Adj.

25 Abstraction Interface Abstract Class is used for common feature in sub classes Interface is used for common feature in classes

26 Abstraction Interface Fields in Abstract Class have no restrictions. Fields in Interface must be public static final.

27 Abstraction Interface Methods in Abstract Class have no restrictions. Methods can be in Interface must be public abstract

28 Abstraction Interface Constructors in Abstract Class must be protected. Constructors can not be in Interface

29 Abstraction Interface Multiple inheritance is allowed for Interface, not for abstract class. Abstract class provides part of implementation, while interface has no implementation.

30 Abstraction Interface Combining Abstract Class and Interface

31 Inheritance

32 Inheritance Class The Significance of Inheritance Code reuse Enhancement of scalability Types of Inheritance Inheritance of class Enhancement of maintainability Inheritance of interface

33 Inheritance Class Example - House

34 Inheritance Class Example - GeorgianHouse

35 Inheritance Class

36 Inheritance Class Constructions in Inheritance Constructors in subclasses should invoke constructors in superclasses explicitly for initialization. If step 1 is not satisfied, the default constructor in superclass will be invoked. If no default constructor is defined in superclass, step 1 must be satisfied. The invocation of constructors in superclass should be placed foremost.

37 Inheritance Class Thinking in Java A robust programming language should have a sound initialization process. Each field in a class should be initialized.

38 Inheritance Class Overriding( 覆盖 ) Overriding NOT Overloading( 重载 )// what is overloading Overriding means a method in subclass will replace a method with same signature in superclass //what is signature Overriding let the subclass perform differently with superclass

39 Inheritance Class Example

40 Inheritance Class Limits of Overriding The access rights should be enlarged or unchanged, not be reduced. // why? The return type should be reduced or unchanged, not be enlarged. // why? If return type in superclass is Class A, the return type in sublcass should be A or subclass of A If return type in superclass is a primary type, it should be unchanged in subclass.

41 Inheritance Class Thinking in Java Overriding MUST retain compatibility (not breaking the behavior specification in superclass) Think House spark_house = new GeorgianHouse(); // Right? GeorgianHouse spark_house = new House(); //Right?

42 Inheritance Class Examples

43 Inheritance Class Hiding

44 Inheritance Class A: G,orgianHo:s, Ho:s, Th,,;t,nd,d class: G,origanHo:s, Th,,;t,nd,d class: G,origanHo:s, B: G,orgianHo:s, G,orgianHo:s, Th,,;t,nd,d class: G,origanHo:s, Th,,;t,nd,d class: G,origanHo:s, C: G,orgianHo:s, Ho:s, Th,,;t,nd,d class: G,origanHo:s, Th, s:p,r class: Ho:s, D: G,orgianHo:s, Ho:s, Th,,;t,nd,d class: G,origanHo:s, Th,,;t,nd,d class: Ho:s, -or Fi,ld, look at th, d,claration typ,; -or M,thod, look at th, r:n tim, typ,;

45 Inheritance Class Conversion of Types Objective:convert an object of one class to another For example: a Parrot to a Bird, ghouse to House Classification of Conversion Upcasting 上溯造型 Downcasting 下溯造型

46 Inheritance Class Upcasting Upcasting is safe and unrestricted Downcasting : reverse of Upcasting, may be unsafe may cause casting exceptions Use instanceof to check the safety

47 Inheritance Class Keyword: super

48 Inheritance Class Keyword: final final before a class means it is not inheritable final before a method means it is not overridable

49 Inheritance Class Class Inheritance:How and when? Is-a (Inheritance) Has-a(Composition) How to design an extensible class

50 Inheritance Class Multiple Inheritance for Interfaces Inheritance of Interfaces also has: Hiding of fields Override of Methods

51 Polymorphism

52 Polymorphism Definition of Polymorphism Greek, means Multiple Forms Refers to the existence of different methods with same names Intuition: in OOD, same objects have the same behavior (method name), but have different way of behaving and lead to different result(return type) Question: What will the exact behaving result be for a certain object? Significance: Improve the flexibility and versatility in OOP Types of Polymorphismversatility Static polymorphism - polymorphism in compile-time Dynamic polymorphism - polymorphism in run-time

53 Polymorphism Static Polymorphism Polymorphism which can be determined in compilation Overloading

54 Polymorphism Dynamic Polymorphism Behavior and result be can only determined in run-time Dynamic Binding The binding of method invocation and method body in run-time Classification of Dynamic Polymorphism Inheritance Polymorphism Interface Polymorphism

55 Polymorphism

56 Polymorphism Inheritance Polymorphism

57 Polymorphism Interface Polymorphism

58 Review of OO

59 Answer:val 是 non-static variable, 需要通过实例例化后的对 象访问 package cn.edu.seu.cose.java.wyang; public class Alpha { int val; package cn.edu.seu.cose.java.wyang; public class Beta { public static void main(string args[]){ Alpha.val = 1;

60 Answer: a 没有实例例化 (new),1.2 变成整形需要强制转换 package cn.edu.seu.cose.java.wyang; public class Alpha { int val; package cn.edu.seu.cose.java.wyang; public class Beta { public static void main(string args[]){ Alpha a; a.val = 1.2;

61 Answer:Alpha 缺少缺省构造函数 package cn.edu.seu.cose.java.wyang; public class Alpha { int val; public Alpha (int i){ val = i; package cn.edu.seu.cose.java.wyang; public class Beta { public static void main(string args[]){ Alpha a = new Alpha(); a.val = 1;

62 Answer:val = 0, 初始化块缺少 { package cn.edu.seu.cose.java.wyang; public class Alpha { int val; val = 0; public Alpha (){ val = 1; package cn.edu.seu.cose.java.wyang; public class Beta { public static void main(string args[]){ Alpha a = new Alpha(); a.val = 1;

63 Answer:val 是 default 权限, 不不能跨 package package cn.edu.seu.cose.java.wyang; public class Alpha { int val; public Alpha (){ val = 1; package cn.edu.seu.cose.java.xzhang; public class Beta { public void ChangeVal(Alpha a){ a.val = 1;

64 nswer:val 是 protected 权限, 不不能被跨 package 的 非 子类访问 package cn.edu.seu.cose.java.wyang; public class Alpha { protected int val; public Alpha (){ val = 1; package cn.edu.seu.cose.java.xzhang; public class Beta { public void ChangeVal(Alpha a){ a.val = 1;

65 Answer:protected 权限, 跨 package 只有 子类能访问, 所以 首先需要 extends, 同时访问对象的 protected field 或 method 时, 必须该对象引 用的声明类型和当前类相同, 否则 无法访问 val 成员 这 里里还有 一个隐含的错误, 需要从另 一个 package 中 import alpha package cn.edu.seu.cose.java.wyang; public class Alpha { protected int val; public Alpha (){ val = 1; package cn.edu.seu.cose.java.xzhang; public class Beta extends Alpha{ public void ChangeVal(Alpha a){ a.val = 1;

66 Answer:private 值其他类不不可 见 package cn.edu.seu.cose.java.wyang; public class Alpha { private int val; public Alpha (){ val = 1; package cn.edu.seu.cose.java.wyang; public class Beta extends Alpha{ public void ChangeVal(){ val = 2;

67 Answer:b,d 不不是合法的重载,a,c 是合法的重载, 这 里里要 注意 Java 是强类型和重载的要求 a. public class Beta { void changeval(int a,int b){ void changeval(short a, int b){ c. public class Beta { void changeval(int a){ int changeval(int a, String b){ b. public class Beta { void changeval(int a){ int changeval(int b){ d. public class Beta { void changeval(int a, String b){ private void changeval(int a, String b){

68 Answer:a 正确 overriding 的问题, 返回值需要兼容 package cn.edu.seu.cose.wyang; public class Alpha { int changeval(int a){ a. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { short changeval(int a){ b. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { void changeval(int a){ c. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { long changeval(int a){

69 Answer:b,c 正确,overriding 的问题权限兼容性 package cn.edu.seu.cose.wyang; public class Alpha { int changeval(int a){ a. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { private int changeval(int a){ b. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { public int changeval(int a){ c. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { protected int changeval(int a)

70 Answer:a,c 正确, 如果签名不不 一致, 就不不是 overriding, 而是 overloading,a 是 overloading,c 是 overriding package cn.edu.seu.cose.wyang; public class Alpha { int changeval(int a){ a. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { void changeval(int a, int b){ b. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { void changeval(int a){ c. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { short changeval(int a){

71 Answer:overriding 里里 unvisible 的问题, 不不 一定只有 private 权限是 unvisible, 只要是权限不不可访问就可以, 这 里里由于 default 权限在跨 package 时不不可 见, 所以三个答案都正确,b,c 里里的 Beta 无法看到 Alpha 里里的 changeval 函数, 所以不不存在冲突, 注意这 里里也不不是 overloading package cn.edu.seu.cose.wyang; public class Alpha { int changeval(int a){ a. package cn.edu.seu.cose.wyang; public class Beta extends Alpha { short changeval(int a){ b. package cn.edu.seu.cose.xzhang; public class Beta extends Alpha { void changeval(int a){ c. package cn.edu.seu.cose.xzhang public class Beta extends Alpha { long changeval(int a){

72 Answer: 由于 display 方法是 default, 跨 package 不不可 见后, 固然两个函数变成相互独 立的了了, 但是声明类型的 方法如果不不可 见, 那么也就不不可调 用 package cn.edu.seu.cose.wyang; public class Alpha { String name = Alpha ; void display(){ System.out.println(name); package cn.edu.seu.cose.xzhang; public class Beta extends Alpha{ String name = Beta ; void display(){ System.out.println(name); public static void main(string args[]){ Alpha a = new Beta() a.display()

73 Answer:hiding,Field 是 hiding, 看声明类型决定访问谁 package cn.edu.seu.cose.wyang; public class Alpha { String name = Alpha ; void display(){ System.out.println(name); public class Beta { String name = Beta ; void display(){ System.out.println(name); public class Test { public static void main(string arg Beta b = new Beta(); Alpha a = b; System.out.println(a.name); Sytsm.out.println(b.name); a.display(); b.display(); a. Alpha Alpha Beta Beta b. Beta Beta Beta Beta c. Alpha Beta Beta Beta d. Alpha Beta Alpha Beta

74 .Answer: 抽象类不不可实例例化 package cn.edu.seu.cose.wyang; public class Alpha { int val = 0 void changeval(){ val = 1; abstract void getval(); public static void main(string args[]){ Alpha a = new Alpha(); a.changeval();

75 Answer: 类不不允许多重继承, package cn.edu.seu.cose.wyang; public class Alpha { public class Beta { public class Gamma extends Alpha, Beta {

76 Answer: 接 口不不允许实现, 需要由实现接 口的类来完成实现 package cn.edu.seu.cose.wyang; interface intalpha { void display(){ System.out.println( intalpha ); public class Alpha implements intalpha{ public static void main(string args[]){ intalpha a = new Alpha(); display();

77 Answer: 接 口 method 的缺省权限为 public, 类中 method 缺省权限为 default, 所以类中实现接 口的 方法需要声明 public, 否则在访问权限上不不兼容 package cn.edu.seu.cose.wyang; interface intalpha { void display(){ public class Alpha implement intalpha{ void display(){ System.out.println( Alpha ); public static void main(string args[]){ intalpha a = new Alpha(); display();

78 Answer: 接 口多重继承问题, 有歧义时, 必须明确从哪 一个接 口来访问 variable, 不不能通过类来访问有歧义的 variable, 对于 method, 取公共 子集的返回类型, 如果 无法取得, 则失败 package cn.edu.seu.cose.wyang; interface intalpha { String val= Alpha ; interface intbeta { int val=1; public class Alpha implement intalpha, intbeta{ public void display(){ System.out.println(Alpha.val); a. Alpha b. Beta c. Null d. 以上都不不是 public static void main(string args[]){ intalpha a = new Alpha(); a.display();

Chapter 2: Java OO II X I A N G Z H A N G

Chapter 2: Java OO II X I A N G Z H A N G Chapter 2: Java OO II X I A N G Z H A N G j a v a c o s e @ q q. c o m Content 2 Abstraction Abstract Class Interface Inheritance Polymorphism Abstraction What is Abstraction? Abstraction 4 An abstraction

More information

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容 Content 内容 A1 A2 A3 A4 A5 A6 A7 A8 A9 Login via ICTI CARE Website 通过 ICTI 关爱网站登录 Completing the Application Form 填写申请表 Application Form Created 创建的申请表 Receive Acknowledgement Email 接收确认电子邮件 Receive User

More information

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇 计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法 授课老师 : 王浩宇 haoyuwang@bupt.edu.cn 1 Today: Bits, Bytes, and Integers Representing information as bits Bit-level manipulations Integers Representation: unsigned

More information

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>

<?xml version=1.0?> <?xml-stylesheet type=text/xsl href=configuration.xsl?> <configuration> <!--- global properties --> <property> 1 重读配置文件 core-site.xml 要利用 Java 客户端来存取 HDFS 上的文件, 不得不说的是配置文件 hadoop-0.20.2/conf/core-site.xml 了, 最初我就是在这里吃了大亏, 所以我死活连不 上 HDFS, 文件无法创建 读取

More information

三 依赖注入 (dependency injection) 的学习

三 依赖注入 (dependency injection) 的学习 三 依赖注入 (dependency injection) 的学习 EJB 3.0, 提供了一个简单的和优雅的方法来解藕服务对象和资源 使用 @EJB 注释, 可以将 EJB 存根对象注入到任何 EJB 3.0 容器管理的 POJO 中 如果注释用在一个属性变量上, 容器将会在它被第一次访问之前赋值给它 在 Jboss 下一版本中 @EJB 注释从 javax.annotation 包移到了 javax.ejb

More information

Understanding IO patterns of SSDs

Understanding IO patterns of SSDs 固态硬盘 I/O 特性测试 周大 众所周知, 固态硬盘是一种由闪存作为存储介质的数据库存储设备 由于闪存和磁盘之间物理特性的巨大差异, 现有的各种软件系统无法直接使用闪存芯片 为了提供对现有软件系统的支持, 往往在闪存之上添加一个闪存转换层来实现此目的 固态硬盘就是在闪存上附加了闪存转换层从而提供和磁盘相同的访问接口的存储设备 一方面, 闪存本身具有独特的访问特性 另外一方面, 闪存转换层内置大量的算法来实现闪存和磁盘访问接口之间的转换

More information

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet 前 4 个字节都是一样的 0 8 16 31 类型代码检验和 ( 这 4 个字节取决于 ICMP 报文的类型 ) ICMP 的数据部分 ( 长度取决于类型 ) ICMP 报文 首部 数据部分 IP 数据报 ICMP: Internet Control Message

More information

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition Chapter 7: Deadlocks Silberschatz, Galvin and Gagne 2013 Chapter Objectives To develop a description of deadlocks, which prevent sets of concurrent processes from completing their tasks To present a number

More information

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图 PCU50 的整盘备份 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 OS Loader V4.00 Please select the operating system to start: SINUMERIK Use and to move the highlight to your choice. Press Enter

More information

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 实验三十三 DEIGRP 的配置 一 实验目的 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 二 应用环境 由于 RIP 协议的诸多问题, 神州数码开发了与 EIGRP 完全兼容的 DEIGRP, 支持变长子网 掩码 路由选择参考更多因素, 如带宽等等 三 实验设备 1. DCR-1751 三台 2. CR-V35FC 一条 3. CR-V35MT 一条 四 实验拓扑

More information

组播路由 - MSDP 和 PIM 通过走

组播路由 - MSDP 和 PIM 通过走 组播路由 - MSDP 和 PIM 通过走 Contents Introduction 拓扑控制 - 飞机来源注册 ( 步骤 1-3) 接受器参加组 ( 第 4 步 - 第 11 步 ) R4 PIM RP 修剪 (S, G) 步骤 12 摘要 Related Information Introduction 本文描述独立于协议的组播 (PIM) 和多播源发现协议 (MSDP) 的操作与使用一简单的组播拓扑

More information

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 RemoteFX 中新的 USB 重定向特性 在 RDS 中所有设备重定向机制 VDI 部署场景讨论 : 瘦客户端和胖客户端 (Thin&Rich). 用户体验 : 演示使用新的 USB 重定向功能 81% 4 本地和远程的一致的体验 (Close

More information

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide 简介 我们通过使用烧录有 AvalonMiner 设备管理程序的树莓派作为控制器 使 用户能够通过控制器中管理程序的图形界面 来同时对多台 AvalonMiner 6.0 或 AvalonMiner 6.01 进行管理和调试 本教程将简要的说明 如何把 AvalonMiner

More information

JAVA Programming Language Homework V: Overall Review

JAVA Programming Language Homework V: Overall Review JAVA Programming Language Homework V: Overall Review ID: Name: 1. Given the following Java code: [5 points] 1. public class SimpleCalc { 2. public int value; 3. public void calculate(){ value = value +

More information

Command Dictionary CUSTOM

Command Dictionary CUSTOM 命令模式 CUSTOM [(filename)] [parameters] Executes a "custom-designed" command which has been provided by special programming using the GHS Programming Interface. 通过 GHS 程序接口, 执行一个 用户设计 的命令, 该命令由其他特殊程序提供 参数说明

More information

Supplementary Materials on Semaphores

Supplementary Materials on Semaphores Supplementary Materials on Semaphores Contents Semaphores Basic synchronization patterns Producers-Consumers (Bounded Buffer) Readers-Writers The Dining Philosophers More Exercises for You Dijkstra Edsger

More information

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 )

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 ) Software Engineering Zheng Li( 李征 ) Jing Wan( 万静 ) 作业 Automatically test generation 1. 编写一个三角形程序, 任意输入三个整数, 判断三个整形边长能否构成三角形, 如果是三角形, 则判断它是一般三角形 等腰三角形或等边三角形, 并输出三角形的类型 2. 画出程序的 CFG, 计算圈复杂度 3. 设计一组测试用例满足测试准则

More information

Logitech G302 Daedalus Prime Setup Guide 设置指南

Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Contents / 目录 English................. 3 简体中文................. 6 2 Logitech G302 Daedalus Prime 1 On 2 USB Your Daedalus Prime

More information

Chapter 1 (Part 2) Introduction to Operating System

Chapter 1 (Part 2) Introduction to Operating System Chapter 1 (Part 2) Introduction to Operating System 张竞慧办公室 : 计算机楼 366 室电邮 :jhzhang@seu.edu.cn 主页 :http://cse.seu.edu.cn/personalpage/zjh/ 电话 :025-52091017 1.1 Computer System Components 1. Hardware provides

More information

如何查看 Cache Engine 缓存中有哪些网站 /URL

如何查看 Cache Engine 缓存中有哪些网站 /URL 如何查看 Cache Engine 缓存中有哪些网站 /URL 目录 简介 硬件与软件版本 处理日志 验证配置 相关信息 简介 本文解释如何设置处理日志记录什么网站 /URL 在 Cache Engine 被缓存 硬件与软件版本 使用这些硬件和软件版本, 此配置开发并且测试了 : Hardware:Cisco 缓存引擎 500 系列和 73xx 软件 :Cisco Cache 软件版本 2.3.0

More information

The Design of Everyday Things

The Design of Everyday Things The Design of Everyday Things Byron Li Copyright 2009 Trend Micro Inc. It's Not Your Fault Donald A. Norman & His Book Classification 03/17/11 3 Norman Door Why Learn to think from different aspects Contribute

More information

Triangle - Delaunay Triangulator

Triangle - Delaunay Triangulator Triangle - Delaunay Triangulator eryar@163.com Abstract. Triangle is a 2D quality mesh generator and Delaunay triangulator. Triangle was created as part of the Quake project in the school of Computer Science

More information

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 )

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) About Computer Windows System Requirements ( 电脑系统要求方面 ) 问 :VAS 5054A 安装过程中出现错误提示 :code 4 (corrupt cabinet) 答 : 客户电脑系统有问题, 换 XP 系统安装 Q: When vas5054 install, an error

More information

Skill-building Courses Business Analysis Lesson 3 Problem Solving

Skill-building Courses Business Analysis Lesson 3 Problem Solving Skill-building Courses Business Analysis Lesson 3 Problem Solving Review Software Development Life Cycle/Agile/Scrum Learn best practices for collecting and cleaning data in Excel to ensure accurate analysis

More information

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub 第二小题 : 逻辑隔离 (10 分 ) 一 实验背景云平台服务器上的不同虚拟服务器, 分属于不同的用户 用户远程登录自己的虚拟服务器之后, 安全上不允许直接访问同一局域网的其他虚拟服务器 二 实验目的搭建简单网络, 通过逻辑隔离的方法, 实现用户能远程登录局域网内自己的虚拟内服务器, 同时不允许直接访问同一局域网的其他虚拟服务器 三 实验环境搭建如图 1-1 所示, 我们会创建一个基于 OpenFlow

More information

IPC 的 Proxy-Stub 设计模式 ( c)

IPC 的 Proxy-Stub 设计模式 ( c) B05_c 基於軟硬整合觀點 IPC 的 Proxy-Stub 设计模式 ( c) By 高煥堂 天子 曹操 地头蛇? 3 包裝 IBinder 接口基於軟硬整合觀點 -- 使用 Proxy-Stub 设计模式 采用 Proxy-Stub 设计模式将 IBinder 接口包装起来, 让 App 与 IBinder 接口不再产生高度相依性 應用程序 (App) 其将 IBinder 接口包装起来, 转换出更好用的新接口

More information

XPages Extensibility API: Free Your Mind! 2011 IBM Corporation

XPages Extensibility API: Free Your Mind! 2011 IBM Corporation XPages Extensibility API: Free Your Mind! Before We Start... Who is this presentation aimed for? Individuals who: Are familiar with XPages or JSF Have a good understanding of XPages development Want to

More information

Lecture 3 for pipelining

Lecture 3 for pipelining Lecture 3 for pipelining The control hazard How to solve the control hazard Pipelining Hazards Taxonomy of Hazards Structural hazards These are conflicts over hardware resources. OK, maybe add extra hardware

More information

Parallel Programming Principle and Practice Lecture 7

Parallel Programming Principle and Practice Lecture 7 Parallel Programming Principle and Practice Lecture 7 Threads programming with TBB Outline Intel Threading Building Blocks Task-based programming Task Scheduler Scalable Memory Allocators Concurrent Containers

More information

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E NetScreen 概念与范例 ScreenOS 参考指南 第 7 卷 : 虚拟系统 ScreenOS 5.0.0 编号 093-0930-000-SC 修订本 E Copyright Notice Copyright 2004 NetScreen Technologies, Inc. All rights reserved. NetScreen, NetScreen Technologies, GigaScreen,

More information

Technology: Anti-social Networking 科技 : 反社交网络

Technology: Anti-social Networking 科技 : 反社交网络 Technology: Anti-social Networking 科技 : 反社交网络 1 Technology: Anti-social Networking 科技 : 反社交网络 The Growth of Online Communities 社交网络使用的增长 Read the text below and do the activity that follows. 阅读下面的短文, 然后完成练习

More information

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆 漂亮的测试 代码之美 第七章 By Alberto Savoia 史际帆 作者简介 :Alberto Savoia Alberto Savoia is co-founder and CTO of Agitar Software. Before Agitar, he was Senior Director of Engineering at Google; prior to that he was the

More information

Bi-monthly report. Tianyi Luo

Bi-monthly report. Tianyi Luo Bi-monthly report Tianyi Luo 1 Work done in this week Write a crawler plus based on keywords (Support Chinese and English) Modify a Sina weibo crawler (340M/day) Offline learning to rank module is completed

More information

Declaration of Conformity STANDARD 100 by OEKO TEX

Declaration of Conformity STANDARD 100 by OEKO TEX Declaration of Conformity STANDARD 100 by OEKO TEX OEKO-TEX - International Association for Research and Testing in the Field of Textile and Leather Ecology OEKO-TEX - 国际纺织和皮革生态学研究和检测协会 Declaration of

More information

NyearBluetoothPrint SDK. Development Document--Android

NyearBluetoothPrint SDK. Development Document--Android NyearBluetoothPrint SDK Development Document--Android (v0.98) 2018/09/03 --Continuous update-- I Catalogue 1. Introduction:... 3 2. Relevant knowledge... 4 3. Direction for use... 4 3.1 SDK Import... 4

More information

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 TW5.0 如何使用 SSL 认证 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 Generating RSA private key, 1024 bit long modulus.++++++...++++++ e is 65537 (0x10001) (2) 生成待签名证书 openssl

More information

测试 SFTP 的 问题在归档配置页的 MediaSense

测试 SFTP 的 问题在归档配置页的 MediaSense 测试 SFTP 的 问题在归档配置页的 MediaSense Contents Introduction Prerequisites Requirements Components Used 问题 : 测试 SFTP 按钮发生故障由于 SSH 算法协商故障解决方案 Bug Reled Informion Introduction 本文描述如何解决可能发生的安全壳 SSH 算法协商故障, 当您配置一个安全文件传输协议

More information

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties> SpringBoot 的基本操作 一 基本概念在 spring 没有出现的时候, 我们更多的是使用的 Spring,SpringMVC,Mybatis 等开发框架, 但是要将这些框架整合到 web 项目中需要做大量的配置,applicationContext.xml 以及 servlet- MVC.xml 文件等等, 但是这些文件还还不够, 还需要配置 web.xml 文件进行一系列的配置 以上操作是比较麻烦的,

More information

Chapter 11 SHANDONG UNIVERSITY 1

Chapter 11 SHANDONG UNIVERSITY 1 Chapter 11 File System Implementation ti SHANDONG UNIVERSITY 1 Contents File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and

More information

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34 目录 1 DHCP 1-1 1.1 DHCP 公共命令 1-1 1.1.1 dhcp dscp 1-1 1.1.2 dhcp enable 1-1 1.1.3 dhcp select 1-2 1.2 DHCP 服务器配置命令 1-3 1.2.1 address range 1-3 1.2.2 bims-server 1-4 1.2.3 bootfile-name 1-5 1.2.4 class 1-6

More information

Safe Memory-Leak Fixing for C Programs

Safe Memory-Leak Fixing for C Programs Safe Memory-Leak Fixing for C Programs Qing Gao, Yingfei Xiong, Yaqing Mi, Lu Zhang, Weikun Yang, Zhaoing Zhou, Bing Xie, Hong Mei Institute of Software, Peking Unversity 内存管理 安全攸关软件的开发必然涉及内存管理问题 软件工程经典问题,

More information

PTZ PRO 2. Setup Guide 设置指南

PTZ PRO 2. Setup Guide 设置指南 PTZ PRO 2 Setup Guide 设置指南 3 ENGLISH 8 简体中文 2 KNOW YOUR PRODUCT 1 4 9 5 10 6 7 11 8 2 13 14 3 12 15 Camera 1. 10X lossless zoom 2. Camera LED 3. Kensington Security Slot Remote 4. Mirror 5. Zoom in 6.

More information

Lesson 20 Microcontroller Integrated Circuit With Read Only Memory

Lesson 20 Microcontroller Integrated Circuit With Read Only Memory Lesson 20 Microcontroller Integrated Circuit With Read Only Memory A microcontroller integrated circuit comprises a processor core which exchanges data with at least one data processing and/or storage

More information

OpenCascade 的曲面.

OpenCascade 的曲面. 在 OpenSceneGraph 中绘制 OpenCascade 的曲面 eryar@163.com 摘要 Abstract : 本文对 OpenCascade 中的几何曲面数据进行简要说明, 并结合 OpenSceneGraph 将这些曲面显示 关键字 Key Words:OpenCascade OpenSceneGraph Geometry Surface NURBS 一 引言 Introduction

More information

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 文本我们会一步一步做一个例子来看看 SpringBoot 的自动配置是如何实现的, 然后来看一 些 SpringBoot 留给我们的扩展点 自己制作一个 SpringBoot Starter 我们知道 SpringBoot 提供了非常多的启动器, 引入了启动器依赖即可直接享受到自动依赖 配置和自动属性配置 : https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/springboot-starters

More information

CHINA VISA APPLICATION CONCIERGE SERVICE*

CHINA VISA APPLICATION CONCIERGE SERVICE* TRAVEL VISA PRO ORDER FORM Call us for assistance 866-378-1722 Fax 866-511-7599 www.travelvisapro.com info@travelvisapro.com CHINA VISA APPLICATION CONCIERGE SERVICE* Travel Visa Pro will review your documents

More information

Multiprotocol Label Switching The future of IP Backbone Technology

Multiprotocol Label Switching The future of IP Backbone Technology Multiprotocol Label Switching The future of IP Backbone Technology Computer Network Architecture For Postgraduates Chen Zhenxiang School of Information Science and Technology. University of Jinan (c) Chen

More information

Decode Zend. Darkness/Airsupply

Decode Zend. Darkness/Airsupply Decode Zend Darkness/Airsupply 关于 PHP 深入了解 PHP 目录 Decode 的关键 ---Opcode Opcode Hooker 技术介绍 分析 Zend Optimizer 开始 Decode 饶过混淆技术 简约不简单 跨平台 使用广泛 About PHP Inside PHP Php core 与 ZendCore 1 把原始的 php 脚本生成中间代码

More information

武汉大学 学年度第 1 学期 多核架构及编程技术 试卷(A)

武汉大学 学年度第 1 学期 多核架构及编程技术 试卷(A) 武汉大学 2007 2008 学年度第 学期 多核架构及编程技术 试卷(A) 学院专业班学号姓名分数 注 : 请在答题纸上答题 答案写在试卷纸上无效 考试完毕, 请将答题纸与试卷纸一起上交 一 填空题 ( 共 20 分, 每题 2 分 ) When threads are scheduled for execution, Windows choose which processor should run

More information

Command Dictionary -- DAMSTAB

Command Dictionary -- DAMSTAB 命令模式 DAMSTAB [(divlist)] /SDIC /SDIHC /SDIHR /SDI194C[SP] /SDI194P[SP] /SDI216C[SP] /SDI216P[SP] /SDIPtype [/L:l1,l2] [/B:b1[,b2]] [/N:n1,n2] [/STOP[AT][:n]] [/DLL:draftloadline] [/LIMITHEEL:angle] [/WRITE:runfile]

More information

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 : Latest update:

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 :  Latest update: 学习沉淀成长分享 EIGRP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 EIGRP 协议基础 EIGRP 基础配置 EIGRP 协议基础 EIGRP 的协议特点 EIGRP 的三张表 EIGRP 数据包 初始路由发现 EIGRP metric DUAL 算法 EIGRP 的协议特点 CISCO

More information

畅联科技锁掌柜开放接口 - Android 版本 用户手册

畅联科技锁掌柜开放接口 - Android 版本 用户手册 畅联科技锁掌柜开放接口 - Android 版本 用户手册 2018-08-08 一 引入到项目 配置 Android Manifest.xml, 添加权限

More information

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用 在本博客的 Spark Metrics 配置详解 文章中介绍了 Spark Metrics 的配置, 其中我们就介绍了 Spark 监控支持 Ganglia Sink Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源,

More information

Apache OpenWhisk + Kubernetes:

Apache OpenWhisk + Kubernetes: Apache OpenWhisk + Kubernetes: A Perfect Match for Your Serverless Platform Ying Chun Guo guoyingc@cn.ibm.com Zhou Xing xingzhou@qiyi.com Agenda What is serverless? Kubernetes + Apache OpenWhisk Technical

More information

CloudStack 4.3 API 开发指南!

CloudStack 4.3 API 开发指南! CloudStack 4.3 API 开发指南 CloudStack4.3 离发布也不远了, 自从 CloudStack4.1 以后, 其耦合度 一步步下降, 这使开发变得更加容易, 今天我们就以 CloudStack4.3 版本为基础, 来感受 一下如何添加 一个新的 API 首先,CloudStack4.3 里所有的 API 都可认为是 一个插件提供的服务, 诸如 ACL, 网络, 主机以及管理服务器

More information

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1 Build a Key Value Flash Disk Based Storage System Flash Memory Summit 2017 Santa Clara, CA 1 Outline Ø Introduction,What s Key Value Disk Ø A Evolution to Key Value Flash Disk Based Storage System Ø Three

More information

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 )

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 ) Air Speaker Getting started with Logitech UE Air Speaker Wireless speaker with AirPlay 快速入门罗技 UE Air Speaker 无线音箱 (AirPlay 技术 ) for ipad, iphone, ipod touch and itunes ipad, iphone, ipod touch itunes Logitech

More information

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 1. DWR 1.1 DWR 基础 1.1.1 概念 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 2 作用 使用 DWR, 可以直接在 html 网页中调用 Java 对象的方法 ( 通过 JS 和 Ajax) 3 基本原理主要技术基础是 :AJAX+ 反射 1) JS 通过 AJAX 发出请求, 目标地址为 /dwr/*, 被 DWRServlet(

More information

Apache Kafka 源码编译 Spark 大数据博客 -

Apache Kafka 源码编译 Spark 大数据博客 - 经过近一个月时间, 终于差不多将之前在 Flume 0.9.4 上面编写的 source sink 等插件迁移到 Flume-ng 1.5.0, 包括了将 Flume 0.9.4 上面的 TailSou rce TailDirSource 等插件的迁移 ( 当然, 我们加入了许多新的功能, 比如故障恢复 日志的断点续传 按块发送日志以及每个一定的时间轮询发送日志而不是等一个日志发送完才发送另外一个日志

More information

libde265 HEVC 性能测试报告

libde265 HEVC 性能测试报告 libde265 HEVC www.libde265.org libde265 HEVC 高效率视频编码 (HEVC) 是新的视频压缩标准, 是 H.264/MPEG-4 AVC (Advanced Video Coding) 的后继者 HEVC 是由 ISO/IEC Moving Picture Experts Group (MPEG) 和 ITU-T Video Coding Experts Group

More information

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 密级 : 博士学位论文 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 作者姓名指导教师学科 ( 专业 ) 所在学院提交日期 胡威陈天洲教授计算机科学与技术计算机学院二零零八年三月 A Dissertation Submitted to Zhejiang University for the Degree of Doctor of Philosophy TITLE: The

More information

Epetra_Matrix. August 14, Department of Science and Engineering Computing School of Mathematics School Peking University

Epetra_Matrix. August 14, Department of Science and Engineering Computing School of Mathematics School Peking University _Matrix Department of Science and Engineering Computing School of Mathematics School Peking University August 14, 2007 _Matrix Department of Science and Engineering Computing School of Mathematics School

More information

Wireless Presentation Pod

Wireless Presentation Pod Wireless Presentation Pod WPP20 www.yealink.com Quick Start Guide (V10.1) Package Contents If you find anything missing, contact your system administrator. WPP20 Wireless Presentation Pod Quick Start Guide

More information

IPC 的 Proxy-Stub 设计模式 (b)

IPC 的 Proxy-Stub 设计模式 (b) B05_b 基於軟硬整合觀點 IPC 的 Proxy-Stub 设计模式 (b) By 高煥堂 2 IBinder 接口的一般用途基於軟硬整合觀點 ib.transact(1, data, reply, 0); //. ib.transact(2, data, reply, 0); boolean ontransact( int code, Parcel data, Parcel reply, int

More information

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围 107-68703 Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 Define the packaging specifiction and packaging method of MBXL HSG. 订定 MBXL HSG 产品之包装规格及包装方式 2. APPLICABLE PRODUCT 适用范围 PKG TYPE

More information

菜鸟调错 原文出处 : 菜鸟调错作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 菜鸟调错 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 本文档使用看云构建

菜鸟调错 原文出处 : 菜鸟调错作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 菜鸟调错 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 本文档使用看云构建 前言 原文出处 : 作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 - 1 - ( 一 )Maven 项目部署到 Jboss 出现 :Failed to create a new SAX parser 今天调试的时候遇到一个错误, 往 Jboss 的 deploy 目录扔 war 包的时候,

More information

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制 Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制 by Hannan-Bin-Liaqat (11117018) to School of Software in partial fulfillment of the requirements for the degree of Doctor of Philosophy

More information

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host)

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) 网络编程 杨亮 网络模型 访问 网络 Socket InetAddress 类 public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) public class OreillyByName

More information

Chapter 7. Digital Arithmetic and Arithmetic Circuits. Signed/Unsigned Binary Numbers

Chapter 7. Digital Arithmetic and Arithmetic Circuits. Signed/Unsigned Binary Numbers Chapter 7 Digital Arithmetic and Arithmetic Circuits Signed/Unsigned Binary Numbers Signed Binary Number: A binary number of fixed length whose sign (+/ ) is represented by one bit (usually MSB) and its

More information

TBarCode OCX Microsoft ActiveX compliant Barcode Control

TBarCode OCX Microsoft ActiveX compliant Barcode Control TBarCode OCX Microsoft ActiveX compliant Barcode Control Version 9.0 Tutorial 19 December 2008 TEC-IT Datenverarbeitung GmbH W agnerstrasse 6 A-4400 Steyr, Austria t ++43 (0)7252 72720 f ++43 (0)7252 72720

More information

The relational Algebra & calculus cont. Reference : UC Berkeley

The relational Algebra & calculus cont. Reference : UC Berkeley The relational Algebra & calculus cont Reference : UC Berkeley Formal Relational Query Languages Two mathematical Query Languages form the basis for real languages (e.g. SQL), and for implementation: ❶

More information

Chapter 2: Relational Model

Chapter 2: Relational Model Chapter 2: Relational Model Chapter 2: Relational Model Structure of Relational Databases Fundamental Relational-Algebra-Operations Additional Relational-Algebra-Operations Extended Relational-Algebra-Operations

More information

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 SGM IT < 上汽通用汽车供应商门户网站项目 (SGMSP)> 工作产品名称 :< User Guide 用户手册 > Current Version: Owner: < 曹昌晔 > Date Created:

More information

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心 RPG IV 新特性概览 钟嘉田 zhongjt@cn.ibm.com DB2 for i Performance, IBM 中国系统与科技研发中心 议程 RPG 更新旅程 V3R1 ~ V6R1,RPG IV 在各个领域的更新 7.1 ~ 7.3 RPG IV 的新功能 2017 International Business Machines Corporation 2 RPG 更新旅程 RPG

More information

Compile times - assert macros

Compile times - assert macros Compile times - assert macros 53 doctest 1.0 - CHECK(a == b); do { Result res; bool threw = false; try { res = ExpressionDecomposer() success) {

More information

未有现场回答的问题及其解答 如果我不需要所有的平台, 我可否只安装我想使用的平台?

未有现场回答的问题及其解答 如果我不需要所有的平台, 我可否只安装我想使用的平台? 未有现场回答的问题及其解答 Question Answer 如果我不需要所有的平台, 我可否只安装我想使用的平台? Yes, the CCS Platinum installer will allow the user to choose a custom installation, where they just need to de-select the platforms that they

More information

Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南

Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南 Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南 Logitech ConferenceCam CC3000e Camera English................. 4 简体中文................ 9 www.logitech.com/support............................

More information

OOP with Java. Yuanbin Wu

OOP with Java. Yuanbin Wu OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 7 :6 月 13 日晚 9 点 ( 暂时安排 ) 下周复习, 下下周答疑 考试时间? 复习 I/O 流 InputStream/Reader read() OutputStream/Writer write() 抽象 : 数据的来源 / 数据的目的地 ByteArrayStream,

More information

#MDCC Swift 链式语法应 用 陈乘

#MDCC Swift 链式语法应 用 陈乘 #MDCC 2016 Swift 链式语法应 用 陈乘 方 @ENJOY 关于我 Swift 开发者 ENJOY ios 客户端负责 人 两年年 Swift 实际项 目开发经验 微博 ID: webfrogs Twitter: nswebfrog Writing code is always easy, the hard part is reading it. 链式语法? 链式语法 可以连续不不断地进

More information

失Answer for homework assignment 4

失Answer for homework assignment 4 1 失1 失Answer for homework assignment 4 1. 有一个 Cache/ 主存存储层次 Cache 采用 2 路组关联,LRU 替换策略, 直写, 无写分配策略 设主存共分 8 个块 (0~7),Cache 为 4 块, 对于下列结构的 Cache, 画出主存 Cache 块的对应关系 ; 假设出现如下主存访问块地址流 : 读 1 读 2 读 4 读 1 写 3 读

More information

Windows Batch VS Linux Shell. Jason Zhu

Windows Batch VS Linux Shell. Jason Zhu Windows Batch VS Linux Shell Jason Zhu Agenda System and Shell Windows batch and Linux Shell Dos and Linux Shell internal Commands Windows and Linux external commands Batch and Shell variable and special

More information

mod_callcenter callcenter.conf.xml 范例 odbc-dsn

mod_callcenter callcenter.conf.xml 范例 odbc-dsn mod_callcenter 本文英文部分是来自 https://freeswitch.org/confluence/display/freeswitch/mod_callcenter, 中文部分是通过分析 mod_callcenter.c 的代码根据个人 的理解整理而成 关于作者 鼎鼎 :cdevelop@qq.com qq:1280791187 本文会不定期更新, 最新版本在 http://www.ddrj.com/?p=79

More information

/* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑,

/* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑, /* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑, 对于变量和结构的定义, 都可以忽略, 以及最后的 main() 函数, 在查看的时候发现各种疑问欢迎与我们助教讨论 */ //Header.h 常量及结构的申明. #definetrue 1 #definefalse

More information

MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG

MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG MP3 文件格式一. 概述 : MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG 音频文件是 MPEG1 标准中的声音部分, 也叫 MPEG 音频层, 它根据压缩质量和编码复杂程度划分为三层,

More information

ngx_openresty: an Nginx ecosystem glued by Lua

ngx_openresty: an Nginx ecosystem glued by Lua ngx_openresty: an Nginx ecosystem glued by Lua ngx_openresty: an Nginx ecosystem glued by Lua 由 Lua 粘合的 Nginx 生态环境 agentzh@gmail.com 章亦春 (agentzh) 2012.02 I've been hacking in the Fuzhou city in the last

More information

ZWO 相机固件升级参考手册. ZWO Camera Firmware Upgrade reference manual. 版权所有 c 苏州市振旺光电有限公司 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄 复制本文档内容的部分或者全部, 并

ZWO 相机固件升级参考手册. ZWO Camera Firmware Upgrade reference manual. 版权所有 c 苏州市振旺光电有限公司 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄 复制本文档内容的部分或者全部, 并 ZWO 相机固件升级参考手册 ZWO Camera Firmware Upgrade reference manual 文档编号 :ZW1802240ACSC ZWO Co., Ltd. Phone:+86 512 65923102 Web: http://www.zwoptical.com 版权所有 c 苏州市振旺光电有限公司 2015-2035 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄

More information

Grandstream Networks, Inc.

Grandstream Networks, Inc. GXV21XX IP 电话 /GXP1450 IP 电话 目录 概述...3 IT 原理及构造...3 XML 语法...3 自定义屏保举例...9 自定义 Logo...9 自定义软按键...9 自定义账号状态...10 附录...10 基本要素 Screen...10 要素 LeftStatusBar...11 要素 IdleScreen...11 要素 DISPLAYSTR...11 GXP21XX/GXP1450

More information

SHANDONG UNIVERSITY 1

SHANDONG UNIVERSITY 1 Chapter 12 Mass-Storage Systems SHANDONG UNIVERSITY 1 Contents Overview of Mass Storage Structure Disk Structure Disk Attachment Disk Scheduling Disk Management Swap-Space p Management RAID Structure Disk

More information

Chapter2 Instruction Sets

Chapter2 Instruction Sets Coputer Architecture Chapter Instruction Sets Zheng Qinghua CS Departent of XJTU 05.3 Introduction to Instruction Set Architecture ISA is the structure of a coputer that a achine language prograer ust

More information

Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD

Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD 1 / 5 2 / 5 Photoshop Cs6 Crack Serial Ke....op_sp_fanyi{font-size:1em;word-break:normal;}.op_sp_fanyi.op_sp_fanyi_read{display: inline-block;*display: inline;*zoom:1;marginleft:4px;*position:relative;*top:-2px;}.op_sp_fanyi_how_read,.op_sp_fanyi_mp3_play{display:block;w

More information

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 We can format your materials to be read.. in print 印刷 XML Conversions online

More information

[ 电子书 ]Spark for Data Science PDF 下载 Spark 大数据博客 -

[ 电子书 ]Spark for Data Science PDF 下载 Spark 大数据博客 - [ 电子书 ]Spark for Data Science PDF 下载 昨天分享了 [ 电子书 ]Apache Spark 2 for Beginners pdf 下载, 这本书很适合入门学习 Spark, 虽然书名上写着是 Apache Spark 2, 但是其内容介绍几乎和 Spark 2 毫无关系, 今天要分享的图书也是一本适合入门的 Spark 电子书, 也是 Packt 出版,2016

More information

Protocol in General Outline. What is protocol. Why using protocol. What kind of Protocols are there.

Protocol in General Outline. What is protocol. Why using protocol. What kind of Protocols are there. Protocol in General Information Network Center Beijing University of Posts and Telecommunications Sept. 2016 Outline An overview on protocols Well-known protocol stacks Protocol mechanisms Protocol specification

More information

Support for Title 21 CFR Part 11 and Annex 11 compliance: Agilent OpenLAB CDS version 2.1

Support for Title 21 CFR Part 11 and Annex 11 compliance: Agilent OpenLAB CDS version 2.1 Support for Title 21 CFR and compliance: Agilent OpenLAB CDS version 2.1 Whitepaper Overview US FDA in Title 21 of the Code of Federal Regulations (CFR), and its EU analog, Eudralex Chapter 4,, describe

More information

Oracle 一体化创新云技术 助力智慧政府信息化战略. Copyright* *2014*Oracle*and/or*its*affiliates.*All*rights*reserved.** *

Oracle 一体化创新云技术 助力智慧政府信息化战略. Copyright* *2014*Oracle*and/or*its*affiliates.*All*rights*reserved.** * Oracle 一体化创新云技术 助力智慧政府信息化战略 ?* x * Exadata Exadata* * * Exadata* InfiniBand 0Gbits/S 5?10 * Exadata* * Exadata& & Oracle exadata! " 4 " 240 12! "!! " " " Exadata* Exadata & Single?Instance*Database*

More information

Computer Networks. Wenzhong Li. Nanjing University

Computer Networks. Wenzhong Li. Nanjing University Computer Networks Wenzhong Li Nanjing University 1 Chapter 2. Direct Link Networks Link Service and Framing Error Detection and Reliable Transmission HDLC, PPP, and SONET Token Ring Ethernet Bridges and

More information

Computer Networks. Wenzhong Li. Nanjing University

Computer Networks. Wenzhong Li. Nanjing University Computer Networks Wenzhong Li Nanjing University 1 Chapter 2. Direct Link Networks Link Service and Framing Error Detection and Reliable Transmission HDLC, PPP, and SONET Token Ring Ethernet Bridges and

More information

Spark 源码编译遇到的问题解决 Spark 大数据博客 -

Spark 源码编译遇到的问题解决 Spark 大数据博客 - 1 内存不够 [ERROR] PermGen space -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors,re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.

More information

武汉大学 学年度第 2 学期 多核架构及编程技术 试卷(A)

武汉大学 学年度第 2 学期 多核架构及编程技术 试卷(A) 武汉大学 2006 2007 学年度第 2 学期 多核架构及编程技术 试卷(A) 学院专业班学号姓名分数 注 : 请在答题纸上答题 答在试卷纸上无效 考试完毕, 请将答题纸与试卷纸一起上交 一 填空题 ( 共 20 分, 每题 2 分 ) 1 In.NET threading API, what method is used to terminate a thread? 2 In Pthreads

More information

操作系统原理与设计. 第 13 章 IO Systems(IO 管理 ) 陈香兰 2009 年 09 月 01 日 中国科学技术大学计算机学院

操作系统原理与设计. 第 13 章 IO Systems(IO 管理 ) 陈香兰 2009 年 09 月 01 日 中国科学技术大学计算机学院 第 13 章 IO Systems(IO 管理 ) 中国科学技术大学计算机学院 2009 年 09 月 01 日 提纲 I/O Hardware 1 I/O Hardware Polling Interrupts Direct Memory Access (DMA) I/O hardware summary 2 Block and Character Devices Network Devices

More information