Tabnine Logo
CollectionHelper.isNotEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
isNotEmpty
method
in
org.n52.sos.util.CollectionHelper

Best Java code snippets using org.n52.sos.util.CollectionHelper.isNotEmpty (Showing top 20 results out of 315)

origin: org.n52.sensorweb.sos/gc-dao

private boolean checkOfferingValues(final Collection<String> procedures, final SosEnvelope envelopeForOffering, final Set<String> featuresForOffering,
    final Collection<String> responseFormats) {
  return CollectionHelper.isNotEmpty(procedures) && SosEnvelope.isNotNullOrEmpty(envelopeForOffering) && CollectionHelper.isNotEmpty(featuresForOffering)
      && CollectionHelper.isNotEmpty(responseFormats) && CollectionHelper.isNotEmpty(procedures);
}
origin: org.n52.sensorweb.sos/hibernate-dao

/**
 * Check the queried {@link AbstractValuedLegacyObservation}s for null and
 * set them as iterator to local variable.
 *
 * @param valuesResult
 *            Queried {@link AbstractValuedLegacyObservation}s
 */
private void setObservationValuesResult(Collection<ValuedObservation<?>> valuesResult) {
  if (CollectionHelper.isNotEmpty(valuesResult)) {
    this.valuesResult = valuesResult.iterator();
  }
}
origin: org.n52.sensorweb.sos/hibernate-dao

/**
 * Check the queried {@link AbstractValuedLegacyObservation}s for null and set them as
 * iterator to local variable.
 *
 * @param seriesValuesResult
 *            Queried {@link AbstractValuedLegacyObservation}s
 */
private void setSeriesValuesResult(Collection<AbstractValuedLegacyObservation<?>> seriesValuesResult) {
  if (CollectionHelper.isNotEmpty(seriesValuesResult)) {
    this.seriesValuesResult = seriesValuesResult.iterator();
  }
}
origin: org.n52.sensorweb.sos/gda-operation

public boolean isSetResultTime() {
  return CollectionHelper.isNotEmpty(getResultTimes());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetHasObservation() {
  return CollectionHelper.isNotEmpty(getHasObservation());
}

origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetProcessParameter() {
  return CollectionHelper.isNotEmpty(getProcessParameter());
}
origin: org.n52.sensorweb.sos/gda-operation

public boolean isSetProcedure() {
  return CollectionHelper.isNotEmpty(getProcedures());
}
origin: org.n52.sensorweb.sos/gda-operation

public boolean isSetObservedProperties() {
  return CollectionHelper.isNotEmpty(getObservedProperties());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetPurpose() {
  return CollectionHelper.isNotEmpty(getPurpose());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetSupersededBy() {
  return CollectionHelper.isNotEmpty(getSupersededBy());
}

origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetInvolvedIn() {
  return CollectionHelper.isNotEmpty(getInvolvedIn());
}

origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetResultAcquisitionSource() {
  return CollectionHelper.isNotEmpty(getResultAcquisitionSource());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetOperationalActivityPeriod() {
  return CollectionHelper.isNotEmpty(getOperationalActivityPeriod());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetRole() {
  return CollectionHelper.isNotEmpty(getRole());
}

origin: org.n52.sensorweb.sos/gda-operation

public boolean isSetOfferings() {
  return CollectionHelper.isNotEmpty(getOfferings());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetObservingCapability() {
  return CollectionHelper.isNotEmpty(getObservingCapability());
}
origin: org.n52.sensorweb.sos/inspire-api

public boolean isSetResponsibleParty() {
  return CollectionHelper.isNotEmpty(getResponsibleParty());
}
origin: org.n52.sensorweb.sos/api-aqd-v10

  public boolean isSetVerificationFlags() {
    return CollectionHelper.isNotEmpty(getVerificationFlags());
  }
}
origin: org.n52.sensorweb.sos/hibernate-dao

protected Set<String> getObservablePropertyIdentifier(Session session) throws OwsExceptionReport {
  if (obsConstSupported) {
    if (CollectionHelper.isNotEmpty(observationConstellationInfos)) {
      return DatasourceCacheUpdateHelper
          .getAllObservablePropertyIdentifiersFromObservationConstellationInfos(observationConstellationInfos);
    } else {
      return Sets.newHashSet();
    }
  } else {
    return Sets.newHashSet(new ObservablePropertyDAO().getObservablePropertyIdentifiersForOffering(offeringId, session));
  }
}
origin: org.n52.sensorweb.sos/hibernate-dao

protected SosEnvelope getEnvelopeForOffering(Collection<String> featureOfInterestIdentifiers, Session session)
    throws OwsExceptionReport {
  if (CollectionHelper.isNotEmpty(featureOfInterestIdentifiers)) {
    FeatureQueryHandlerQueryObject queryHandler =
        new FeatureQueryHandlerQueryObject().setFeatureIdentifiers(featureOfInterestIdentifiers)
            .setConnection(session);
    return Configurator.getInstance().getFeatureQueryHandler().getEnvelopeForFeatureIDs(queryHandler);
  }
  return null;
}
org.n52.sos.utilCollectionHelperisNotEmpty

Popular methods of CollectionHelper

  • isEmpty
  • isNotNullOrEmpty
  • isNullOrEmpty
  • union
  • conjunctCollections
  • map
  • synchronizedList
  • synchronizedMap

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ImageIO (javax.imageio)
  • BoxLayout (javax.swing)
  • JCheckBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now