Examples of Key

Keys are generally obtained through key generators, certificates, or various Identity classes used to manage keys. Keys may also be obtained from key specifications (transparent representations of the underlying key material) through the use of a key factory (see {@link KeyFactory}).

A Key should use KeyRep as its serialized representation. Note that a serialized Key may contain sensitive information which should not be exposed in untrusted environments. See the Security Appendix of the Serialization Specification for more information. @see PublicKey @see PrivateKey @see KeyPair @see KeyPairGenerator @see KeyFactory @see KeyRep @see java.security.spec.KeySpec @see Identity @see Signer @version 1.57 06/04/21 @author Benjamin Renaud

  • javax.xml.registry.infomodel.Key
    @version $Revision$ $Date$
  • net.karneim.pojobuilder.model.PropertyListM.Key
  • nexj.core.meta.persistence.Key
    Interface representing a multi-part key.
  • nl.topicus.onderwijs.dashboard.keys.Key
  • oracle.kv.Key
  • org.aeonbits.owner.Config.Key
  • org.apache.accumulo.core.data.Key
  • org.apache.accumulo.proxy.thrift.Key
  • org.apache.camel.avro.generated.Key
  • org.apache.deltacloud.client.Key
    @author Andre Dietisheim
  • org.apache.flink.runtime.operators.testutils.TestData.Key
  • org.apache.flink.types.Key
    This interface has to be implemented by all data types that act as key. Keys are used to establish relationships between values. A key must always be {@link java.lang.Comparable} to other keys ofthe same type. In addition, keys must implement a correct {@link java.lang.Object#hashCode()} methodand {@link java.lang.Object#equals(Object)} method to ensure that grouping on keys works properly.

    This interface extends {@link org.apache.flink.types.Value} and requires to implementthe serialization of its value. @see org.apache.flink.types.Value @see org.apache.flink.core.io.IOReadableWritable @see java.lang.Comparable

  • org.apache.hadoop.fs.FileSystem.Cache.Key
  • org.apache.hadoop.hbase.migration.nineteen.onelab.filter.Key
    The general behavior of a key that must be stored in a filter.
  • org.apache.hadoop.util.bloom.Key
    The general behavior of a key that must be stored in a filter. @see Filter The general behavior of a filter
  • org.apache.jackrabbit.core.nodetype.EffectiveNodeTypeCache.Key
  • org.apache.jackrabbit.oak.plugins.document.UpdateOp.Key
  • org.apache.jackrabbit.oak.plugins.mongomk.UpdateOp.Key
  • org.apache.olingo.odata2.api.edm.provider.Key
    Objects of this class represent a key for an entity type
  • org.apache.tuscany.das.rdb.Key
    A key instance is used to describe a Table key definition. This is used primarily for compound keys since simple keys are described with a name.
  • org.apache.wicket.protocol.http.mock.Cookies.Key
  • org.apache.wicket.request.resource.ResourceReference.Key
  • org.apache.xerces.validators.schema.identity.Key
    Schema key identity constraint. @author Andy Clark, IBM @version $Id: Key.java,v 1.3 2001/02/20 06:12:28 andyc Exp $
  • org.apache.xindice.core.data.Key
    Key extends Value by providing a hash value for the Key.
  • org.ardverk.dht.rsrc.Key
    A {@link Key} is an unique identifier of a {@link Value}.
  • org.chaidb.db.index.Key
    This interface defines different IDBIndex key types, and methods to compare two keys.
  • org.crosswire.jsword.passage.Key
  • org.cruxframework.crux.core.client.db.annotation.Store.Key
  • org.eclipse.php.internal.ui.preferences.util.Key
  • org.exolab.castor.xml.schema.Key
    A class that represents the XML Schema Identity Constraint: Key. @author Keith Visco @version $Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
  • org.filsa.nikujaga.pong.Keys.Key
  • org.hdiv.cipher.Key
    Stored Session related data in the cipher section @author Roberto Velasco
  • org.hibernate.ogm.grid.Key
    The key of an entity, association or row.

    Note that exposing the state of instances through arrays is a deliberate decision for the sake of performance. The contents of these arrays must not be modified by the caller. @author Gunnar Morling

  • org.hypertable.thriftgen.Key
  • org.infinispan.test.data.Key
  • org.jayasoft.woj.common.model.security.Key
  • org.jboss.aesh.terminal.Key
  • org.jboss.dna.graph.query.validate.Schemata.Key
  • org.jboss.remoting3.HandleableCloseable.Key
    The VersionedConnectionFactory to negotiate the version on the client side and return an appropriate VersionedConnection for the negotiated version.

    As the only entry point to this class is the create method and as that method creates a new instance for each call it is guaranteed there will not be concurrent negotiations occurring. @author Darran Lofthouse

  • org.jboss.repository.spi.Key
    @author Scott.Stark@jboss.org @version $Revision: 42147 $
  • org.jboss.shrinkwrap.resolver.impl.maven.archive.plugins.ConfigurationUtils.Key
  • org.jboss.test.hibernate.timers.interfaces.Key
    Example ejb key associated with a timer. @author Scott.Stark@jboss.org @version $Revision: 81036 $
  • org.jclouds.ibm.smartcloud.domain.Key
    The current state of a public or private key. @author Adrian Cole
  • org.jclouds.joyent.cloudapi.v6_5.domain.Key
    oyent.com/sdcapidoc/cloudapi/index.html#ListKeys" >docs
  • org.jf.dexlib2.writer.pool.ProtoPool.Key
  • org.jitterbit.crypto.pgp.Key
    Interface defining a public key for PGP encryption. @author Torgil Zethson @since 2.0.0
  • org.jitterbit.integration.client.ui.project.trashcan.InspectionUtils.Key
  • org.jnode.driver.input.Key
    @author Martin Husted Hartvig @since 0.1.6
  • org.kite9.diagram.adl.Key
  • org.kitesdk.data.Key

    A key for retrieving entities from a {@link RandomAccessDataset}.

    @since 0.9.0
  • org.modeshape.jcr.query.validate.Schemata.Key
  • org.mongodb.morphia.Key

    The key object; this class is take from the app-engine datastore (mostly) implementation. It is also Serializable and GWT-safe, enabling your entity objects to be used for GWT RPC should you so desire.

    You may use normal DBRef objects as relationships in your entities if you desire neither type safety nor GWT-ability.

    @author Jeff Schnitzer (from Objectify codebase) @author Scott Hernandez (adapted to morphia/mongodb)
  • org.nfctools.mf.classic.Key
  • org.objectstyle.wolips.eomodeler.core.kvc.Key
  • org.onelab.filter.Key
    The general behavior of a key that must be stored in a filter. @see org.onelab.filter.Filter The general behavior of a filter
  • org.openstreetmap.josm.gui.tagging.TaggingPresetItems.Key
  • org.quartz.utils.Key

    Object representing a job or trigger key.

    @author Jeffrey Wescott
  • org.raml.parser.annotation.Key
  • org.sdnplatform.sync.internal.store.Key
    Represent a key in the sync system. Keys consist of a namespace and a key name. Namespaces should be dot-separated such as "com.bigswitch.device" @author readams
  • org.ugate.resources.RS.KEY
  • org.woped.quantana.graph.Key
  • org.xdams.xw.utility.Key
    @author sandroPer modificare il modello associato al commento di questo tipo generato, aprire Finestra>Preferenze>Java>Generazione codice>Codice e commenti
  • railo.runtime.type.Collection.Key
  • se.unlogic.standardutils.dao.annotations.Key
  • sprites.io.Key
  • uk.org.ogsadai.config.Key
  • water.Key
    Keys This class defines: - A Key's bytes (name) & hash - Known Disk & memory replicas. - A cache of somewhat expensive to compute stuff related to the current Cloud, plus a byte of the desired replication factor. Keys are expected to be a high-count item, hence the care about size. Keys are *interned* in the local K/V store, a non-blocking hash set and are kept pointer equivalent (via the interning) for cheap compares. The interning only happens after a successful insert in the local H2O.STORE via H2O.put_if_later. @author @version 1.0
  • winterwell.utils.Key
    For doing type-safe multi-class maps. Can be sorted by key name. @see Properties @see IProperties @author daniel
  • xbird.storage.index.Key
    Key extends Value by providing a hash value for the Key.
    @author Makoto YUI (yuin405+xbird@gmail.com)

  • Examples of org.objectstyle.wolips.eomodeler.core.kvc.Key

      protected boolean _canModify(Object _element, String _property) throws Throwable {
        return true;
      }

      public Object getValue(Object _element, String _property) {
        Object value = new Key(_property).getValue(_element);
        return value;
      }
    View Full Code Here

    Examples of org.onelab.filter.Key

       * Custom bloom filter key maker.
       * @param key
       * @return Key made of bytes of row only.
       */
      protected static Key getBloomFilterKey(WritableComparable key) {
        return new Key(((HStoreKey) key).getRow());
      }
    View Full Code Here

    Examples of org.openstreetmap.josm.gui.tagging.TaggingPresetItems.Key

            for (TaggingPreset p : relationpresets) {
                boolean matches = true;
                Roles r = null;
                for (TaggingPresetItem i : p.data) {
                    if (i instanceof Key) {
                        Key k = (Key) i;
                        if (!k.value.equals(n.get(k.key))) {
                            matches = false;
                            break;
                        }
                    } else if (i instanceof Roles) {
    View Full Code Here

    Examples of org.quartz.utils.Key

                ArrayList list = new ArrayList();
                while (rs.next()) {
                    String triggerName = rs.getString(COL_TRIGGER_NAME);
                    String groupName = rs.getString(COL_TRIGGER_GROUP);
                    list.add(new Key(triggerName, groupName));
                }
                Object[] oArr = list.toArray();
                Key[] kArr = new Key[oArr.length];
                System.arraycopy(oArr, 0, kArr, 0, oArr.length);
                return kArr;
    View Full Code Here

    Examples of org.raml.parser.annotation.Key

        protected void processPojoAnnotations(Object pojo, Object keyFieldName, Object parent)
        {
            List<Field> declaredFields = ReflectionUtils.getInheritedFields(pojo.getClass());
            for (Field declaredField : declaredFields)
            {
                Key keyAnnotation = declaredField.getAnnotation(Key.class);
                Parent parentAnnotation = declaredField.getAnnotation(Parent.class);
                if (keyAnnotation != null)
                {
                    ReflectionUtils.setProperty(pojo, declaredField.getName(), keyFieldName);
                }
    View Full Code Here

    Examples of org.sdnplatform.sync.internal.store.Key

        @Test
        public void testBasicOneNode() throws Exception {
            AbstractSyncManager sync = syncManagers[0];
            IStoreClient<Key, TBean> testClient =
                    sync.getStoreClient("global", Key.class, TBean.class);
            Key k = new Key("com.bigswitch.bigsync.internal", "test");
            TBean tb = new TBean("hello", 42);
            TBean tb2 = new TBean("hello", 84);
            TBean tb3 = new TBean("hello", 126);
           
            assertNotNull(testClient.get(k));
    View Full Code Here

    Examples of org.ugate.resources.RS.KEY

          alert.getContent().add(new Label(headerText));
        }
        if (children != null && children.length > 0) {
          alert.getContent().addAll(children);
        } else {
          final KEY cbk = closeButtonKey != null ? closeButtonKey : KEY.CLOSE;
          final Button cb = ButtonBuilder.create().text(RS.rbLabel(cbk)).build();
          cb.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(final MouseEvent event) {
              alert.hide();
    View Full Code Here

    Examples of org.woped.quantana.graph.Key

        SimNode n = new SimNode(s.getid(), s.getname());
        n.settype(s.gettype());
        n.setTempRuns(l);
        s.incIteration();
        n.setIteration(s.getIteration());
        Key start = new Key(n.getid(), l);
        unfoldedNet.put(start, n);
        LinkedList<SimNodePair> queue = new LinkedList<SimNodePair>();
        queue.addLast(new SimNodePair(s, n));
        runThroughNet(queue);
      }
    View Full Code Here

    Examples of org.xdams.xw.utility.Key

                System.out.println(vocabolario_phrase);
                // result = xwconn.getFilteredKeys(vocabolario_phrase.replace('\'', '"'), alias, totResult, orientation, startParam,part);
                result = xwconn.getFilteredKeys(vocabolario_phrase.replace('\'', '"'), alias, totResult, orientation, startParam, 1, xwconn.getTotNumDoc(), "", "frequenze|spettrale");
                if (result.size() < totResult && orientation.equalsIgnoreCase("down") && multi) {
                  // System.out.println("ne devo prendere di pi�");
                  Key key = (Key) result.elementAt(result.size() - 1);
                  // Vector toAdd=xwconn.getFilteredKeys(vocabolario_phrase.replace('\'', '"'), alias, totResult-result.size(), "up", key.key.toString(),part);
                  Vector toAdd = xwconn.getFilteredKeys(vocabolario_phrase.replace('\'', '"'), alias, totResult - result.size(), "up", key.key.toString(), 1, xwconn.getTotNumDoc(), "", "frequenze|spettrale");
                  for (int i = 1; i < toAdd.size(); i++) {
                    result.addElement(toAdd.elementAt(i));
                  }
                }
              } else {
                System.out.println("STO IN SINGLEKEY QUANTOVALE startParam:" + startParam);
                result = xwconn.getSingleKeys(alias, totResult, orientation, startParam, part);
                if (result.size() < totResult && orientation.equalsIgnoreCase("down") && multi) {
                  // System.out.println("ne devo prendere di pi�");
                  Key key = (Key) result.elementAt(result.size() - 1);
                  // System.out.println("parto dalla chiave "+key.key.toString());
                  Vector toAdd = xwconn.getSingleKeys(alias, totResult - result.size(), "up", key.key.toString(), part);
                  // System.out.println("e ne aggiungo "+toAdd.size());
                  for (int i = 1; i < toAdd.size(); i++) {
                    result.addElement(toAdd.elementAt(i));
                  }
                }
              }
              totNum += xwconn.getTotNumDoc();

            } catch (Exception exception) {
            }
            if (result != null && result.size() != 0) {
              // System.out.println(theArch+" result.size() = "+result.size());
              for (int i = 0; i < result.size(); i++) {
                Key key = (Key) result.elementAt(i);
                originalList.add(key);
                // System.out.println(">>>>>>>>>>>> ="+key.key.toString());
                if (vocabolarioMap.get(key.toString()) != null) {
                  Key oldKey = (Key) vocabolarioMap.get(key.toString());
                  oldKey.frequence = oldKey.frequence + key.frequence;
                  vocabolarioMap.put(key.toString(), oldKey);
                } else {
                  vocabolarioMap.put(key.toString(), key);
                }
              }
            }
          }

          // for (Enumeration enumeration = vocabolarioMap.keys(); enumeration.hasMoreElements(); vocabolarioList.addElement(vocabolarioMap.get(enumeration.nextElement())))
          // ;

          for (Entry<String, Key> entry : vocabolarioMap.entrySet()) {
            vocabolarioList.add(vocabolarioMap.get(entry.getKey()));
          }
          List<String> newResult = new ArrayList<String>();
          // System.out.println("vocabolarioList.size() = "+vocabolarioList.size());
          for (int i = 0; i < vocabolarioList.size(); i++) {
            Key key = (Key) vocabolarioList.get(i);
            String keyFreq = key.key.toString() + "~" + Integer.toString(key.frequence);
            newResult.add(keyFreq);
          }
          String vocFirst = "";
          String vocLast = "";
          try {
            vocFirst = ((Key) originalList.get(0)).key.toString();
            vocLast = ((Key) originalList.get(originalList.size() - 1)).key.toString();
          } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
          }
          Object objs[] = newResult.toArray();
          // Arrays.sort(objs);
          // Arrays.sort(objs,Collator.getInstance(Locale.ITALIAN));
          Arrays.sort(objs, new XWComparator());
          // newResult.removeAllElements();
          newResult.clear();
          Map<String, Integer> summKeys = new TreeMap<String, Integer>();
          for (int i = 0; i < objs.length; i++) {
            String keyString = (String) objs[i];
            String sKey = keyString.substring(0, keyString.indexOf("~"));
            String sFrequence = keyString.substring(keyString.indexOf("~") + 1, keyString.length());
            int laFrequenza = Integer.parseInt(sFrequence);
            if (summKeys.get(sKey) != null) {
              summKeys.put(sKey, new Integer(((Integer) summKeys.get(sKey)).intValue() + laFrequenza));
            } else {
              summKeys.put(sKey, new Integer(laFrequenza));
            }
          }
          // String keyH;
          // for (Enumeration enumeration2 = summKeys.keys(); enumeration2.hasMoreElements(); newResult.add(keyH + "~" + ((Integer) summKeys.get(keyH)).toString()))
          // keyH = (String) enumeration2.nextElement();

          for (Entry<String, Integer> entry : summKeys.entrySet()) {
            String keyH = entry.getKey();
            newResult.add(keyH + "~" + ((Integer) summKeys.get(keyH)).toString());
          }
          objs = newResult.toArray();
          // Arrays.sort(objs);
          // Arrays.sort(objs,Collator.getInstance(Locale.ITALIAN));
          Arrays.sort(objs, new XWComparator());
          // newResult.removeAllElements();
          newResult.clear();

          List<Key> newResultKey = new ArrayList<Key>();
          // newResult = new ArrayList<String>();
          // System.out.println("objs.length = "+objs.length);
          if (orientation.equalsIgnoreCase("up") || !multi) {
            // System.out.println("avanti");
            for (int i = 0; i < objs.length; i++) {
              String keyString = (String) objs[i];
              String sKey = keyString.substring(0, keyString.indexOf("~"));
              String sFrequence = keyString.substring(keyString.indexOf("~") + 1, keyString.length());
              int laFrequenza = Integer.parseInt(sFrequence);
              Key key = new Key(sKey, laFrequenza);
              newResultKey.add(key);
              if (i == totResult - 1)
                break;
            }
          } else {

            if (objs.length >= totResult) {
              // System.out.println("indietro toto result"+totResult +" partendo da "+(objs.length-totResult));
              int start = 0;
              int end = objs.length;
              for (int i = 0; i < objs.length; i++) {
                String keyString = (String) objs[i];
                String sKey = keyString.substring(0, keyString.indexOf("~"));
                // System.out.println("sKey = |" + sKey +"| lo comparo con startParam = |"+ startParam+"|");
                if (sKey.trim().equalsIgnoreCase(startParam.trim())) {
                  end = i + 1;
                  if (i - totResult >= 0) {
                    start = i - (totResult - 1);
                  } else {
                    end = totResult;
                  }
                  // System.out.println("ok sono uguali sKey e startParam");
                  break;
                }
              }
              if (start < 0) {
                start = 0;
                end = start + totResult;
              }
              for (int i = start; i < end; i++) {
                // for(int i = objs.length-totResult; i < objs.length; i++){
                String keyString = (String) objs[i];
                String sKey = keyString.substring(0, keyString.indexOf("~"));
                System.out.println("le chiavi risultanti sono = " + sKey);
                String sFrequence = keyString.substring(keyString.indexOf("~") + 1, keyString.length());
                int laFrequenza = Integer.parseInt(sFrequence);
                Key key = new Key(sKey, laFrequenza);
                newResultKey.add(key);

              }
            }
    View Full Code Here

    Examples of railo.runtime.type.Collection.Key

    public class HashMapNullSensitive extends HashMap<Key, Object> {


      public Object gib(Key key) throws PageException {
        int hash = hash(key.hashCode());
        Key k;
        for (Entry<Key,Object> e = table[indexFor(hash, table.length)]; e != null; e = e.next) {
          if (e.hash == hash && ((k = e.key) == key || key.equalsIgnoreCase(k)))
            return e.value;
          }
          throw invalidKey(this,key);
    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.