test_class.file: hifiveSyncServer/src/test/java/com/htmlhifive/sync/resource/common/ResourceItemCommonDataIdTest.java
test_class.identifier: ResourceItemCommonDataIdTest
test_case.body: @Test
  	public void testCompareToResourceItemCommonDataId() {
  
  		// Arrange：正常系
  		ResourceItemCommonDataId target = new ResourceItemCommonDataId("b", "2");
  
  		ResourceItemCommonDataId gt1 = new ResourceItemCommonDataId("a", "2");
  		ResourceItemCommonDataId gt2 = new ResourceItemCommonDataId("b", "1");
  		ResourceItemCommonDataId eq = new ResourceItemCommonDataId("b", "2");
  		ResourceItemCommonDataId lt1 = new ResourceItemCommonDataId("b", "3");
  		ResourceItemCommonDataId lt2 = new ResourceItemCommonDataId("c", "1");
  
  		assertThat(target.compareTo(gt1) > 0, is(true));
  		assertThat(target.compareTo(gt2) > 0, is(true));
  		assertThat(target.compareTo(eq) == 0, is(true));
  		assertThat(target.compareTo(lt1) < 0, is(true));
  		assertThat(target.compareTo(lt2) < 0, is(true));
  	}
test_case.class_method_signature: ResourceItemCommonDataIdTest.testCompareToResourceItemCommonDataId()
test_case.full_signature: @Test public void testCompareToResourceItemCommonDataId()
test_case.identifier: testCompareToResourceItemCommonDataId
test_case.invocations: assertThat compareTo is assertThat compareTo is assertThat compareTo is assertThat compareTo is assertThat compareTo is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCompareToResourceItemCommonDataId()
focal_class.declarator: serialVersionUID = -4867979788750226686L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -4867979788750226686L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: resourceName
focal_class.modifier: private
focal_class.original_string: private String resourceName;
focal_class.type: String
focal_class.var_name: resourceName
focal_class.declarator: resourceItemId
focal_class.modifier: private
focal_class.original_string: private String resourceItemId;
focal_class.type: String
focal_class.var_name: resourceItemId
focal_class.file: hifiveSyncServer/src/main/java/com/htmlhifive/sync/resource/common/ResourceItemCommonDataId.java
focal_class.identifier: ResourceItemCommonDataId
focal_class.interfaces: implements Serializable, Comparable<ResourceItemCommonDataId>
focal_class.class_method_signature: ResourceItemCommonDataId.ResourceItemCommonDataId()
focal_class.full_signature: @SuppressWarnings("unused") private  ResourceItemCommonDataId()
focal_class.identifier: ResourceItemCommonDataId
focal_class.modifiers: @SuppressWarnings("unused") private
focal_class.parameters: ()
focal_class.signature:  ResourceItemCommonDataId()
focal_class.class_method_signature: ResourceItemCommonDataId.ResourceItemCommonDataId(String resourceName, String resourceItemId)
focal_class.full_signature: public  ResourceItemCommonDataId(String resourceName, String resourceItemId)
focal_class.identifier: ResourceItemCommonDataId
focal_class.modifiers: public
focal_class.parameters: (String resourceName, String resourceItemId)
focal_class.signature:  ResourceItemCommonDataId(String resourceName, String resourceItemId)
focal_class.class_method_signature: ResourceItemCommonDataId.compareTo(ResourceItemCommonDataId o)
focal_class.full_signature: @Override public int compareTo(ResourceItemCommonDataId o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (ResourceItemCommonDataId o)
focal_class.return: int
focal_class.signature: int compareTo(ResourceItemCommonDataId o)
focal_class.class_method_signature: ResourceItemCommonDataId.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: ResourceItemCommonDataId.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ResourceItemCommonDataId.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ResourceItemCommonDataId.getResourceName()
focal_class.full_signature: public String getResourceName()
focal_class.identifier: getResourceName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getResourceName()
focal_class.class_method_signature: ResourceItemCommonDataId.getResourceItemId()
focal_class.full_signature: public String getResourceItemId()
focal_class.identifier: getResourceItemId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getResourceItemId()
focal_method.body: @Override
  	public int compareTo(ResourceItemCommonDataId o) {
  
  		int compare1 = this.resourceName.compareTo(o.resourceName);
  
  		return compare1 != 0 ? compare1 : this.resourceItemId.compareTo(o.resourceItemId);
  	}
focal_method.class_method_signature: ResourceItemCommonDataId.compareTo(ResourceItemCommonDataId o)
focal_method.full_signature: @Override public int compareTo(ResourceItemCommonDataId o)
focal_method.identifier: compareTo
focal_method.invocations: compareTo compareTo
focal_method.modifiers: @Override public
focal_method.parameters: (ResourceItemCommonDataId o)
focal_method.return: int
focal_method.signature: int compareTo(ResourceItemCommonDataId o)