Examples of values()


Examples of org.elasticsearch.index.field.data.ints.IntFieldData.values()

                    @Override public boolean get(int doc) throws IOException {
                        if (!fieldData.hasValue(doc)) {
                            return false;
                        }
                        if (fieldData.multiValued()) {
                            int[] values = fieldData.values(doc);
                            for (int value : values) {
                                if (value >= inclusiveLowerPoint && value <= inclusiveUpperPoint) {
                                    return true;
                                }
                            }
View Full Code Here

Examples of org.elasticsearch.index.field.data.longs.LongFieldData.values()

                    @Override public boolean get(int doc) throws IOException {
                        if (!fieldData.hasValue(doc)) {
                            return false;
                        }
                        if (fieldData.multiValued()) {
                            long[] values = fieldData.values(doc);
                            for (long value : values) {
                                if (value >= inclusiveLowerPoint && value <= inclusiveUpperPoint) {
                                    return true;
                                }
                            }
View Full Code Here

Examples of org.elasticsearch.index.field.data.shorts.ShortFieldData.values()

                    @Override public boolean get(int doc) throws IOException {
                        if (!fieldData.hasValue(doc)) {
                            return false;
                        }
                        if (fieldData.multiValued()) {
                            short[] values = fieldData.values(doc);
                            for (short value : values) {
                                if (value >= inclusiveLowerPoint && value <= inclusiveUpperPoint) {
                                    return true;
                                }
                            }
View Full Code Here

Examples of org.elasticsearch.search.SearchHitField.values()

            SearchHitField hitField = hitContext.hit().fields().get(scriptField.name());
            if (hitField == null) {
                hitField = new InternalSearchHitField(scriptField.name(), new ArrayList<Object>(2));
                hitContext.hit().fields().put(scriptField.name(), hitField);
            }
            hitField.values().add(value);
        }
    }
}
View Full Code Here

Examples of org.enhydra.shark.utilities.SequencedHashMap.values()

                if (toRemove.contains(me.getValue())) {
                    it.remove();
                }
            }

            choices.addAll(choiceMap.values());
        } else if (cbutton.getChoiceType() == ActivitySet.class) {
            WorkflowProcess wp = selectedGraph.getWorkflowProcess();
            choices = wp.getActivitySets().toElements();
        }
View Full Code Here

Examples of org.exoplatform.services.rest.impl.InputHeadersMap.values()

      {
      }

      try
      {
         um.values().clear();
         fail("UnsupportedOperationException should be thrown");
      }
      catch (UnsupportedOperationException e)
      {
      }
View Full Code Here

Examples of org.exoplatform.services.rest.resource.SubResourceLocatorMap.values()

      assertEquals("/b/c/d", i.next().getTemplate());
      assertEquals("/b/c/z", i.next().getTemplate());
      assertEquals("/b/c", i.next().getTemplate());
      assertEquals("/b/{c}", i.next().getTemplate());
      assertEquals("/b", i.next().getTemplate());
      Iterator<SubResourceLocatorDescriptor> i2 = locs.values().iterator();
      assertEquals("m3", i2.next().getMethod().getName());
      assertEquals("m1", i2.next().getMethod().getName());
      assertEquals("m4", i2.next().getMethod().getName());
      assertEquals("m2", i2.next().getMethod().getName());
      assertEquals("m0", i2.next().getMethod().getName());
View Full Code Here

Examples of org.exoplatform.services.rest.resource.SubResourceMethodMap.values()

      // Mapping resource path to resource.
      Map<String, org.exoplatform.services.rest.wadl.research.Resource> wadlSubResources =
         new HashMap<String, org.exoplatform.services.rest.wadl.research.Resource>();

      SubResourceMethodMap subresourceMethods = resourceDescriptor.getSubResourceMethods();
      for (ResourceMethodMap<SubResourceMethodDescriptor> rmm : subresourceMethods.values())
      {
         for (List<SubResourceMethodDescriptor> l : rmm.values())
         {
            for (SubResourceMethodDescriptor srmd : l)
            {
View Full Code Here

Examples of org.fusesource.hawtdb.internal.util.Ranges.values()

        pages.remove(page);
        if (pages.isEmpty()) {
            return Collections.emptyList();
        }

        return pages.values();
    }

    public T load(Paged paged, int page) {
        ExtentInputStream eis = new ExtentInputStream(paged, page);
        DataInputStream is = new DataInputStream(eis);
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl.values()

        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.values().iterator(); i.hasNext();) {
                AttributeType type = (AttributeType) i.next();
   
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(type);
                }
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.