code: public DoubleConstant getDoubleByValue(double value)
    {
      for (int i = 0; i < _entries.size(); i++) {
        ConstantPoolEntry entry = _entries.get(i);
  
        if (! (entry instanceof DoubleConstant))
          continue;
  
        DoubleConstant doubleEntry = (DoubleConstant) entry;
  
        if (doubleEntry.getValue() == value)
          return doubleEntry;
      }
  
      return null;
    }
docs: Gets a double constant.