Examples of toArray()


Examples of DisplayProject.Array_Of_DisplayNode.toArray()

                    rootNode.setUserObject(ListView.this);

                    Enumeration kids = rootNode.children();
                    Array_Of_DisplayNode data = new Array_Of_DisplayNode(rootNode.getClass(), kids);

                    ListView.this.setListData(data.toArray());
                    ListView.this.tableModel.setViewNodes(data);
                }
          }
          @Override
          public String toString() {
View Full Code Here

Examples of akka.util.ByteString.toArray()

      if (msg instanceof Received) {
        
         switch (this.state) {
         case STARTED:
            ByteString in = ((Received) msg).data();
            provider = factory.getMessageProvider(in.toArray());

            builder = new org.flowforwarding.warp.protocol.ofp.avro.OFMessage.OFMessageBuilder(in.toArray());           
            OFMessage inMsg = builder.value(in.toArray()).build();

            if ((provider != null) && (inMsg != null)) {
View Full Code Here

Examples of anvil.core.Any.toArray()

        try {
          if (_file.length()>0) {
            in = new FileInputStream(_file);
            Any data = Serialization.unserialize(null, in);
            if (data.isArray()) {
              _namespace = data.toArray();
            }
          } else {
            _namespace.clear();
          }
        } catch (Throwable t) {
View Full Code Here

Examples of anvil.script.ParameterList.toArray()

          plist.splice(child.eval());
        } else {
          plist.add(child.eval());
        }
      }
      return plist.toArray();

    } else {
      Node[] child = _child;
      Any[] list = new Any[n - startIndex];
      for(int i = startIndex; i<n; i++) {
View Full Code Here

Examples of br.com.objectos.way.base.SeqNum.toArray()

    this.seqNum = seqNum;
  }

  public static LinhaDigitavel of(CodigoDeBarras codigo) {
    SeqNum codigoNum = codigo.getSeqNum();
    int[] barras = codigoNum.toArray();
    Preconditions.checkArgument(barras.length == 44);

    SeqNum seqNum = SeqNum.builder()

        .col("Banco")
View Full Code Here

Examples of ca.nengo.util.MU.MatrixExpander.toArray()

      while (elemTokenizer.hasMoreTokens()) {
        row.add(Float.parseFloat(elemTokenizer.nextToken()));
      }
      result.add(row.toArray());
    }
    return result.toArray();
  }

  /**
   * @param matrix
   *            A matrix
View Full Code Here

Examples of ca.nengo.util.MU.VectorExpander.toArray()

          colDelimString, false);
      VectorExpander row = new VectorExpander();
      while (elemTokenizer.hasMoreTokens()) {
        row.add(Float.parseFloat(elemTokenizer.nextToken()));
      }
      result.add(row.toArray());
    }
    return result.toArray();
  }

  /**
 
View Full Code Here

Examples of cc.redberry.core.utils.IntArrayList.toArray()

                }
                if (positionsOfMatrices.isEmpty())
                    continue out;

                //final simplifications
                traces.put(product.remove(positionsOfMatrices.toArray()));
                current = traces.build();
                current = ExpandAndEliminateTransformation.expandAndEliminate(current);
                current = deltaTrace.transform(current);
                if (simplifyLeviCivita != null)
                    current = simplifyLeviCivita.transform(current);
View Full Code Here

Examples of cern.colt.matrix.DoubleMatrix1D.toArray()

  testSort[3] = Double.NaN;
  testSort[4] = 1;
  DoubleMatrix1D doubleDense = new DenseDoubleMatrix1D(testSort);
  System.out.println("orig = "+doubleDense);
  doubleDense = doubleDense.viewSorted();
  doubleDense.toArray(testSort);
  System.out.println("sort = "+doubleDense);
  System.out.println("done\n");
}
/**
*/
 
View Full Code Here

Examples of cern.colt.matrix.DoubleMatrix2D.toArray()

    *
    */
   public static double[][] exp (double[][] A)  {
      DoubleMatrix2D V = new DenseDoubleMatrix2D(A);
      DoubleMatrix2D R = exp(V);
      return R.toArray();
   }


   /**
    * Returns <SPAN CLASS="MATH"><I>e</I><SUP>A</SUP></SPAN>, the exponential of the square matrix <SPAN CLASS="MATH"><I>A</I></SPAN>.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.