test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/library/types/PercentTypeTest.java
test_class.identifier: PercentTypeTest
test_case.body: @Test
      public void testEquals() {
          PercentType pt1 = new PercentType(Integer.valueOf(100));
          PercentType pt2 = new PercentType("100.0");
          PercentType pt3 = new PercentType(0);
          PercentType pt4 = new PercentType(0);
  
          // Do not change to assertEquals(), because we want to check if .equals() works as expected!
          assertTrue(pt1.equals(pt2));
          assertTrue(pt3.equals(pt4));
          assertFalse(pt3.equals(pt1));
      }
test_case.class_method_signature: PercentTypeTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: valueOf assertTrue equals assertTrue equals assertFalse equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: serialVersionUID = -9066279845951780879L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -9066279845951780879L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: ZERO = new PercentType(0)
focal_class.modifier: public static final
focal_class.original_string: public static final PercentType ZERO = new PercentType(0);
focal_class.type: PercentType
focal_class.var_name: ZERO
focal_class.declarator: HUNDRED = new PercentType(100)
focal_class.modifier: public static final
focal_class.original_string: public static final PercentType HUNDRED = new PercentType(100);
focal_class.type: PercentType
focal_class.var_name: HUNDRED
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/library/types/PercentType.java
focal_class.identifier: PercentType
focal_class.class_method_signature: PercentType.PercentType()
focal_class.full_signature: public  PercentType()
focal_class.identifier: PercentType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  PercentType()
focal_class.class_method_signature: PercentType.PercentType(int value)
focal_class.full_signature: public  PercentType(int value)
focal_class.identifier: PercentType
focal_class.modifiers: public
focal_class.parameters: (int value)
focal_class.signature:  PercentType(int value)
focal_class.class_method_signature: PercentType.PercentType(String value)
focal_class.full_signature: public  PercentType(String value)
focal_class.identifier: PercentType
focal_class.modifiers: public
focal_class.parameters: (String value)
focal_class.signature:  PercentType(String value)
focal_class.class_method_signature: PercentType.PercentType(BigDecimal value)
focal_class.full_signature: public  PercentType(BigDecimal value)
focal_class.identifier: PercentType
focal_class.modifiers: public
focal_class.parameters: (BigDecimal value)
focal_class.signature:  PercentType(BigDecimal value)
focal_class.class_method_signature: PercentType.validateValue(BigDecimal value)
focal_class.full_signature: private void validateValue(BigDecimal value)
focal_class.identifier: validateValue
focal_class.modifiers: private
focal_class.parameters: (BigDecimal value)
focal_class.return: void
focal_class.signature: void validateValue(BigDecimal value)
focal_class.class_method_signature: PercentType.valueOf(String value)
focal_class.full_signature: public static PercentType valueOf(String value)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: PercentType
focal_class.signature: PercentType valueOf(String value)
focal_class.class_method_signature: PercentType.as(@Nullable Class<T> target)
focal_class.full_signature: @Override public T as(@Nullable Class<T> target)
focal_class.identifier: as
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Class<T> target)
focal_class.return: T
focal_class.signature: T as(@Nullable Class<T> target)
focal_class.superclass: extends DecimalType
focal_method.body: public static PercentType valueOf(String value) {
          return new PercentType(value);
      }
focal_method.class_method_signature: PercentType.valueOf(String value)
focal_method.full_signature: public static PercentType valueOf(String value)
focal_method.identifier: valueOf
focal_method.modifiers: public static
focal_method.parameters: (String value)
focal_method.return: PercentType
focal_method.signature: PercentType valueOf(String value)