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

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

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

origin: org.n52.sensorweb.sos/coding-sensorML-v20

private void addAbstractPhysicalProcessValues(final AbstractPhysicalProcessType appt,
    final AbstractPhysicalProcess absPhysicalProcess) throws OwsExceptionReport {
  // set attachedTo
  if (absPhysicalProcess.isSetAttachedTo()) {
    if (appt.isSetAttachedTo()) {
      substitute(appt.getAttachedTo(), encodeObjectToXmlGml32(absPhysicalProcess.getAttachedTo()));
    } else {
      substitute(appt.addNewAttachedTo(), encodeObjectToXmlGml32(absPhysicalProcess.getAttachedTo()));
    }
  }
  // set localReferenceFrame
  // set localTimeFrame
  // set position
  if (CollectionHelper.isNullOrEmpty(appt.getPositionArray()) && absPhysicalProcess.isSetPosition()) {
    createPosition(appt.addNewPosition(), absPhysicalProcess.getPosition());
  }
  // set timePosition
  // // set location
  // if (absPhysicalProcess.isSetLocation()) {
  // appt.setSmlLocation(createLocation(absPhysicalProcess.getLocation()));
  // }
}
origin: org.n52.sensorweb.sos/coding-sensorML-v20

if (describedObject.isSetName() && CollectionHelper.isNullOrEmpty(dot.getNameArray())) {
  if (CollectionHelper.isNullOrEmpty(dot.getKeywordsArray())) {
    final List<String> keywords = describedObject.getKeywords();
if (describedObject.isSetValidTime() && CollectionHelper.isNullOrEmpty(dot.getValidTimeArray())) {
  final Time time = describedObject.getValidTime();
  final XmlObject xbtime = encodeObjectToXmlGml32(time);
  if (CollectionHelper.isNullOrEmpty(dot.getCharacteristicsArray())) {
    dot.setCharacteristicsArray(createCharacteristics(describedObject.getCharacteristics()));
  if (CollectionHelper.isNullOrEmpty(dot.getContactsArray())) {
    ContactListType cl = ContactListType.Factory.newInstance();
    for (SmlContact contact : describedObject.getContact()) {
  if (CollectionHelper.isNullOrEmpty(dot.getDocumentationArray())) {
    dot.setDocumentationArray(createDocumentationArray(describedObject.getDocumentation()));
origin: org.n52.sensorweb.sos/coding-sensorML-v101

  abstractProcess.addNewDescription().setStringValue(sosAbstractProcess.getDescription());
if (sosAbstractProcess.isSetName() && CollectionHelper.isNullOrEmpty(abstractProcess.getNameArray())) {
if (sosAbstractProcess.isSetDocumentation() && CollectionHelper.isNullOrEmpty(abstractProcess.getDocumentationArray())) {
  abstractProcess.setDocumentationArray(createDocumentationArray(sosAbstractProcess.getDocumentation()));
if (sosAbstractProcess.isSetContact() && CollectionHelper.isNullOrEmpty(abstractProcess.getContactArray())) {
  ContactList contactList = createContactList(sosAbstractProcess.getContact());
  if (contactList != null && contactList.getMemberArray().length > 0) {
org.n52.sos.utilCollectionHelperisNullOrEmpty

Popular methods of CollectionHelper

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

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
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