Mercurial > projects > dwt2
view base/src/java/util/EventObject.d @ 125:c43718956f21 default tip
Updated the snippets status.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 11 Aug 2011 19:55:14 +0200 |
parents | 1bf55a6eb092 |
children |
line wrap: on
line source
module java.util.EventObject; import java.lang.all; class EventObject { protected Object source; public this(Object source) { if (source is null) throw new IllegalArgumentException( "null arg" ); this.source = source; } public Object getSource() { return source; } public override String toString() { return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; } }