Examples of signature()


Examples of net.tomp2p.storage.Data.signature()

      if (data!=null && newData.publicKey() != null) {
        data.publicKey(newData.publicKey());
        changed = true;
      }
      if (data!=null && newData.isSigned()) {
        data.signature(newData.signature());
        changed = true;
      }
      if (data!=null) {
        data.validFromMillis(newData.validFromMillis());
        data.ttlSeconds(newData.ttlSeconds());
View Full Code Here

Examples of net.yacy.kelondro.order.ByteOrder.signature()

            oldOrder = null;
        } else {
            oldOrder = NaturalOrder.bySignature(sortOrderKey);
            if (oldOrder == null) oldOrder = Base64Order.bySignature(sortOrderKey);
        }
        if ((rowdef.objectOrder != null) && (oldOrder != null) && (!(rowdef.objectOrder.signature().equals(oldOrder.signature()))))
            throw new kelondroException("old collection order does not match with new order; objectOrder.signature = " + rowdef.objectOrder.signature() + ", oldOrder.signature = " + oldOrder.signature());
        this.sortBound = (int) exportedCollection.getColLong(exp_order_bound);
        if (sortBound > chunkcount) {
            Log.logWarning("RowCollection", "corrected wrong sortBound; sortBound = " + sortBound + ", chunkcount = " + chunkcount);
            this.sortBound = chunkcount;
View Full Code Here

Examples of net.yacy.kelondro.order.ByteOrder.signature()

        } else {
            oldOrder = NaturalOrder.bySignature(sortOrderKey);
            if (oldOrder == null) oldOrder = Base64Order.bySignature(sortOrderKey);
        }
        if ((rowdef.objectOrder != null) && (oldOrder != null) && (!(rowdef.objectOrder.signature().equals(oldOrder.signature()))))
            throw new kelondroException("old collection order does not match with new order; objectOrder.signature = " + rowdef.objectOrder.signature() + ", oldOrder.signature = " + oldOrder.signature());
        this.sortBound = (int) exportedCollection.getColLong(exp_order_bound);
        if (sortBound > chunkcount) {
            Log.logWarning("RowCollection", "corrected wrong sortBound; sortBound = " + sortBound + ", chunkcount = " + chunkcount);
            this.sortBound = chunkcount;
        }
View Full Code Here

Examples of openperipheral.adapter.IDescriptable.signature()

  @LuaCallable(returnTypes = LuaType.STRING, description = "List all the methods available")
  public String listMethods() {
    List<String> info = Lists.newArrayList();
    for (Map.Entry<String, E> e : methods.entrySet()) {
      final IDescriptable m = e.getValue().getWrappedMethod();
      info.add(e.getKey() + m.signature());
    }
    return Joiner.on(", ").join(info);
  }

  @LuaCallable(returnTypes = LuaType.TABLE, description = "Get a complete table of information about all available methods")
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

            // loop over class fields to declare them to the model
            for (final Enumeration e = classFile.fields().elements();
                 e.hasMoreElements();) {
                final ClassField field = (ClassField)e.nextElement();
                final String name = field.name().asString();
                final String sig = field.signature().asString();

                // skip jdo fields
                if (jdoFieldNames.contains(name)) {
                    continue;
                }
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

        // loop over class fields to compute 'jdo*' and key/managed fields
        for (final Enumeration e = classFile.fields().elements();
             e.hasMoreElements();) {
            final ClassField field = (ClassField)e.nextElement();
            final String name = field.name().asString();
            final String sig = field.signature().asString();
            final String userFieldName = userClassName + "." + name;
           
            if (false) {
                System.out.println("Analyzer.scanFields(): scanning "
                                   + className + "." + name + " : " + sig);
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

                affirm(meta.isKeyField(className, name));
                keyFieldIndexes[j++] = i;
            }
           
            // add field type and Java access modifers
            managedFieldSigs[i] = field.signature().asString();
            managedFieldMods[i] = field.access();

            // set the serializable bit if field is not (Java) transient
            // This code might be removed as soon as the metadata is able
            // to retrieve the info as part of meta.getFieldFlags.
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

                       ("The managed field " + userClassName + "." + name +
                        " is static."));

                // add field type and Java access modifers
                annotatedFieldNames[i] = name;
                annotatedFieldSigs[i] = field.signature().asString();
                annotatedFieldMods[i] = field.access();
                annotatedFieldFlags[i] = 0x0; // direct read/write access
                i++;
            }
            affirm(i == annotatedFieldCount);
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

            missing.add(fieldName);
            return;
        }
        found.add(fieldName);

        final String foundSig = field.signature().asString();
        final int foundMods = field.access();
        if (!expectedSig.equals(foundSig) || expectedMods != foundMods) {
            env.error(
                getI18N("enhancer.class_has_illegally_declared_jdo_member",
                        new Object[]{ userClassName,
View Full Code Here

Examples of org.apache.jdo.impl.enhancer.classfile.ClassField.signature()

        final ClassField[] managedFields = null; //analyzer.annotatedFields();
        final int managedFieldCount = managedFields.length;
        for (int i = 0; i < managedFieldCount; i++) {
            final ClassField field = managedFields[i];
            final String fieldName = field.name().asString();
            final String fieldSig = field.signature().asString();

/*
            // ignore primary managed fields
            if (field.isManaged())
                continue;
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.