test_class.declarator: SEP = new DecimalFormatSymbols().getDecimalSeparator()
test_class.modifier: private static final
test_class.original_string: private static final char SEP = new DecimalFormatSymbols().getDecimalSeparator();
test_class.type: char
test_class.var_name: SEP
test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/library/types/QuantityTypeTest.java
test_class.identifier: QuantityTypeTest
test_case.body: @Test
      public void testMultiplyQuantityType() {
          assertThat(new QuantityType<>("2 m").multiply(new QuantityType<>("4 cm")), is(new QuantityType<>("8 m·cm")));
      }
test_case.class_method_signature: QuantityTypeTest.testMultiplyQuantityType()
test_case.full_signature: @Test public void testMultiplyQuantityType()
test_case.identifier: testMultiplyQuantityType
test_case.invocations: assertThat multiply is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMultiplyQuantityType()
focal_class.declarator: serialVersionUID = 8828949721938234629L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 8828949721938234629L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: HUNDRED = BigDecimal.valueOf(100)
focal_class.modifier: private static final
focal_class.original_string: private static final BigDecimal HUNDRED = BigDecimal.valueOf(100);
focal_class.type: BigDecimal
focal_class.var_name: HUNDRED
focal_class.declarator: ZERO = new QuantityType<>(0, AbstractUnit.ONE)
focal_class.modifier: public static final
focal_class.original_string: public static final QuantityType<Dimensionless> ZERO = new QuantityType<>(0, AbstractUnit.ONE);
focal_class.type: QuantityType<Dimensionless>
focal_class.var_name: ZERO
focal_class.declarator: ONE = new QuantityType<>(1, AbstractUnit.ONE)
focal_class.modifier: public static final
focal_class.original_string: public static final QuantityType<Dimensionless> ONE = new QuantityType<>(1, AbstractUnit.ONE);
focal_class.type: QuantityType<Dimensionless>
focal_class.var_name: ONE
focal_class.declarator: UNIT_PATTERN = "(?<=\\d)\\s*(?=[a-zA-Z°µ%'](?![\\+\\-]?\\d))";
focal_class.modifier: private static final
focal_class.original_string: private static final String UNIT_PATTERN = "(?<=\\d)\\s*(?=[a-zA-Z°µ%'](?![\\+\\-]?\\d))";
focal_class.type: String
focal_class.var_name: UNIT_PATTERN
focal_class.declarator: logger = LoggerFactory.getLogger(QuantityType.class)
focal_class.modifier: private transient final
focal_class.original_string: private transient final Logger logger = LoggerFactory.getLogger(QuantityType.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: quantity
focal_class.modifier: private final
focal_class.original_string: private final Quantity<T> quantity;
focal_class.type: Quantity<T>
focal_class.var_name: quantity
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/library/types/QuantityType.java
focal_class.identifier: QuantityType
focal_class.interfaces: implements PrimitiveType, State, Command, Comparable<QuantityType<T>>
focal_class.class_method_signature: QuantityType.QuantityType()
focal_class.full_signature: @SuppressWarnings("unchecked") public  QuantityType()
focal_class.identifier: QuantityType
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: ()
focal_class.signature:  QuantityType()
focal_class.class_method_signature: QuantityType.QuantityType(String value)
focal_class.full_signature: @SuppressWarnings("unchecked") public  QuantityType(String value)
focal_class.identifier: QuantityType
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (String value)
focal_class.signature:  QuantityType(String value)
focal_class.class_method_signature: QuantityType.QuantityType(Number value, Unit<T> unit)
focal_class.full_signature: public  QuantityType(Number value, Unit<T> unit)
focal_class.identifier: QuantityType
focal_class.modifiers: public
focal_class.parameters: (Number value, Unit<T> unit)
focal_class.signature:  QuantityType(Number value, Unit<T> unit)
focal_class.class_method_signature: QuantityType.QuantityType(Quantity<T> quantity)
focal_class.full_signature: private  QuantityType(Quantity<T> quantity)
focal_class.identifier: QuantityType
focal_class.modifiers: private
focal_class.parameters: (Quantity<T> quantity)
focal_class.signature:  QuantityType(Quantity<T> quantity)
focal_class.class_method_signature: QuantityType.valueOf(double value, Unit<T> unit)
focal_class.full_signature: public static QuantityType<T> valueOf(double value, Unit<T> unit)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (double value, Unit<T> unit)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> valueOf(double value, Unit<T> unit)
focal_class.class_method_signature: QuantityType.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: QuantityType.valueOf(String value)
focal_class.full_signature: public static QuantityType<? extends Quantity<?>> valueOf(String value)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: QuantityType<? extends Quantity<?>>
focal_class.signature: QuantityType<? extends Quantity<?>> valueOf(String value)
focal_class.class_method_signature: QuantityType.equals(@Nullable Object obj)
focal_class.full_signature: @SuppressWarnings("unchecked") @Override public boolean equals(@Nullable Object obj)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings("unchecked") @Override public
focal_class.parameters: (@Nullable Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable Object obj)
focal_class.class_method_signature: QuantityType.compareTo(QuantityType<T> o)
focal_class.full_signature: @Override public int compareTo(QuantityType<T> o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (QuantityType<T> o)
focal_class.return: int
focal_class.signature: int compareTo(QuantityType<T> o)
focal_class.class_method_signature: QuantityType.getUnit()
focal_class.full_signature: public Unit<T> getUnit()
focal_class.identifier: getUnit
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Unit<T>
focal_class.signature: Unit<T> getUnit()
focal_class.class_method_signature: QuantityType.getDimension()
focal_class.full_signature: public Dimension getDimension()
focal_class.identifier: getDimension
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Dimension
focal_class.signature: Dimension getDimension()
focal_class.class_method_signature: QuantityType.toUnit(Unit<?> targetUnit)
focal_class.full_signature: @SuppressWarnings("unchecked") public @Nullable QuantityType<T> toUnit(Unit<?> targetUnit)
focal_class.identifier: toUnit
focal_class.modifiers: @SuppressWarnings("unchecked") public @Nullable
focal_class.parameters: (Unit<?> targetUnit)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> toUnit(Unit<?> targetUnit)
focal_class.class_method_signature: QuantityType.toUnit(String targetUnit)
focal_class.full_signature: @SuppressWarnings("unchecked") public @Nullable QuantityType<T> toUnit(String targetUnit)
focal_class.identifier: toUnit
focal_class.modifiers: @SuppressWarnings("unchecked") public @Nullable
focal_class.parameters: (String targetUnit)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> toUnit(String targetUnit)
focal_class.class_method_signature: QuantityType.toBigDecimal()
focal_class.full_signature: public BigDecimal toBigDecimal()
focal_class.identifier: toBigDecimal
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BigDecimal
focal_class.signature: BigDecimal toBigDecimal()
focal_class.class_method_signature: QuantityType.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: QuantityType.format(String pattern)
focal_class.full_signature: @Override public String format(String pattern)
focal_class.identifier: format
focal_class.modifiers: @Override public
focal_class.parameters: (String pattern)
focal_class.return: String
focal_class.signature: String format(String pattern)
focal_class.class_method_signature: QuantityType.intValue()
focal_class.full_signature: @Override public int intValue()
focal_class.identifier: intValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int intValue()
focal_class.class_method_signature: QuantityType.longValue()
focal_class.full_signature: @Override public long longValue()
focal_class.identifier: longValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long longValue()
focal_class.class_method_signature: QuantityType.floatValue()
focal_class.full_signature: @Override public float floatValue()
focal_class.identifier: floatValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float floatValue()
focal_class.class_method_signature: QuantityType.doubleValue()
focal_class.full_signature: @Override public double doubleValue()
focal_class.identifier: doubleValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double doubleValue()
focal_class.class_method_signature: QuantityType.toFullString()
focal_class.full_signature: @Override public String toFullString()
focal_class.identifier: toFullString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toFullString()
focal_class.class_method_signature: QuantityType.as(@Nullable Class<U> target)
focal_class.full_signature: @Override public U as(@Nullable Class<U> target)
focal_class.identifier: as
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Class<U> target)
focal_class.return: U
focal_class.signature: U as(@Nullable Class<U> target)
focal_class.class_method_signature: QuantityType.add(QuantityType<T> state)
focal_class.full_signature: public QuantityType<T> add(QuantityType<T> state)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (QuantityType<T> state)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> add(QuantityType<T> state)
focal_class.class_method_signature: QuantityType.negate()
focal_class.full_signature: public QuantityType<T> negate()
focal_class.identifier: negate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> negate()
focal_class.class_method_signature: QuantityType.subtract(QuantityType<T> state)
focal_class.full_signature: public QuantityType<T> subtract(QuantityType<T> state)
focal_class.identifier: subtract
focal_class.modifiers: public
focal_class.parameters: (QuantityType<T> state)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> subtract(QuantityType<T> state)
focal_class.class_method_signature: QuantityType.multiply(BigDecimal value)
focal_class.full_signature: public QuantityType<?> multiply(BigDecimal value)
focal_class.identifier: multiply
focal_class.modifiers: public
focal_class.parameters: (BigDecimal value)
focal_class.return: QuantityType<?>
focal_class.signature: QuantityType<?> multiply(BigDecimal value)
focal_class.class_method_signature: QuantityType.multiply(QuantityType<?> state)
focal_class.full_signature: public QuantityType<?> multiply(QuantityType<?> state)
focal_class.identifier: multiply
focal_class.modifiers: public
focal_class.parameters: (QuantityType<?> state)
focal_class.return: QuantityType<?>
focal_class.signature: QuantityType<?> multiply(QuantityType<?> state)
focal_class.class_method_signature: QuantityType.divide(BigDecimal value)
focal_class.full_signature: public QuantityType<?> divide(BigDecimal value)
focal_class.identifier: divide
focal_class.modifiers: public
focal_class.parameters: (BigDecimal value)
focal_class.return: QuantityType<?>
focal_class.signature: QuantityType<?> divide(BigDecimal value)
focal_class.class_method_signature: QuantityType.divide(QuantityType<?> state)
focal_class.full_signature: public QuantityType<?> divide(QuantityType<?> state)
focal_class.identifier: divide
focal_class.modifiers: public
focal_class.parameters: (QuantityType<?> state)
focal_class.return: QuantityType<?>
focal_class.signature: QuantityType<?> divide(QuantityType<?> state)
focal_class.class_method_signature: QuantityType.offset(QuantityType<T> offset, Unit<T> unit)
focal_class.full_signature: public QuantityType<T> offset(QuantityType<T> offset, Unit<T> unit)
focal_class.identifier: offset
focal_class.modifiers: public
focal_class.parameters: (QuantityType<T> offset, Unit<T> unit)
focal_class.return: QuantityType<T>
focal_class.signature: QuantityType<T> offset(QuantityType<T> offset, Unit<T> unit)
focal_class.superclass: extends Number
focal_method.body: public QuantityType<?> multiply(BigDecimal value) {
          return new QuantityType<>(this.quantity.multiply(value));
      }
focal_method.class_method_signature: QuantityType.multiply(BigDecimal value)
focal_method.full_signature: public QuantityType<?> multiply(BigDecimal value)
focal_method.identifier: multiply
focal_method.invocations: multiply
focal_method.modifiers: public
focal_method.parameters: (BigDecimal value)
focal_method.return: QuantityType<?>
focal_method.signature: QuantityType<?> multiply(BigDecimal value)