congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ElementList.size
Code IndexAdd Tabnine to your IDE (free)

How to use
size
method
in
org.ccsds.moims.mo.mal.structures.ElementList

Best Java code snippets using org.ccsds.moims.mo.mal.structures.ElementList.size (Showing top 4 results out of 315)

origin: int.esa.nmf.core.moservices.impl/ccsds-com

/**
 * Changes the current set of definitions available by the provided set.
 *
 * @param objIds Object instance identifiers
 * @param definitions The object body of the definitions
 * @return True if the configuration was successfully changed. False
 * otherwise.
 */
public synchronized Boolean reconfigureDefinitions(LongList objIds, ElementList definitions) {
  if (objIds == null || definitions == null) {
    return false;
  }
  if (objIds.size() != definitions.size()) {
    return false;
  }
  defs.clear();
  for (int i = 0; i < objIds.size(); i++) {
    defs.put(objIds.get(i), (Element) definitions.get(i));
  }
  return true;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

/**
 * Changes the current set of definitions available by the provided set.
 *
 * @param identityIds the identityIds of the parameters to be set
 * @param names the names of the parameters to be set
 * @param defIds the definitionsIds of the parameters to be set
 * @param definitions The object body of the definitions to be set
 * @return True if the configuration was successfully changed. False
 * otherwise.
 */
public synchronized Boolean reconfigureDefinitions(final LongList identityIds,
    final IdentifierList names, final LongList defIds, final ElementList definitions) {
  if (identityIds == null || names == null || defIds == null || definitions == null) {
    return false;
  }
  if (identityIds.size() != names.size() && defIds.size() != definitions.size() && identityIds.size() != defIds.size()) {
    return false;
  }
  this.identitiesToNamesMap.clear();
  this.namesToPairsMap.clear();
  this.objIdToDefMap.clear();
  for (int i = 0; i < identityIds.size(); i++) {
    this.identitiesToNamesMap.put(identityIds.get(i), names.get(i));
    this.namesToPairsMap.put(names.get(i), new ObjectInstancePair(identityIds.get(i), defIds.get(i)));
    this.objIdToDefMap.put(defIds.get(i), (Element) definitions.get(i));
  }
  return true;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

if (lArchiveDetailsList.size() != lElementList.size()) { // requirement: ------ (proposed, does not exist yet)
  UIntegerList error = new UIntegerList();
  int size1 = (lArchiveDetailsList.size() < lElementList.size()) ? lArchiveDetailsList.size() : lElementList.size();
  int size2 = (lArchiveDetailsList.size() > lElementList.size()) ? lArchiveDetailsList.size() : lElementList.size();
origin: int.esa.nmf.core.moservices.impl/ccsds-com

if (lArchiveDetailsList.size() != lElementList.size()) { // requirement: 3.4.6.2.8
  UIntegerList error = new UIntegerList();
  int size1 = (lArchiveDetailsList.size() < lElementList.size()) ? lArchiveDetailsList.size() : lElementList.size();
  int size2 = (lArchiveDetailsList.size() > lElementList.size()) ? lArchiveDetailsList.size() : lElementList.size();
org.ccsds.moims.mo.mal.structuresElementListsize

Popular methods of ElementList

  • add
  • get
  • addAll
  • getShortForm
  • isEmpty

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Reference (javax.naming)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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