基于Java语言的翻页功能接口程序设计与实现  

Design and Implementation of Page Flipping Function Interface Based on Java Language

在线阅读下载全文

作  者:谢帅虎 XIE Shuaihu(School of Electronic and Information Engineering,Huaibei University of Technology,Huaibei 235000,China)

机构地区:[1]淮北理工学院电子与信息工程学院,安徽淮北235000

出  处:《数字通信世界》2024年第11期92-94,共3页Digital Communication World

摘  要:为了实现用户翻页查询个人名下相关信息的功能,该文设计开发了一个翻页功能接口程序。该接口程序基于Java语言,内部封装了多个方法。其中,最重要的一个方法利用了递归思想,该方法内部分为3个分支,通过判断是否满足最大返回条数和下一页标志字段来执行对应的分支。每个分支均需要调用下游接口,将下游接口的返回数据进行逐条筛选,一次或反复多次调用下游接口直至满足查询条数。该翻页接口程序比较简洁,可读性强,分支结构清晰,可供需要实现翻页场景的技术人员参考。In order to achieve the function of users turning pages to query personal information under their name,this article designs and develops a page turning function interface.This interface is based on the Java language and encapsulates multiple methods internally.Among them,the most important method utilizes recursive thinking,which is internally divided into three branches.The corresponding branch is executed by determining whether the maximum number of returns and the next page flag field are met.Each branch needs to call downstream interfaces to filter the return data of downstream interfaces one by one,and call downstream interfaces repeatedly or repeatedly until the query count is met.The page flipping interface program is relatively simple,highly readable,and has a clear branch structure,which can be used as a reference for technical personnel who need to implement page flipping scenarios.

关 键 词:JAVA 递归 翻页 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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