Examples of toArray()


Examples of com.sun.xml.internal.ws.binding.WebServiceFeatureList.toArray()

        // merge features from interceptor
        for( WebServiceFeature wsf : owner.serviceInterceptor.preCreateBinding(this,portInterface,r) )
            r.add(wsf);

        BindingImpl bindingImpl = BindingImpl.create(bindingId, r.toArray());
        owner.getHandlerConfigurator().configureHandlers(this,bindingImpl);

        return bindingImpl;
    }
View Full Code Here

Examples of com.sun.xml.messaging.saaj.util.FinalArrayList.toArray()

            }
        }
        if (v.size() == 0)
            return (null);
        // convert Vector to an array for return
        return (String[]) v.toArray(new String[v.size()]);
    }

    /**
     * Get all the headers for this header name, returned as a single
     * String, with headers separated by the delimiter. If the
View Full Code Here

Examples of com.sun.xml.ws.binding.WebServiceFeatureList.toArray()

//            AbstractSEIModelImpl rtModel = rtModeler.buildRuntimeModel();

            DatabindingFactory fac = DatabindingFactory.newInstance();
            config.setEndpointClass(endpointClass);
            config.getMappingInfo().setServiceName(options.serviceName);
            config.setFeatures(wsfeatures.toArray());
            config.setClassLoader(classLoader);
            config.getMappingInfo().setBindingID(bindingID);
            com.sun.xml.ws.db.DatabindingImpl rt = (com.sun.xml.ws.db.DatabindingImpl) fac.createRuntime(config);

            final File[] wsdlFileName = new File[1]; // used to capture the generated WSDL file.
View Full Code Here

Examples of com.thoughtworks.xstream.persistence.XmlArrayList.toArray()

   public Event[] getAllEvents(String path,String serName){
       PersistenceStrategy strategy = new FilePersistenceStrategy(new File(path+"/"+serName));
    // creates the list:
    List list = new XmlArrayList(strategy);
    if(list.size()>0){
      Event[] array = (Event[])list.toArray(new Event[list.size()]);
      return array;
    }
    else
      return null;
   }
View Full Code Here

Examples of com.threerings.miso.util.ObjectSet.toArray()

                            "[scene=" + model.name + " (" + model.sceneId +
                            "), info=" + info + "].");
            }
        }

        return objs.toArray();
    }

    /** Our default scene metrics. */
    protected static MisoSceneMetrics _metrics = MisoConfig.getSceneMetrics();

View Full Code Here

Examples of de.fhg.igd.mongomvcc.helper.IdHashSet.toArray()

        }
      }
    }
   
    //the remaining OIDs must be the unreferenced ones
    return oids.toArray();
  }
}
View Full Code Here

Examples of de.fhg.igd.mongomvcc.helper.IdSet.toArray()

        }
      }
    }
   
    //the remaining OIDs must be the unreferenced ones
    return oids.toArray();
  }
}
View Full Code Here

Examples of de.jungblut.math.DoubleVector.toArray()

      outcome.add(new DenseDoubleVector(arr));
    }
    knn.train(features, outcome);

    DoubleVector prediction = knn.predict(new SingleEntryDoubleVector(5));
    assertArrayEquals(new double[] { 1d, 0, 0, 0, 1d }, prediction.toArray());
    prediction = knn.predictProbability(new SingleEntryDoubleVector(5));
    assertArrayEquals(new double[] { 0.5, 0, 0, 0, 0.5 }, prediction.toArray());
  }

  void assertArrayEquals(double[] real, double[] actual) {
View Full Code Here

Examples of de.netsysit.model.ReceiverListModel.toArray()

                        mb = PolicyUtilities.getMessageBundle();
                        PolicyUtilities.showMessageDialog(mb.getString("nofbavailable"), JOptionPane.INFORMATION_MESSAGE);
                   
                } else {
                    list.add(p);
                    Object[] policies = list.toArray();

                    FallBackChooserDialog dlg = new FallBackChooserDialog();
                    dlg.showDialog(policies);
                    Object result = dlg.getResult();
                    if (result != null) {
View Full Code Here

Examples of de.reuse.DrawingEditorTabbedPane.toArray()

        GraphicalEditorImplementation gei = (GraphicalEditorImplementation) graphicalEditor;
        final DrawingEditorTabbedPane pane = (DrawingEditorTabbedPane) gei.getGraphicalEditorUI().getEditorArea();

        DrawingViewContainer rst = new DrawingViewContainer() {
            public DrawingView[] getAllDrawingViews() {
                return pane.toArray();
            }
        };

        return rst;
    }
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.