Examples of values()


Examples of com.foundationdb.qp.row.ValuesHolderRow.values()

                    assert next.rowType() == bufferRowType;
                    // Common case coming out of default Sorters
                    if(next instanceof ValuesHolderRow) {
                        ValuesHolderRow valuesRow = (ValuesHolderRow)next;
                        RowType realRowType = bufferRowType.second();
                        List<Value> values = valuesRow.values();
                        next = new ValuesHolderRow(realRowType, values.subList(1, realRowType.nFields() + 1));
                    } else if(next instanceof CompoundRow) {
                        next = ((CompoundRow)next).subRow(bufferRowType.second());
                    } else {
                        throw new IllegalStateException("Unexpected Row: " + next.getClass());
View Full Code Here

Examples of com.hazelcast.com.eclipsesource.json.JsonArray.values()

        time = getLong(json, "time");
        master = getBoolean(json, "master");
        clusterName = getString(json, "clusterName");
        instanceNames = new HashSet<String>();
        final JsonArray jsonInstanceNames = getArray(json, "instanceNames");
        for (JsonValue instanceName : jsonInstanceNames.values()) {
            instanceNames.add(instanceName.asString());
        }
        memberList = new ArrayList<String>();
        final JsonArray jsonMemberList = getArray(json, "memberList");
        for (JsonValue member : jsonMemberList.values()) {
View Full Code Here

Examples of com.hazelcast.core.IMap.values()

                            stats.increment("containsValue");
                        } else if (operation < 6) {
                            map.putIfAbsent(key, createValue());
                            stats.increment("putIfAbsent");
                        } else if (operation < 7) {
                            Collection col = map.values();
                            for (Object o : col) {
                                int i = 0;
                            }
                            stats.increment("values");
                        } else if (operation < 8) {
View Full Code Here

Examples of com.hazelcast.core.MultiMap.values()

    }

    @Test
    public void testValues_whenEmptyCollection() {
        final MultiMap mm = client.getMultiMap(randomString());
        assertEquals(Collections.EMPTY_LIST, mm.values());
    }

    @Test
    public void testKeyValues() {
        final int maxKeys = 31;
View Full Code Here

Examples of com.hazelcast.core.TransactionalMap.values()

            case KEYSET:
                return getMapKeySet(map.keySet());
            case KEYSET_BY_PREDICATE:
                return getMapKeySet(map.keySet(getPredicate()));
            case VALUES:
                return getMapValueCollection(map.values());
            case VALUES_BY_PREDICATE:
                return getMapValueCollection(map.values(getPredicate()));

        }
        return null;
View Full Code Here

Examples of com.hazelcast.multimap.MultiMapContainer.values()

    }

    public void run() throws Exception {
        MultiMapContainer container = getOrCreateContainer();
        ((MultiMapService) getService()).getLocalMultiMapStatsImpl(name).incrementOtherOperations();
        response = new MultiMapResponse(container.values());
    }

    public int getId() {
        return MultiMapDataSerializerHook.VALUES;
    }
View Full Code Here

Examples of com.hazelcast.multimap.impl.MultiMapContainer.values()

    }

    public void run() throws Exception {
        MultiMapContainer container = getOrCreateContainer();
        ((MultiMapService) getService()).getLocalMultiMapStatsImpl(name).incrementOtherOperations();
        response = new MultiMapResponse(container.values(), getValueCollectionType(container));
    }

    public int getId() {
        return MultiMapDataSerializerHook.VALUES;
    }
View Full Code Here

Examples of com.hazelcast.replicatedmap.impl.record.ReplicatedRecordStore.values()

    @Override
    public Object call()
            throws Exception {
        ReplicatedRecordStore recordStore = getReplicatedRecordStore();
        return new ReplicatedMapValueCollection(recordStore.values());
    }

    @Override
    public int getClassId() {
        return ReplicatedMapPortableHook.VALUES;
View Full Code Here

Examples of com.hazelcast.replicatedmap.record.ReplicatedRecordStore.values()

    @Override
    public Object call()
            throws Exception {
        ReplicatedRecordStore recordStore = getReplicatedRecordStore();
        return new ReplicatedMapValueCollection(recordStore.values());
    }

    @Override
    public int getClassId() {
        return ReplicatedMapPortableHook.VALUES;
View Full Code Here

Examples of com.itstherules.mediacentre.model.RecursiveItemsList.values()

  private static final String MOVIES = "movies";

  @Override
  public void list(Map<String, Object> parameters, HttpServletResponse response) throws IOException {
    RecursiveItemsList model = new RecursiveItemsList(MOVIES, Extension.flv.toString());
    parameters.put("items", model.values())
    parameters.put("parentDirectory", new ParentDirectoryFinder())
    merge("metadata/list.freemarker", parameters, response.getWriter());
  }
 
  @Override
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.