Package org.eclipse.cdt.core
Interface IAddressFactory2
- All Superinterfaces:
IAddressFactory
- All Known Implementing Classes:
Addr32Factory
,Addr64Factory
An extension of IAddressFactory that supports throwing an exception rather
than truncating the initialization value if the value is outside the range
supported by the factory.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAddress
(String addr, boolean truncate) createAddress
(String addr, int radix, boolean truncate) createAddress
(BigInteger addr, boolean truncate) Methods inherited from interface org.eclipse.cdt.core.IAddressFactory
createAddress, createAddress, createAddress, getMax, getZero
-
Method Details
-
createAddress
SeeIAddressFactory.createAddress(String)
. Same contract except that the constructor will throw a NumberFormatException if the supplied initializer value is out of range (when 'truncate' is false). IAddressFactory methods implicitly truncate if the value is out of range. -
createAddress
SeeIAddressFactory.createAddress(String, int)
. Same contract except that the constructor will throw a NumberFormatException if the supplied initializer value is out of range (when 'truncate' is false). IAddressFactory methods implicitly truncate if the value is out of range. -
createAddress
SeeIAddressFactory.createAddress(BigInteger)
. Same contract except that the constructor will throw a NumberFormatException if the supplied initializer value is out of range (when 'truncate' is false). IAddressFactory methods implicitly truncate if the value is out of range.
-