Examples of Array


Examples of org.apache.cxf.binding.corba.wsdl.Array

            WSDLToIDLAction idlgen = new WSDLToIDLAction();
            idlgen.setBindingName("XCORBABinding");
            idlgen.setOutputFile("atype.idl");
            idlgen.generateIDL(model);

            Array arr = (Array)tmap.get("X.A");
            assertNotNull(arr);
            assertEquals("ElementType is incorrect for Array Type", "X._5_A",
                         arr.getElemtype().getLocalPart());
           
            Anonarray arr2 = (Anonarray)tmap.get("X._5_A");
            assertNotNull(arr2);
            assertEquals("ElementType is incorrect for Anon Array Type", "X._4_A",
                         arr2.getElemtype().getLocalPart());
View Full Code Here

Examples of org.apache.schemas.yoko.bindings.corba.Array

    }
   
    private IdlType createArray(CorbaTypeImpl ctype, IdlScopeBase scope, String local)
        throws Exception {
        IdlType idlType = null;
        Array s = (Array)ctype;
        IdlType base = findType(s.getElemtype());       
        int bound = (int)s.getBound();
        idlType = IdlArray.create(scope, local, base, bound);
        scope.addToScope(idlType);
        return idlType;
    }
View Full Code Here

Examples of org.apache.sqoop.schema.type.Array

    Type type = Type.valueOf((String) obj.get(TYPE));
    Column output = null;
    switch (type) {
      case ARRAY:
        output = new Array(key);
        break;
      case BINARY:
        output = new Binary().setSize(size);
        break;
      case BIT:
View Full Code Here

Examples of org.cx4a.rsense.typing.runtime.Array

                                    }
                                }
                            }
                        } else if (receiver instanceof Array) {
                            if (args != null && args.length > 0) {
                                Array array = (Array) receiver;
                                Integer n = Vertex.getFixnum(args[0]);
                                if (!array.isModified() && n != null) {
                                    Vertex v = array.getElement(n);
                                    if (v != null) {
                                        ts.addAll(v.getTypeSet());
                                    }
                                }
                            }
View Full Code Here

Examples of org.dmg.pmml.Array

      }

    if( predicate instanceof SimpleSetPredicate )
      {
      String fieldName = ( (SimpleSetPredicate) predicate ).getField().getValue();
      Array valueArray = ( (SimpleSetPredicate) predicate ).getArray();
      SimpleSetPredicate.BooleanOperator operator = ( (SimpleSetPredicate) predicate ).getBooleanOperator();
      DataField expectedField = modelSchema.getExpectedField( fieldName );

      if( expectedField == null )
        throw new IllegalStateException( "missing field declaration in dictionary for: " + fieldName );
View Full Code Here

Examples of org.hibernate.mapping.Array

  private String getRawTypeName(Property p, boolean useGenerics, boolean preferRawTypeNames, ImportContext importContext) {
    Value value = p.getValue();
    try {     
     
      if ( value instanceof Array ) { // array has a string rep.inside.
        Array a = (Array) value;       
         
        if ( a.isPrimitiveArray() ) {
          return toName( value.getType().getReturnedClass() );
        }
        else if (a.getElementClassName()!=null){
          return a.getElementClassName() + "[]";
        } else {
          return getJavaTypeName(a.getElement(), preferRawTypeNames) + "[]";
        }
      }

      if ( value instanceof Component ) { // same for component.       
        Component component = ( (Component) value );
View Full Code Here

Examples of org.infinispan.schematic.document.Array

        assertRoundTrip(array);
    }

    protected void assertRoundTrip( Array array ) throws Exception {
        byte[] bytes = marshall(array);
        Array newArray = (Array)unmarshall(bytes);
        assertThat(newArray, is(array));
    }
View Full Code Here

Examples of org.jquantlib.math.matrixutilities.Array

        // TODO : review initialization
        // these are vectors in quantlib, therfor they must be initalized to default
        // values or nullable. since we have decided to write the code without null checks
        // all over the place we are going to initialze them for now to be consistent with
        // quantlib behavoir
        fixingDays_ = new Array(0);
        gearings_ = new Array(0);
        spreads_ = new Array(0);
        caps_ = new Array(0);
        floors_ = new Array(0);
        inArrears_ = false;
        zeroPayments_ = false;
    }
View Full Code Here

Examples of org.jquantlib.math.matrixutilities.Array

        inArrears_ = false;
        zeroPayments_ = false;
    }

    public final IborLeg withNotionals(/* @Real */final double notional) {
        notionals_ = new Array(new double[] { notional });// std::vector<Real>(1,notional);
        return this;
    }
View Full Code Here

Examples of org.jquantlib.math.matrixutilities.Array

        paymentAdjustment_ = convention;
        return this;
    }

    public final IborLeg withFixingDays(/* @Natural */final double fixingDays) {
        fixingDays_ = new Array(new double[] { fixingDays });// std::vector<Natural>(1,fixingDays);
        return this;
    }
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.