Return a collection of product descriptors for each option in the smile.

@param referenceDate The reference date (translating the maturity floating point date to dates.
@return a collection of product descriptors for each option in the smile.
177088
public Map<Double, SingleAssetEuropeanOptionProductDescriptor> getDescriptors(LocalDate referenceDate){

		int numberOfStrikes = strikes.length;
		HashMap<Double, SingleAssetEuropeanOptionProductDescriptor> descriptors = new HashMap<Double, SingleAssetEuropeanOptionProductDescriptor>();

		LocalDate maturityDate = FloatingpointDate.getDateFromFloatingPointDate(referenceDate, maturity);
		for(int i = 0; i< numberOfStrikes; i++) {
			descriptors.put(strikes[i], new SingleAssetEuropeanOptionProductDescriptor(underlyingName, maturityDate, strikes[i]));
		}

		return descriptors;
	}
249753
def referenceSetsGenerator(self, request):
        
        results = []
        for obj in self.getDataRepository().getReferenceSets():
            include = True
            if request.md5checksum:
                if request.md5checksum != obj.getMd5Checksum():
                    include = False
            if request.accession:
                if request.accession not in obj.getSourceAccessions():
                    include = False
            if request.assembly_id:
                if request.assembly_id != obj.getAssemblyId():
                    include = False
            if include:
                results.append(obj)
        return self._objectListGenerator(request, results)
1325498
public List<FacesConfigApplicationResourceLibraryContractsType<FacesConfigApplicationType<T>>> getAllResourceLibraryContracts()
   {
      List<FacesConfigApplicationResourceLibraryContractsType<FacesConfigApplicationType<T>>> list = new ArrayList<FacesConfigApplicationResourceLibraryContractsType<FacesConfigApplicationType<T>>>();
      List<Node> nodeList = childNode.get("resource-library-contracts");
      for(Node node: nodeList)
      {
         FacesConfigApplicationResourceLibraryContractsType<FacesConfigApplicationType<T>>  type = new FacesConfigApplicationResourceLibraryContractsTypeImpl<FacesConfigApplicationType<T>>(this, "resource-library-contracts", childNode, node);
         list.add(type);
      }
      return list;
   }
73335
public String getReferenceText() {
    if (DataTable_Type.featOkTst && ((DataTable_Type)jcasType).casFeat_referenceText == null)
      jcasType.jcas.throwFeatMissing("referenceText", "ch.epfl.bbp.uima.types.DataTable");
    return jcasType.ll_cas.ll_getStringValue(addr, ((DataTable_Type)jcasType).casFeatCode_referenceText);}
1116036
public static Map<String,Collection<IConditional>> getPropertyReferences( FunctionInputDef function)
    {
    SetValuedMap<String,IConditional> refs = MultiMapUtils.newSetValuedHashMap();

    conditionals( function)
      .forEach( conditional -> propertiesReferenced( conditional.getCondition()).forEach( p -> refs.put( p, conditional)));
    
    return refs.asMap();
    }
129558
@Override
    void findReferencedClassNames(final Set<String> referencedClassNames) {
        if (value != null) {
            value.findReferencedClassNames(referencedClassNames);
        }
    }
1167834
@Override
    public Set<RelationID> getReferredTables(QuotedIDFactory idfac) {
        Set<RelationID> referredTables = new HashSet<>();

        for (String[] fk : fks) {
            RelationID pkTableId = getRelationIDFromString(fk[2], idfac);
            referredTables.add(pkTableId);
        }

        return referredTables;
    }
1221981
public List<EDBObject> getModelsReferringToThisModel(EngineeringDatabaseService edbService) {
        return edbService.query(QueryRequest.query(
            EDBConverter.REFERENCE_PREFIX + "%", getCompleteModelOID()));
    }
76192
private void getYearlyDates(Calendar calendar, List<Date> dates)
   {
      if (m_relative)
      {
         getYearlyRelativeDates(calendar, dates);
      }
      else
      {
         getYearlyAbsoluteDates(calendar, dates);
      }
   }
429161
private List<Reference> getAllOneReferences(DomainObject domainObject) {
		List<Reference> allReferences = domainObject.getReferences();
		List<Reference> allOneReferences = new ArrayList<Reference>();
		for (Reference ref : allReferences) {
			if (!ref.isMany()) {
				allOneReferences.add(ref);
			}
		}
		return allOneReferences;
	}
871857
private function buildReferencedValues(
        FixtureBag $builtFixtures,
        string $referencedName,
        bool $allFlag
    ): array {
        if (false === $allFlag) {
            $fixture = $builtFixtures->get($referencedName);

            return [$referencedName => $fixture];
        }

        $matchedFixtures = array_filter(
            $builtFixtures->toArray(),
            function (string $referenceName) use ($referencedName) {
                return strpos($referenceName, $referencedName) === 0;
            },
            ARRAY_FILTER_USE_KEY
        );

        return $matchedFixtures;
    }
838369
public List<String> getAccessorAnnotationDescriptors() {
        if (mAnnotationDescs == null) {
            return Collections.emptyList();
        }
        return Collections.unmodifiableList(mAnnotationDescs);
    }
728291
@Override
    void findReferencedClassNames(final Set<String> referencedClassNames) {
        if (enumValue != null) {
            enumValue.findReferencedClassNames(referencedClassNames);
        } else if (classRef != null) {
            referencedClassNames.add(classRef.getClassName());
        } else if (annotationInfo != null) {
            annotationInfo.findReferencedClassNames(referencedClassNames);
        } else if (objectArrayValue != null) {
            for (final ObjectTypedValueWrapper item : objectArrayValue) {
                item.findReferencedClassNames(referencedClassNames);
            }
        }
    }
736549
@Deprecated
	public void setReferencedGenModels(String referencedGenModel) {
		if ("".equals(referencedGenModel))
			return;
		this.referencedGenModels = referencedGenModel;
		log.warn("The property 'referencedGenModels' is deprecated. Please use 'StandaloneSetup.registerGenModelFile' instead.");
	}
600334
public static Collection<Set<ProposalResponse>> getProposalConsistencySets(Collection<ProposalResponse> proposalResponses
    ) throws InvalidArgumentException {

        return getProposalConsistencySets(proposalResponses, new HashSet<ProposalResponse>());

    }
1343681
@SuppressWarnings("static-method")
	public String findStringValue(JvmAnnotationReference reference) {
		assert reference != null;
		for (final JvmAnnotationValue value : reference.getValues()) {
			if (value instanceof JvmStringAnnotationValue) {
				for (final String strValue : ((JvmStringAnnotationValue) value).getValues()) {
					if (strValue != null) {
						return strValue;
					}
				}
			}
		}
		return null;
	}
1297102
public IModel<List<T>> getChildChoices()
	{
		final T selectedRootOption = TwoDropDownChoicesModel.this.selectedRootOption;
		final IModel<List<T>> childChoices = new AbstractReadOnlyModel<List<T>>()
		{

			/** The Constant serialVersionUID. */
			private static final long serialVersionUID = 1L;

			/**
			 * {@inheritDoc}
			 */
			@Override
			public List<T> getObject()
			{
				List<T> models = getModelsMap().get(selectedRootOption);
				if (models == null)
				{
					models = Collections.emptyList();
				}
				return models;
			}

		};
		return childChoices;
	}