Examples of toArray()


Examples of com.dubture.getcomposer.core.collection.License.toArray()

  public String convert(Object fromObject) {
    if (fromObject == null) {
      return "";
    }
    License licenses = (License)fromObject;
    return StringUtils.join((String[])licenses.toArray(new String[]{}), ", ");
  }

}
View Full Code Here

Examples of com.espertech.esper.collection.OneEventCollection.toArray()

        // Check for any events that get pushed out of the window
        EventBean[] expiredArr = null;
        if (expired != null)
        {
            expiredArr = expired.toArray();
        }

        // update event buffer for access by expressions, if any
        if (viewUpdatedCollection != null)
        {
View Full Code Here

Examples of com.esri.gpt.framework.collection.StringSet.toArray()

  CatalogIndexAdapter indexAdapter = getCatalogIndexAdapter();
  if (indexAdapter!=null) {
    StringSet uuids = new StringSet();
    uuids.add(record.getUuid());
    indexAdapter.deleteDocuments(uuids.toArray(new String[0]));
    if (cswRemoteRepository.isActive()) {
      StringSet fids = queryFileIdentifiers(uuids);
      if (fids.size() > 0) cswRemoteRepository.onRecordsDeleted(fids);
    }
  }
View Full Code Here

Examples of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult.toArray()

    for( OutgoingWss entry : outgoingWssConfigs )
    {
      result.addAll( entry.getPropertyExpansions() );
    }

    return result.toArray();
  }

  public List<WssCrypto> getCryptoList()
  {
    return new ArrayList<WssCrypto>( cryptos );
View Full Code Here

Examples of com.extentech.toolkit.CompatibleVector.toArray()

    }
    Double[] binsArr = new Double[t.size()];
    double[] dataArr;
      dataArr = PtgCalculator.getDoubleValueArray(firstArr);
      if (dataArr==null) return new PtgErr(PtgErr.ERROR_NA);//20090130 KSC: propagate error
    t.toArray(binsArr);
    int[] retvals = new int[secondArr.length +1];
    for (int i=0;i<dataArr.length;i++){
      for (int x=0;x<binsArr.length;x++){
        if (dataArr[i] <= binsArr[x].doubleValue()){
          retvals[x]++;
View Full Code Here

Examples of com.extentech.toolkit.FastAddVector.toArray()

    public Ptg[] getColComponents(int colNum){
        FastAddVector v = new FastAddVector();
        int[] x = this.getIntLocation();
        if(x[1] == colNum)v.add(this);
        PtgRef[] pref = new PtgRef[v.size()];
        v.toArray(pref);        
        return pref;
    }
}
View Full Code Here

Examples of com.filenet.api.property.Properties.toArray()

  }

  private Map<String,Property> getMetas() {
    Map<String,Property> propMap = new HashMap<String,Property>();
    Properties props = doc.getProperties();
    Property[] propList = props.toArray();
    for (Property property : propList) {
      propMap.put(property.getPropertyName(), property);
    }
    return propMap;
  }
View Full Code Here

Examples of com.google.test.metric.Type.toArray()

  @Override
  public List<Variable> apply(List<Variable> input) {
    Type array = clazz;
    for (int i = 0; i < dims; i++) {
      array = array.toArray();
    }
    return list(new Constant("?", array));
  }

  @Override
View Full Code Here

Examples of com.googlecode.gwtgl.example.client.util.math.Vectorf.toArray()

    webGLWrapper.uniform3f(
        shaderProgram.getUniformLocation("ambientColor"),
        ambientColorRed, ambientColorGreen, ambientColorBlue);
    Vectorf adjustedLightDirection = lightingDirection.toUnitVector()
        .multiply(-1);
    float[] flatLightDirection = adjustedLightDirection.toArray();
    webGLWrapper.uniform3f(shaderProgram
        .getUniformLocation("lightingDirection"),
        flatLightDirection[0], flatLightDirection[1],
        flatLightDirection[2]);
    webGLWrapper.uniform3f(shaderProgram
View Full Code Here

Examples of com.gs.collections.api.set.primitive.ByteSet.toArray()

            {
                return false;
            }

            ByteSet other = (ByteSet) obj;
            return this.size() == other.size() && this.containsAll(other.toArray());
        }

        @Override
        public int hashCode()
        {
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.