基于Java的动态站点中计数器的实现与解析  

Realization and Analysis of Counter in Dynamic Station based on Java

在线阅读下载全文

作  者:陆红彬 Lu Hongbin(Dalian Software Vocational College,Dalian Liaoning 116021,China)

机构地区:[1]大连软件职业学院,辽宁大连116021

出  处:《信息与电脑》2017年第5期123-124,共2页Information & Computer

摘  要:笔者从初学者的角度对基于Java的页面中计数器的实现由浅入深地介绍了三种方法,即成员变量计数器、同步访问计数器和监听器实现计数器,分析了每种方法适用的情况及使用利弊,给出了实现的核心代码,同时使用物理存储的方式解决文中三种计数方法存在的问题,使读者对计数器的实现方式有一定的了解。From the angle of beginners,the author introduces three methods of the realization of the counter based on Java page,that are member variable counter,synchronous access counter and counter analysis of the listener.The author analyzes the situation and the advantages and disadvantages of each method,gives the core code of the implementation,and uses the physical storage method to solve the problem of the three counting methods,so that the reader has a certain understanding of the realization of the counter.

关 键 词:JAVA 成员变量 计数器 监听器 

分 类 号:TP311.10[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象