📄 foo.java
字号:
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.util;import java.util.Collection;import java.util.Date;import java.util.List;import java.util.Map;/** * @author <a href="mailto:plightbo@cisco.com">Pat Lightbody</a> * @author $Author: rainerh $ * @version $Revision: 1214 $ */public class Foo { Bar bar; Date birthday; Date event; Date meeting; Foo child; List cats; List moreCats; List strings; Collection barCollection; Map catMap; Map anotherCatMap; String title; long[] points; Foo[] relatives; boolean useful; int number; long aLong; public void setALong(long aLong) { this.aLong = aLong; } public long getALong() { return aLong; } public void setBar(Bar bar) { this.bar = bar; } public Bar getBar() { return bar; } public void setBirthday(Date birthday) { this.birthday = birthday; } public Date getBirthday() { return birthday; } public void setCatMap(Map catMap) { this.catMap = catMap; } public Map getCatMap() { return catMap; } public void setCats(List cats) { this.cats = cats; } public List getCats() { return cats; } public void setChild(Foo child) { this.child = child; } public Foo getChild() { return child; } public void setNumber(int number) { this.number = number; } public int getNumber() { return number; } /** * @return Returns the anotherCatMap. */ public Map getAnotherCatMap() { return anotherCatMap; } /** * @param anotherCatMap The anotherCatMap to set. */ public void setAnotherCatMap(Map anotherCatMap) { this.anotherCatMap = anotherCatMap; } /** * @return Returns the moreCats. */ public List getMoreCats() { return moreCats; } /** * @param moreCats The moreCats to set. */ public void setMoreCats(List moreCats) { this.moreCats = moreCats; } /** * @return Returns the catSet. */ public Collection getBarCollection() { return barCollection; } /** * @param barCollection The barCollection to set. */ public void setBarCollection(Collection barCollection) { this.barCollection = barCollection; } public void setPoints(long[] points) { this.points = points; } public long[] getPoints() { return points; } public void setRelatives(Foo[] relatives) { this.relatives = relatives; } public Foo[] getRelatives() { return relatives; } public void setStrings(List strings) { this.strings = strings; } public List getStrings() { return strings; } public void setTitle(String title) { this.title = title; } public String getTitle() { return title; } public void setUseful(boolean useful) { this.useful = useful; } public boolean isUseful() { return useful; } public Date getEvent() { return event; } public void setEvent(Date event) { this.event = event; } public Date getMeeting() { return meeting; } public void setMeeting(Date meeting) { this.meeting = meeting; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -