public class PositiveInteger extends NonNegativeInteger
Constructor and Description |
---|
PositiveInteger(Integer value) |
Modifier and Type | Method and Description |
---|---|
Number |
getNumberValue() |
static PositiveInteger |
valueOf(String s)
Returns an
PositiveInteger object holding the value of
the specified string. |
equals, getValue, toString
public PositiveInteger(Integer value)
public Number getNumberValue()
getNumberValue
in interface PrimitiveNumber
getNumberValue
in class NonNegativeInteger
public static PositiveInteger valueOf(String s)
PositiveInteger
object holding the value of
the specified string.s
- The string to be parsed.Copyright © 2006–2017 Open Microscopy Environment. All rights reserved.