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

How to use
setConformant
method
in
org.jinterop.dcom.core.JIArray

Best Java code snippets using org.jinterop.dcom.core.JIArray.setConformant (Showing top 6 results out of 315)

origin: org.jinterop/j-interop

void encode(NetworkDataRepresentation ndr, List defferedPointers ,int FLAG)
{
  //first write all Max counts and then the rest of the structs
  for (int i = 0;i < listOfMaxCounts.size();i++)
  {
    JIMarshalUnMarshalHelper.serialize(ndr,Integer.class,(Integer)listOfMaxCounts.get(i),null,FLAG);
  }
  
  int i = 0;
  while (i < listOfMembers.size())
  {
    Object o = listOfMembers.get(i);
    {
      if (o instanceof JIArray)
      {
        //if this array is conformant then reset it's conformancy , since the length would have been
        //written before.
        ((JIArray)o).setConformant(false);
      }
      JIMarshalUnMarshalHelper.serialize(ndr,o.getClass(),o,defferedPointers,FLAG);
      if (o instanceof JIArray)
      {
        //noew reset this, so that next time when the same struct is written everything goes proper.
        ((JIArray)o).setConformant(((JIArray)o).isConformant());
      }
    }
    i++;
  }
}
 
origin: org.kohsuke.jinterop/j-interop

void encode(NetworkDataRepresentation ndr, List defferedPointers ,int FLAG)
{
  //first write all Max counts and then the rest of the structs
  for (int i = 0;i < listOfMaxCounts.size();i++)
  {
    JIMarshalUnMarshalHelper.serialize(ndr,Integer.class,(Integer)listOfMaxCounts.get(i),null,FLAG);
  }
  int i = 0;
  while (i < listOfMembers.size())
  {
    Object o = listOfMembers.get(i);
    {
      if (o instanceof JIArray)
      {
        //if this array is conformant then reset it's conformancy , since the length would have been
        //written before.
        ((JIArray)o).setConformant(false);
      }
      JIMarshalUnMarshalHelper.serialize(ndr,o.getClass(),o,defferedPointers,FLAG);
      if (o instanceof JIArray)
      {
        //noew reset this, so that next time when the same struct is written everything goes proper.
        ((JIArray)o).setConformant(((JIArray)o).isConformant());
      }
    }
    i++;
  }
}
origin: org.openscada.jinterop/org.openscada.jinterop.core

void encode ( final NetworkDataRepresentation ndr, final List defferedPointers, final int FLAG )
{
  //first write all Max counts and then the rest of the structs
  for ( int i = 0; i < this.listOfMaxCounts.size (); i++ )
  {
    JIMarshalUnMarshalHelper.serialize ( ndr, Integer.class, this.listOfMaxCounts.get ( i ), null, FLAG );
  }
  int i = 0;
  while ( i < this.listOfMembers.size () )
  {
    final Object o = this.listOfMembers.get ( i );
    {
      if ( o instanceof JIArray )
      {
        //if this array is conformant then reset it's conformancy , since the length would have been
        //written before.
        ( (JIArray)o ).setConformant ( false );
      }
      JIMarshalUnMarshalHelper.serialize ( ndr, o.getClass (), o, defferedPointers, FLAG );
      if ( o instanceof JIArray )
      {
        //noew reset this, so that next time when the same struct is written everything goes proper.
        ( (JIArray)o ).setConformant ( ( (JIArray)o ).isConformant () );
      }
    }
    i++;
  }
}
origin: org.openscada.jinterop/org.openscada.jinterop.core

( (JIArray)o ).setConformant ( false );
maxCountTemp = ( (JIArray)o ).getConformantMaxCounts ();
( (JIArray)o ).setMaxCountAndUpperBounds ( listOfMaxCounts2.subList ( j, ( (Integer)this.listOfDimensions.get ( j ) ).intValue () ) );
( (JIArray)o ).setConformant ( ( (JIArray)o ).isConformant () );
( (JIArray)o ).setMaxCountAndUpperBounds ( maxCountTemp );
origin: org.kohsuke.jinterop/j-interop

((JIArray)o).setConformant(false);
maxCountTemp = ((JIArray)o).getConformantMaxCounts();
((JIArray)o).setMaxCountAndUpperBounds(listOfMaxCounts2.subList(j,((Integer)listOfDimensions.get(j)).intValue()));
((JIArray)o).setConformant(((JIArray)o).isConformant());
((JIArray)o).setMaxCountAndUpperBounds(maxCountTemp);
origin: org.jinterop/j-interop

((JIArray)o).setConformant(false);
maxCountTemp = ((JIArray)o).getConformantMaxCounts(); 
((JIArray)o).setMaxCountAndUpperBounds(listOfMaxCounts2.subList(j,((Integer)listOfDimensions.get(j)).intValue()));
((JIArray)o).setConformant(((JIArray)o).isConformant());
((JIArray)o).setMaxCountAndUpperBounds(maxCountTemp);
org.jinterop.dcom.coreJIArraysetConformant

Popular methods of JIArray

  • getArrayInstance
    Returns the nested Array.
  • <init>
    Refer to #JIArray(Object,int[],int,boolean) for details.
  • computeLengthArray
  • decode
  • encode
  • getArrayClass
    Class of the nested Array.
  • getConformantMaxCounts
  • getDimensions
    Returns the dimensions of the Array.
  • getNumElementsInAllDimensions
  • getSizeOfAllElementsInBytes
  • getUpperBounds
    Array of integers depicting highest index for each dimension.
  • init
  • getUpperBounds,
  • init,
  • init2,
  • isConformant,
  • isVarying,
  • recurseDecode,
  • reverseArrayForDispatch,
  • setMaxCountAndUpperBounds,
  • updateClazz

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • putExtra (Intent)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Notification (javax.management)
  • 14 Best Plugins for Eclipse
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