⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adapter.md~

📁 意图 将一个类的接口转换成客户希望的另外一个接口。A d a p t e r 模式使得原本由于接口不兼容而不能一起工作的那些类可以一起工作。 适用性 · 你想使用一个已经存在的类
💻 MD~
📖 第 1 页 / 共 5 页
字号:
						strike     	FALSE
						color      	0
						default_color 	TRUE)
					    anchor     	1
					    anchor_loc 	1
					    nlines     	1
					    max_width  	60
					    justify    	0
					    label      	"-txt"
					    pctDist    	0.800000
					    height     	42
					    orientation 	1)
					stereotype 	TRUE
					line_color 	3342489
					quidu      	"4136A1CC00DC"
					client     	@7
					supplier   	@4
					line_style 	0)))
			    (object RealizeView "" @12
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"4136A1CC007E"
				client     	@6
				supplier   	@1
				line_style 	0))))))
	logical_presentations 	(list unit_reference_list
	    (object ClassDiagram "Package Hierarchy"
		quid       	"39C9261001B8"
		title      	"Package Hierarchy"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	0
		items      	(list diagram_item_list
		    (object CategoryView "Logical View::java" @13
			location   	(208, 272)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@13
			    location   	(64, 188)
			    nlines     	2
			    max_width  	288
			    justify    	0
			    label      	"java")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	16777215
			quidu      	"39C92661003B"
			width      	300
			height     	180)
		    (object CategoryView "Logical View::javax" @14
			location   	(656, 272)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@14
			    location   	(512, 188)
			    nlines     	2
			    max_width  	288
			    justify    	0
			    label      	"javax")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	16777215
			quidu      	"39C926610018"
			width      	300
			height     	180)
		    (object CategoryView "Logical View::org" @15
			location   	(1104, 272)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@15
			    location   	(960, 188)
			    nlines     	2
			    max_width  	288
			    justify    	0
			    label      	"org")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	16777215
			quidu      	"39C92693036F"
			width      	300
			height     	180)))
	    (object ClassDiagram "Legend"
		quid       	"39CD51840059"
		title      	"Legend"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	0
		items      	(list diagram_item_list
		    (object NoteView @16
			location   	(224, 624)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			line_color 	3342489
			fill_color 	12632256
			width      	300
			height     	132)
		    (object NoteView @17
			location   	(704, 624)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			line_color 	3342489
			fill_color 	8421631
			width      	300
			height     	132)
		    (object NoteView @18
			location   	(1200, 624)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			line_color 	3342489
			fill_color 	12615680
			width      	300
			height     	132)
		    (object NoteView @19
			location   	(1664, 624)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			line_color 	3342489
			fill_color 	16777215
			width      	300
			height     	132)
		    (object Label @20
			location   	(81, 369)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	TRUE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			nlines     	1
			max_width  	1163
			label      	"J2EE: Java 2 Platform, Enterprise Edition - v 1.2.1")
		    (object Label @21
			location   	(96, 608)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			nlines     	1
			max_width  	268
			label      	"Abstract Class")
		    (object Label @22
			location   	(592, 608)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			nlines     	1
			max_width  	225
			label      	"Final Class")
		    (object Label @23
			location   	(1104, 608)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			nlines     	1
			max_width  	206
			label      	"Interface")
		    (object Label @24
			location   	(1552, 608)
			font       	(object Font
			    size       	10
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			nlines     	1
			max_width  	144
			label      	"Class")))))
    root_subsystem 	(object SubSystem "Component View"
	quid       	"39C9260C00D7"
	visible_modules 	(list dependency_list
	    (object Module_Visibility_Relationship
		quid       	"413698D602FA"
		supplier   	"Component View::java::io"
		quidu      	"39CD6AED037E"
		supplier_is_subsystem 	TRUE))
	physical_models 	(list unit_reference_list
	    (object module "Text" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC\\Text.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"41368E3002CD"
		stereotype 	""
		language   	"Java")
	    (object module "Shape" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC\\Shape.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"41368E300388"
		stereotype 	""
		language   	"Java")
	    (object module "TextShapeClass" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC\\TextShapeClass.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"41368E31000D"
		stereotype 	""
		language   	"Java")
	    (object module "TextShapeObject" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC\\TextShapeObject.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\01_ADAPTER\\SRC")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"41368F9F00DD"
		stereotype 	""
		language   	"Java")
	    (object module "Test" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\Test.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"413698D4027D"
		stereotype 	""
		language   	"Java")
	    (object module "TextImp" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\TextImp.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"413698D50125"
		stereotype 	""
		language   	"Java")
	    (object module "TextBold" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\TextBold.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"413698D601B2"
		stereotype 	""
		visible_modules 	(list dependency_list
		    (object Module_Visibility_Relationship
			quid       	"41369930009E"
			documentation 	"The RefinedAbstraction"
			supplier   	"Component View::java::io"
			quidu      	"39CD6AED037E"
			supplier_is_subsystem 	TRUE))
		language   	"Java")
	    (object module "TextImpLinux" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\TextImpLinux.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"413698D60386"
		stereotype 	""
		language   	"Java")
	    (object module "TextImpMac" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\TextImpMac.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute
			tool       	"Java"
			name       	"CmIdentification"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Java"
			name       	"CopyrightNotice"
			value      	(value Text "")))
		quid       	"413698D7006A"
		stereotype 	""
		language   	"Java")
	    (object module "TextItalic" "NotAModuleType" "NotAModulePart"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"FileName"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src\\TextItalic.java")
		    (object Attribute
			tool       	"Java"
			name       	"RootPath"
			value      	"D:\\07_JAVA设计模式\\JAVA设计模式\\DESIGNPATTERNS\\02_Bridge\\src")
		    (object Attribute

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -