Examples of keySet()


Examples of org.yinwang.yin.Scope.keySet()

                    return null;
                }
                Scope parentProps = ((RecordType) pv).properties;

                // check for duplicated keys
                for (String key : parentProps.keySet()) {
                    Value existing = properties.lookupLocalType(key);
                    if (existing != null) {
                        Util.abort(p, "conflicting field " + key +
                                " inherited from parent " + p + ": " + pv);
                        return null;

Examples of pdfdb.settings.ColumnSettingsManager.keySet()

     * @return A list of column states. */
    private List<ColumnState> getStates()
    {
        ColumnSettingsManager manager = ColumnSettingsManager.getInstance();
        List<ColumnState> stateList = new Vector<ColumnState>();
        for (String key : manager.keySet())
        {
            ColumnState state = manager.get(key);
            stateList.add(state);
        }
        Collections.sort(stateList);

Examples of phonetalks.entities.collections.CardIndex.keySet()

       
        index2.addCall("3300052", call3);
        index2.addCall("7555909", call2);
        index2.addCall("3494090", call1);
       
        for (Subscriber s : index2.keySet()) {
            PriorityQueue<SubscriberEntry> col = index2.get(s);
            for (SubscriberEntry se : col) {
                System.out.println(se.toString());
            }
        }

Examples of ptolemy.backtrack.util.java.util.Map.keySet()

        for (int i = 0; i < iteration; i++) {
            map.put(new Integer(i), new Integer(iteration - i));
        }

        long handle2 = map.$GET$CHECKPOINT().createCheckpoint();
        map.keySet().clear();
        map.$GET$CHECKPOINT().rollback(handle2, true);
        System.out.println(map);

        // Test entrySet() and clear() of the entry set.
        for (int i = 0; i < iteration; i++) {

Examples of quickml.data.PredictionMap.keySet()

    public Serializable getClassificationByMaxProb(AttributesMap attributes) {
        PredictionMap predictions = predict(attributes);
        Serializable mostProbableClass = null;
        double probabilityOfMostProbableClass = 0;
        for (Serializable key : predictions.keySet()) {
            if (predictions.get(key).doubleValue() > probabilityOfMostProbableClass) {
                mostProbableClass = key;
                probabilityOfMostProbableClass = predictions.get(key).doubleValue();
            }
        }

Examples of restx.build.org.json.JSONObject.keySet()

            String packaging = jsonObject.has("packaging") ? jsonObject.getString("packaging") : "jar";

            Map<String, String> properties = new LinkedHashMap<>();
            if (jsonObject.has("properties")) {
                JSONObject props = jsonObject.getJSONObject("properties");
                for (Object o : props.keySet()) {
                    String p = (String) o;

                    if (p.equals("maven.compiler.target") || p.equals("maven.compiler.source")) {
                        properties.put("java.version", String.valueOf(props.get(p)));
                    } else {

Examples of tests.resources.subfolder.tests.resources.hyts_resource_fr_FR.keySet()

        assertEquals(4, set.size());
        assertTrue(set.contains("subChild1"));
        assertTrue(set.contains("subChild2"));
        assertTrue(set.contains("subParent3"));
        assertTrue(set.contains("subParent4"));
        set = bundle.keySet();
        assertEquals(6, set.size());
        assertTrue(set.contains("subChild1"));
        assertTrue(set.contains("subChild2"));
        assertTrue(set.contains("subParent1"));
        assertTrue(set.contains("subParent2"));
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.