Package org.eclipse.cdt.core
Interface IAddressFactory2
-
- All Superinterfaces:
IAddressFactory
- All Known Implementing Classes:
Addr32Factory
,Addr64Factory
public interface IAddressFactory2 extends IAddressFactory
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAddress
createAddress(String addr, boolean truncate)
IAddress
createAddress(String addr, int radix, boolean truncate)
IAddress
createAddress(BigInteger addr, boolean truncate)
-
Methods inherited from interface org.eclipse.cdt.core.IAddressFactory
createAddress, createAddress, createAddress, getMax, getZero
-
-
-
-
Method Detail
-
createAddress
IAddress createAddress(String addr, boolean truncate)
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
IAddress createAddress(String addr, int radix, boolean truncate)
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
IAddress createAddress(BigInteger addr, boolean truncate)
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.
-
-