Examples of values()


Examples of org.geotools.parameter.ParameterGroup.values()

     * @throws IOException
     */
    protected GridCoverage loadCoverage() throws IOException {
        AbstractGridCoverage2DReader reader = this.service(new NullProgressMonitor()).getReader(null);
        ParameterGroup pvg = getReadParameters();
        List<GeneralParameterValue> list = pvg.values();
        GeneralParameterValue[] values = list.toArray(new GeneralParameterValue[0]);
        GridCoverage gridCoverage = reader.read(values);
        return gridCoverage;
    }

View Full Code Here

Examples of org.grouplens.lenskit.vectors.MutableSparseVector.values()

    public void testScoreVector() {
        ItemScorer pred = new ConstantItemScorer(5);
        MutableSparseVector v = MutableSparseVector.create(1, 2, 3, 5, 7);
        pred.score(42, v);
        assertThat(v.keySet(), contains(1L, 2L, 3L, 5L, 7L));
        assertThat(v.values(), everyItem(equalTo(5.0)));
    }
}
View Full Code Here

Examples of org.grouplens.lenskit.vectors.SparseVector.values()

    @Test
    public void testScoreSet() {
        ItemScorer pred = new ConstantItemScorer(5);
        SparseVector v = pred.score(42, LongUtils.packedSet(1, 2, 3, 5, 7));
        assertThat(v.keySet(), contains(1L, 2L, 3L, 5L, 7L));
        assertThat(v.values(), everyItem(equalTo(5.0)));
    }

    @Test
    public void testScoreVector() {
        ItemScorer pred = new ConstantItemScorer(5);
View Full Code Here

Examples of org.hibernate.annotations.Tables.values()

            matchingTable = current;
            break;
          }
        }
        //JBPAPP-4716
        for (org.hibernate.annotations.Table current : tables.values()) {
          if ( tableName.equals( current.appliesTo() ) ) {
            matchingTable = current;
            break;
          }
        }
View Full Code Here

Examples of org.hibernate.ogm.grid.impl.RowKeyBuilder.values()

    }

    RowKeyAndTuple result = new RowKeyAndTuple();
    EntityKey entityKey = associationPersister.createTargetKey( rowKeyBuilder.getColumnNames(), tuple );
    result.key = rowKeyBuilder.values( tuple ).entityKey( entityKey ).build();

    Tuple assocEntryTuple = associationPersister.createAndPutAssociationTuple( result.key );
    for ( String column : tuple.getColumnNames() ) {
      assocEntryTuple.put( column, tuple.get( column ) );
    }
View Full Code Here

Examples of org.hibernate.ogm.model.impl.RowKeyBuilder.values()

    // columns of referenced key
    final Object element = collection.getElement( entry );
    getElementGridType().nullSafeSet( associationRow, element, getElementColumnNames(), session );

    RowKeyAndTuple result = new RowKeyAndTuple();
    result.key = rowKeyBuilder.values( associationRow ).build();
    result.tuple = associationRow;

    associationPersister.getAssociation().put( result.key, result.tuple );

    return result;
View Full Code Here

Examples of org.hsqldb.lib.HashMappedList.values()

                continue;
            }

            HashMappedList current = getTables(name);

            alltables.addAll(current.values());
        }

        return alltables;
    }
View Full Code Here

Examples of org.hsqldb_voltpatches.lib.HashMappedList.values()

        while (schemas.hasNext()) {
            String         name    = (String) schemas.next();
            HashMappedList current = getTables(name);

            alltables.addAll(current.values());
        }

        return alltables;
    }
View Full Code Here

Examples of org.infinispan.Cache.values()

     
      Set keys = cache2.keySet();
      for (Object key : keys) assert expKeys.remove(key);
      assert expKeys.isEmpty() : "Did not see keys " + expKeys + " in iterator!";
     
      Collection values = cache2.values();
      for (Object key : values) assert expValues.remove(key);
      assert expValues.isEmpty() : "Did not see keys " + expValues + " in iterator!";
     
      Set<Map.Entry> entries = cache2.entrySet();
      for (Map.Entry entry : entries) {
View Full Code Here

Examples of org.infinispan.commons.equivalence.EquivalentLinkedHashMap.values()

      map.put("k1","v1");
      map.put("k2","v2");
      map.put("k3","v3");

      Collection values = map.values();
      Iterator iterator = values.iterator();
      assertTrue(iterator.hasNext());
      assertEquals("v1",iterator.next());
      assertTrue(iterator.hasNext());
      assertEquals("v2",iterator.next());
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.