m*k
2 楼
对java的decorator一直不理解。网上搜了很多还是没概念。
我把程序中的@行删掉之后,还是可以编译运行的。
求解释这个decorator到底是干什么的?
我把程序中的@行删掉之后,还是可以编译运行的。
求解释这个decorator到底是干什么的?
a*n
4 楼
may be he meant annotation
"我把程序中的@行删掉之后,还是可以编译运行的。"
"我把程序中的@行删掉之后,还是可以编译运行的。"
m*k
5 楼
恩。应该叫annotation吧。比如在一个重载函数上面有
@override
@override
m*k
7 楼
对java的decorator一直不理解。网上搜了很多还是没概念。
我把程序中的@行删掉之后,还是可以编译运行的。
求解释这个decorator到底是干什么的?
我把程序中的@行删掉之后,还是可以编译运行的。
求解释这个decorator到底是干什么的?
a*n
9 楼
may be he meant annotation
"我把程序中的@行删掉之后,还是可以编译运行的。"
"我把程序中的@行删掉之后,还是可以编译运行的。"
m*k
10 楼
恩。应该叫annotation吧。比如在一个重载函数上面有
@override
@override
l*g
12 楼
你说的是annotation,decorator是设计模式!
annotation的话,建议可以看一下Java Class文件的specification,启示很简单的,
只不过是吧一些annotation,可以动态的转变成字节码bytecode。
不过,我不是很喜欢用annotation做程序。
annotation的话,建议可以看一下Java Class文件的specification,启示很简单的,
只不过是吧一些annotation,可以动态的转变成字节码bytecode。
不过,我不是很喜欢用annotation做程序。
s*e
13 楼
8 years ago, there were a big debate on using annotation or xml. xdoclet
used to be the pioneer of the annotation. Today, even spring is moving their
config to annotation.
used to be the pioneer of the annotation. Today, even spring is moving their
config to annotation.
相关阅读
工作流who can help me with this dummy Question??JAVA 6 releasedWhat is the difference between web application and web services?有多少人对annotation这个东西不满,请举手!!哪位能大概介绍一下XML的那些APIEclipse project doesn't buildscjp 5.0 模拟题eclipse下生成的jar file不包含libraryCan someone say say advantage of IDEA?急!请各位帮忙推荐java入门的书entity bean class for joint tableNo decent way for input password from command line.What do you think of XPath, XQuery, and XSLT?Amazon is hiring experieced java developerIntellij Idea gui not pure Swing?觉得martin fowler在领导现在j2ee潮流啊.有关AOL信箱的一个问题,急急急! (转载)String[] a = c.toArray(new String[0])怎么返回一个变量的地址?