Examples of key()


Examples of de.danet.an.workflow.omgcore.WfActivity.key()

        Map res = new TreeMap ();
        res.put ("", "processEvents");
        res.put("*", "allEvents");
        for (Iterator i = process().steps().iterator(); i.hasNext();) {
            WfActivity act = (WfActivity)i.next();
            res.put(act.key() + " | " + act.name(), act.key());
        }
        return res;
    }

    /**
 
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfProcess.key()

    /* Comment copied from interface. */
    public boolean isMemberOfPerformers(WfProcess wfProcess)
  throws RemoteException {
  for (Iterator ps = performers().iterator(); ps.hasNext();) {
      WfProcess p = (WfProcess)ps.next();
      if (p.key().equals (wfProcess.key())) {
    return true;
      }
  }
  return false;
    }
View Full Code Here

Examples of de.fhg.igd.mongomvcc.helper.IdMapIterator.key()

    for (Map.Entry<String, IdMap> e : commit.getObjects().entrySet()) {
      DBObject co = new BasicDBObject();
      IdMapIterator it = e.getValue().iterator();
      while (it.hasNext()) {
        it.advance();
        co.put(String.valueOf(it.key()), it.value());
      }
      objs.put(e.getKey(), co);
    }
    o.put(OBJECTS, objs);
    _commits.insert(o);
View Full Code Here

Examples of edu.ucla.sspace.util.primitive.IntIterator.key()

        }
        else {
            TIntObjectIterator<BitSet> iter = edges.iterator();
            while (iter.hasNext()) {
                iter.advance();
                int v = iter.key();
                if (vertices.contains(v)) {
                    BitSet b = iter.value();
                    BitSet b2 = new BitSet();
                    b2.or(b);
                    copy.edges.put(v, b2);
View Full Code Here

Examples of er.extensions.foundation.ERXKeyValuePair.key()

    public ERXKeyValuePair selectedElement() {
        Object value = objectPropertyValue();
        ERXKeyValuePair selectedElement = null;
        for(Enumeration e = availableElements().objectEnumerator(); e.hasMoreElements() && selectedElement == null;) {
            ERXKeyValuePair current = (ERXKeyValuePair) e.nextElement();
            if(current.key().equals(value)) {
                selectedElement = current;
            }
        }
        return selectedElement;
    }
View Full Code Here

Examples of gnu.trove.TObjectDoubleIterator.key()

    TObjectDoubleIterator nIter = neighbors_.iterator();
    while (nIter.hasNext()) {
      nIter.advance();
      totalNeighWeight += this.GetContinuationProbability() * nIter.value();
     
      Vertex2 neigh = g._vertices.get(nIter.key());
      totalNeighWeight += neigh.GetContinuationProbability() *
        neigh.GetNeighborWeight(this.GetName());
    }
   
    // mu1 x p^{inj} + 0.5 * mu2 x \sum_j (p_{i}^{cont} W_{ij} + p_{j}^{cont} W_{ji}) + mu3
View Full Code Here

Examples of gnu.trove.TObjectFloatIterator.key()

      ArrayList<ObjectDoublePair> lsps = new ArrayList<ObjectDoublePair>();

      TObjectFloatIterator mi = m.iterator();
      while (mi.hasNext()) {
        mi.advance();
        lsps.add(new ObjectDoublePair(mi.key(), mi.value()));
      }

      ObjectDoublePairComparator lspComparator = new ObjectDoublePairComparator();
      Collections.sort(lsps, lspComparator);
View Full Code Here

Examples of gnu.trove.TObjectIntIterator.key()

    List<String> newPredNames = new ArrayList<String>();
   
    TObjectIntIterator iterator = map.iterator();
    while(iterator.hasNext()) {
      iterator.advance();
      String predName = (String)iterator.key();
      int index = map.get(predName);
      Context context = params[index];
      boolean goodPredName = true;
      if(featuresToRemove != null && featuresToRemove.contains(predName)) goodPredName = false;
      for(String prefix : prefixesToRemove) {
View Full Code Here

Examples of gnu.trove.iterator.TByteByteIterator.key()

    for( int i = 0; i < ITERATIONS_BYTE; i++ ) {
      TByteByteIterator iterator = byte_t_primitive_map.iterator();
      while( iterator.hasNext() ) {
        iterator.advance();
        total += iterator.key();
      }
    }

    int_slot.set( total );
  }
View Full Code Here

Examples of gnu.trove.iterator.TByteObjectIterator.key()

        }
        try {
            TByteObjectIterator iter = this.iterator();
            while ( iter.hasNext() ) {
                iter.advance();
                byte key = iter.key();
                Object value = iter.value();
                if ( value == null ) {
                    if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                        return false;
                    }
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.