コード例 #1
0
 @Override
 public boolean operateIntegerDouble(LongPointable longp1, DoublePointable doublep2)
     throws SystemException, IOException {
   if (Double.isNaN(doublep2.doubleValue())) {
     return false;
   }
   return !aOp.operateIntegerDouble(longp1, doublep2);
 }
コード例 #2
0
 @Override
 public boolean operateFloatDouble(FloatPointable floatp1, DoublePointable doublep2)
     throws SystemException, IOException {
   if (Float.isNaN(floatp1.getFloat()) || Double.isNaN(doublep2.doubleValue())) {
     return false;
   }
   return !aOp.operateFloatDouble(floatp1, doublep2);
 }