Java by API/java.beans/ConstructorProperties — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 17:33, 31 мая 2010
java.beans.ConstructorProperties;
<source lang="java">
import java.beans.ConstructorProperties; public class Point {
private double x, y; public Point() { } @ConstructorProperties({"x", "y"}) public Point(double x, double y) { this.x = x; this.y = y; }
}
</source>