Examples of disassemble()


Examples of org.hibernate.type.Type.disassemble()

    int length = elements.size();
    Serializable[] result = new Serializable[length];
    for ( int i=0; i<length; i++ ) {
      Element elem = (Element) elements.get(i);
      Object object = elementType.fromXMLNode( elem, persister.getFactory() );
      result[i] = elementType.disassemble( object, getSession(), null );
    }
    return result;
  }

  @Override
View Full Code Here

Examples of org.hibernate.type.Type.disassemble()

      final Type type = propertyTypes[naturalIdPropertyIndexes[i]];
      final Object value = naturalIdValues[i];
     
      result = prime * result + (value != null ? type.getHashCode( value, factory ) : 0);
     
      this.naturalIdValues[i] = type.disassemble( value, session, null );
    }
   
    this.hashCode = result;
    this.toString = new ValueHolder<String>(
        new ValueHolder.DeferredInitializer<String>() {
View Full Code Here

Examples of org.hibernate.type.Type.disassemble()

      // TODO: The snapshot should probably be revisited at some point.  Consider semi-resolving, hydrating, etc.
      if (type instanceof EntityType && type.getSemiResolvedType( factory ).getReturnedClass().isInstance( value )) {
        this.naturalIdValues[i] = (Serializable) value;
      }
      else {
        this.naturalIdValues[i] = type.disassemble( value, session, null );
      }
    }

    this.hashCode = result;
    initTransients();
View Full Code Here

Examples of org.jnode.vm.compiler.NativeCodeCompiler.disassemble()

            index = 0;
        } else if (index >= cmps.length) {
            index = cmps.length - 1;
        }
        cmp = cmps[index];
        cmp.disassemble(vmMethod, getResolver(), optLevel, writer);
    }

    /**
     * Compile the given IMT.
     *
 
View Full Code Here

Examples of se.sics.mspsim.core.DisAsm.disassemble()

            }
            // Does not yet handle signed data...
            DisAsm disAsm = cpu.getDisAsm();
            for (int i = 0; i < count; i++) {
                if (mode == Utils.DIS_ASM) {
                    DbgInstruction dbg = disAsm.disassemble(start, cpu.memory, cpu.reg, new DbgInstruction(),
                            0);
                    String fkn;
                    if ((fkn = dbg.getFunction()) != null) {
                        context.out.println("//// " + fkn);
                    }
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.