public class SubService extends jadex.bridge.service.BasicService implements ISubService
Constructor and Description |
---|
SubService(jadex.bridge.IInternalAccess comp)
Create a new service.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Double> |
sub(double a,
double b)
Subtract two numbers.
|
createServiceIdentifier, createServiceIdentifier, equals, generateServiceName, getInterfaceType, getInternalAccess, getMethodTimeout, getPropertyMap, getProviderId, getServiceIdentifier, hashCode, initNFProperties, isValid, setComponentAccess, setPropertyMap, shutdownService, startService, toString
public SubService(jadex.bridge.IInternalAccess comp)
public jadex.commons.future.IFuture<java.lang.Double> sub(double a, double b)
sub
in interface ISubService
a
- Number one.b
- Number two.