最近在学习Java 的Stream特性。使用中碰到一个问题:
以下是对象定义,有谁碰到过类似问题吗?
import org.codehaus.jackson.annotate.JsonProperty;
public class QMQMessage {
@JsonProperty("mKey")
private String mKey;
@JsonProperty("mValue")
private String mValue;
public QMQMessage(String _key,String _value)
{
mKey=_key;
mValue=_value;
}
public String getmKey() {
return mKey;
}
public void setmKey(String str_key) {
mKey = str_key;
}
public String getmValue() {
return mValue;
}
public void setmValue(String str_value) {
mValue = str_value;
}
}