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

📄 adapter.md~

📁 意图 将一个类的接口转换成客户希望的另外一个接口。A d a p t e r 模式使得原本由于接口不兼容而不能一起工作的那些类可以一起工作。 适用性 · 你想使用一个已经存在的类
💻 MD~
📖 第 1 页 / 共 5 页
字号:
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"4136A1CC0139"
			parameters 	(list Parameters
			    (object Parameter "str"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"4136A1CC0149"
				type       	"String"
				quidu      	"39CD6AE1011A"))
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "GetContent"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"4136A1CC014A"
			result     	"String"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0
			quidu      	"39CD6AE1011A")
		    (object Operation "main"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	TRUE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"4136A1CC0158"
			parameters 	(list Parameters
			    (object Parameter "args"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"4136A1CC0168"
				type       	"String[]"
				quidu      	"39CD6AE1011A"))
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0))
		module     	"Component View::TextShapeObject"
		quidu      	"41368F9F00DD"
		language   	"Java")
	    (object Association "$UNNAMED$0"
		attributes 	(list Attribute_Set)
		quid       	"4136A1CC00DB"
		roles      	(list role_list
		    (object Role "txt"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"InitialValue"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Transient"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Volatile"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedTypes"
				value      	FALSE))
			quid       	"4136A1CC00DC"
			label      	"txt"
			supplier   	"Logical View::Text"
			quidu      	"4136A1CB01D6"
			exportControl 	"Private"
			is_navigable 	TRUE)
		    (object Role "$UNNAMED$1"
			quid       	"4136A1CC00DE"
			supplier   	"Logical View::TextShapeObject"
			quidu      	"4136A1CC0001")))
	    (object Class_Category "javax"
		is_unit    	TRUE
		is_loaded  	FALSE
		file_name  	"$FRAMEWORK_PATH\\Shared Components\\j2ee_javax.cat"
		quid       	"39C926610018")
	    (object Class_Category "java"
		is_unit    	TRUE
		is_loaded  	FALSE
		file_name  	"$FRAMEWORK_PATH\\Shared Components\\j2se_1_3_java.cat"
		quid       	"39C92661003B")
	    (object Class_Category "org"
		is_unit    	TRUE
		is_loaded  	FALSE
		file_name  	"$FRAMEWORK_PATH\\Shared Components\\j2se_1_3_org.cat"
		quid       	"39C92693036F")
	    (object Class_Category "<<>Adapter"
		quid       	"41368E8802A3"
		exportControl 	"Public"
		logical_models 	(list unit_reference_list)
		logical_presentations 	(list unit_reference_list
		    (object ClassDiagram "Adapter"
			quid       	"41368EA90242"
			title      	"Adapter"
			zoom       	100
			max_height 	28350
			max_width  	21600
			origin_x   	0
			origin_y   	0
			items      	(list diagram_item_list
			    (object ClassView "Class" "Logical View::Shape" @1
				ShowCompartmentStereotypes 	TRUE
				IncludeAttribute 	TRUE
				IncludeOperation 	TRUE
				location   	(256, 752)
				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 	@1
				    location   	(255, 860)
				    anchor_loc 	1
				    nlines     	2
				    max_width  	226
				    justify    	0
				    label      	"Shape")
				icon       	"Interface"
				icon_style 	"Icon"
				line_color 	3342489
				fill_color 	13434879
				quidu      	"4136A1CB0168"
				compartment 	(object Compartment
				    Parent_View 	@1
				    location   	(157, 945)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    icon_style 	"Icon"
				    anchor     	2
				    nlines     	3
				    max_width  	194
				    justify    	0)
				width      	58
				height     	58
				annotation 	8
				autoResize 	TRUE)
			    (object ClassView "Class" "Logical View::TextShapeClass" @2
				ShowCompartmentStereotypes 	TRUE
				IncludeAttribute 	TRUE
				IncludeOperation 	TRUE
				location   	(1216, 1392)
				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 	@2
				    location   	(996, 1213)
				    fill_color 	13434879
				    nlines     	1
				    max_width  	440
				    justify    	0
				    label      	"TextShapeClass")
				icon_style 	"Icon"
				line_color 	3342489
				fill_color 	13434879
				quidu      	"4136A1CB02A1"
				compartment 	(object Compartment
				    Parent_View 	@2
				    location   	(996, 1318)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    icon_style 	"Icon"
				    fill_color 	13434879
				    anchor     	2
				    nlines     	5
				    max_width  	372)
				width      	458
				height     	382
				annotation 	8
				autoResize 	TRUE)
			    (object RealizeView "" @3
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"4136A1CB037B"
				client     	@2
				supplier   	@1
				line_style 	0)
			    (object ClassView "Class" "Logical View::Text" @4
				ShowCompartmentStereotypes 	TRUE
				IncludeAttribute 	TRUE
				IncludeOperation 	TRUE
				location   	(960, 864)
				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 	@4
				    location   	(765, 685)
				    fill_color 	13434879
				    nlines     	1
				    max_width  	390
				    justify    	0
				    label      	"Text")
				icon_style 	"Icon"
				line_color 	3342489
				fill_color 	13434879
				quidu      	"4136A1CB01D6"
				compartment 	(object Compartment
				    Parent_View 	@4
				    location   	(765, 790)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    icon_style 	"Icon"
				    fill_color 	13434879
				    anchor     	2
				    nlines     	5
				    max_width  	328)
				width      	408
				height     	382
				annotation 	8
				autoResize 	TRUE)
			    (object InheritView "" @5
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"4136A1CB031E"
				client     	@2
				supplier   	@4
				line_style 	0)
			    (object ClassView "Class" "Logical View::TextShapeObject" @6
				ShowCompartmentStereotypes 	TRUE
				IncludeAttribute 	TRUE
				IncludeOperation 	TRUE
				location   	(1200, 288)
				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 	@6
				    location   	(970, 59)
				    fill_color 	13434879
				    nlines     	1
				    max_width  	460
				    justify    	0
				    label      	"TextShapeObject")
				icon_style 	"Icon"
				line_color 	3342489
				fill_color 	13434879
				quidu      	"4136A1CC0001"
				compartment 	(object Compartment
				    Parent_View 	@6
				    location   	(970, 164)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    icon_style 	"Icon"
				    fill_color 	13434879
				    anchor     	2
				    nlines     	7
				    max_width  	388)
				width      	478
				height     	482
				annotation 	8
				autoResize 	TRUE)
			    (object AssociationViewNew "$UNNAMED$0" @7
				location   	(1068, 600)
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"4136A1CC00DB"
				roleview_list 	(list RoleViews
				    (object RoleView "$UNNAMED$1" @8
					Parent_View 	@7
					location   	(684, 8)
					font       	(object Font
					    size       	10
					    face       	"Arial"
					    bold       	FALSE
					    italics    	FALSE
					    underline  	FALSE
					    strike     	FALSE
					    color      	0
					    default_color 	TRUE)
					label      	(object SegLabel @9
					    Parent_View 	@8
					    location   	(1054, 529)
					    font       	(object Font
						size       	10
						face       	"Arial"
						bold       	FALSE
						italics    	FALSE
						underline  	FALSE
						strike     	FALSE
						color      	0
						default_color 	TRUE)
					    hidden     	TRUE
					    anchor     	1
					    anchor_loc 	1
					    nlines     	1
					    max_width  	450
					    justify    	0
					    label      	""
					    pctDist    	0.800000
					    height     	42
					    orientation 	0)
					stereotype 	TRUE
					line_color 	3342489
					quidu      	"4136A1CC00DE"
					client     	@7
					supplier   	@6
					line_style 	0)
				    (object RoleView "txt" @10
					Parent_View 	@7
					location   	(684, 8)
					font       	(object Font
					    size       	10
					    face       	"Arial"
					    bold       	FALSE
					    italics    	FALSE
					    underline  	FALSE
					    strike     	FALSE
					    color      	0
					    default_color 	TRUE)
					label      	(object SegLabel @11
					    Parent_View 	@10
					    location   	(1007, 643)
					    font       	(object Font
						size       	10
						face       	"Arial"
						bold       	FALSE
						italics    	FALSE
						underline  	FALSE

⌨️ 快捷键说明

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