简体   繁体   English

用于存储Java项目信息的合适数据结构

[英]suitable data structure for storing java project information

I am extracting information from java source code of a project using AST parser. 我正在使用AST解析器从项目的Java源代码中提取信息。 Information includes:class name, methods, their return type and parameters and variables. 信息包括:类名称,方法,它们的返回类型以及参数和变量。 So which type of data structure will be suitable to store this information, because after storing it i will use it for detecting Design Patterns. 那么哪种类型的数据结构将适合存储此信息,因为存储完该信息后,我将使用它来检测设计模式。

Data structure can help you in efficient storage, retrival, updation and deletion. 数据结构可以帮助您有效地存储,检索,更新和删除。 I don't think that can directly help you to detect design pattern. 我认为这不能直接帮助您检测设计模式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM