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

📄 testtype.java

📁 EasyJF开源新闻系统是一个由EasyJF开源团队组织开发的基于Java平台的开源新闻系统。当前系统已经实现了基本的基本的新闻的发布、审核、推荐
💻 JAVA
字号:
package com.easyjf.test;

import java.util.List;

import com.easyjf.news.logic.impl.TypeServiceImpl;
import com.easyjf.news.model.Type;

public class TestType {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
       TypeServiceImpl typedao=TypeServiceImpl.getInstance();
       List typeList=typedao.getType();
       for(int i=0;i<typeList.size();i++){
    	  Type subtype=(Type)typeList.get(i);
    	   System.out.println(subtype.getId());
    	   System.out.println(subtype.getName());
    	   System.out.println(subtype.getBig_type_value());
       }
	}

}

⌨️ 快捷键说明

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