📄 createmodelrequest.java
字号:
package com.croftsoft.apps.chat.request; import com.croftsoft.core.lang.NullArgumentException; import com.croftsoft.core.security.Authentication; /********************************************************************* * A request to create an avatar. * * @version * 2003-06-20 * @since * 2003-06-06 * @author * <a href="http://www.croftsoft.com/">David Wallace Croft</a> *********************************************************************/ public final class CreateModelRequest extends CoalesceableRequest ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// { private static final long serialVersionUID = 0L; // private final String avatarType; private final double x; private final double y; ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public CreateModelRequest ( Authentication authentication, String avatarType, double x, double y ) ////////////////////////////////////////////////////////////////////// { super ( authentication ); NullArgumentException.check ( this.avatarType = avatarType ); this.x = x; this.y = y; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public String getAvatarType ( ) { return avatarType; } public double getX ( ) { return x; } public double getY ( ) { return y; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -