Class SafeOperations
java.lang.Object
org.apache.commons.imaging.internal.SafeOperations
Provides safe arithmetic operations to avoid, for example, numeric overflows.
- Since:
- 1.0.0-alpha4
- 
Method SummaryModifier and TypeMethodDescriptionstatic intadd(int... values) AppliesMath.addExact(int, int)to a variable length array of integers.
- 
Method Details- 
addAppliesMath.addExact(int, int)to a variable length array of integers.- Parameters:
- values- variable length array of integers.
- Returns:
- the values safely added.
 
 
-