本文整理了Java中org.joda.time.field.UnsupportedDurationField.getName()
方法的一些代码示例,展示了UnsupportedDurationField.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UnsupportedDurationField.getName()
方法的具体详情如下:
包路径:org.joda.time.field.UnsupportedDurationField
类名称:UnsupportedDurationField
方法名:getName
暂无
代码示例来源:origin: joda-time/joda-time
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: JodaOrg/joda-time
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: joda-time/joda-time
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: joda-time/joda-time
/**
* Compares this duration field to another.
*
* @param obj the object to compare to
* @return true if equal
*/
public boolean equals(Object obj) {
if (this == obj) {
return true;
} else if (obj instanceof UnsupportedDurationField) {
UnsupportedDurationField other = (UnsupportedDurationField) obj;
if (other.getName() == null) {
return (getName() == null);
}
return (other.getName().equals(getName()));
}
return false;
}
代码示例来源:origin: JodaOrg/joda-time
/**
* Compares this duration field to another.
*
* @param obj the object to compare to
* @return true if equal
*/
public boolean equals(Object obj) {
if (this == obj) {
return true;
} else if (obj instanceof UnsupportedDurationField) {
UnsupportedDurationField other = (UnsupportedDurationField) obj;
if (other.getName() == null) {
return (getName() == null);
}
return (other.getName().equals(getName()));
}
return false;
}
代码示例来源:origin: JodaOrg/joda-time
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Compares this duration field to another.
*
* @param obj the object to compare to
* @return true if equal
*/
public boolean equals(Object obj) {
if (this == obj) {
return true;
} else if (obj instanceof UnsupportedDurationField) {
UnsupportedDurationField other = (UnsupportedDurationField) obj;
if (other.getName() == null) {
return (getName() == null);
}
return (other.getName().equals(getName()));
}
return false;
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: redfish64/TinyTravelTracker
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: org.joda/com.springsource.org.joda.time
/**
* Get a suitable debug string.
*
* @return debug string
*/
public String toString() {
return "UnsupportedDurationField[" + getName() + ']';
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
代码示例来源:origin: org.joda/com.springsource.org.joda.time
/**
* Gets a suitable hashcode.
*
* @return the hashcode
*/
public int hashCode() {
return getName().hashCode();
}
内容来源于网络,如有侵权,请联系作者删除!