资 源 简 介
THIS PROJECT IS NOT BEING DEVELOPED ANYMORE.
1.0 is the first and the last release available
This library will help you to implement common methods like .equals() of .hashCode() using annotations.
See also the discussion on JavaLobby: http://java.dzone.com/announcements/jau-java-annotation-based-util
Example of usage:
```
import com.googlecode.jau.*;
@JAUEquals
@JAUHashCode
@JAUToString
@JAUCompare
@JAUCopy
@JAUToMap
public class UserData implements Comparable, Cloneable {
private String firstName;
private String secondName;
private Date birthDate;
private String login;
@JAUEquals // not really necessary. All fields are included by default.
private String[] rights = new String[] {"view"};
@JAUEquals(include=false) // ignore listeners
@JAUHashCode(include=false)
@JAUCompare(include=false)
private javax.swing.event.EventListenerList listeners = new javax.swing.event.EventListenerList();
// co
文 件 列 表
JAU
.svn
build.xml
doc
jau-1.0.jar
manifest.mf
nbproject
perf-config-equals-bigstring.xml
perf-config-equals-int.xml
perf-config-equals.xml
perf-config-hashcode.xml
perf-config-tostring.xml
reports
src
test
TEST-com.googlecode.jau.EqualsTest.xml
TEST-com.googlecode.jau.ToMapTest.xml
TEST-com.googlecode.jau.ToStringTest.xml