Examples of values()


Examples of org.eclipse.jdt.core.dom.NormalAnnotation.values()

        realAnnos = ((ArrayInitializer)anno.getValue()).expressions();
     
    }
    else if (baseAnno.isNormalAnnotation()) {
      NormalAnnotation anno = (NormalAnnotation)baseAnno;
      for (MemberValuePair pair : (List<MemberValuePair>)anno.values()) {
        if (pair.getName().getIdentifier().equals("annos") && pair.getValue() instanceof ArrayInitializer) {
          realAnnos = ((ArrayInitializer) pair.getValue()).expressions();
          break;
        }
      }
View Full Code Here

Examples of org.eclipse.jdt.core.dom.SingleMemberAnnotation.values()

        realAnnos = ((ArrayInitializer)anno.getValue()).expressions();
     
    }
    else if (baseAnno.isNormalAnnotation()) {
      NormalAnnotation anno = (NormalAnnotation)baseAnno;
      for (MemberValuePair pair : (List<MemberValuePair>)anno.values()) {
        if (pair.getName().getIdentifier().equals("annos") && pair.getValue() instanceof ArrayInitializer) {
          realAnnos = ((ArrayInitializer) pair.getValue()).expressions();
          break;
        }
      }
View Full Code Here

Examples of org.eclipse.jetty.monitor.jmx.EventState.values()

       for (EventTrigger trigger : _triggers)
       {
           EventState subState = trigger.getState(timestamp);
           if (subState!=null)
           {
               state.addAll(subState.values());
           }
       }
      
       return state;
    }
View Full Code Here

Examples of org.eclipse.persistence.sessions.DatabaseRecord.values()

       
        if (mapping == null) {
          for (Iterator iterator = databaseRecords.iterator(); iterator.hasNext();){
                DatabaseRecord record = (DatabaseRecord)iterator.next();
               
                results.add(record.values().toArray());
          }
        } else {
          for (Iterator iterator = databaseRecords.iterator(); iterator.hasNext();){
              if (mapping.getResults().size()>1){
                  Object[] resultElement = new Object[mapping.getResults().size()];
View Full Code Here

Examples of org.eclipse.sapphire.PossibleValues.values()

        final TestElement item = TestElement.TYPE.instantiate();

        final PossibleValues possibleValuesAnnotation = TestElement.PROP_COLORS.getAnnotation( PossibleValues.class );
        assertNotNull( possibleValuesAnnotation );

        final String[] values = possibleValuesAnnotation.values();
        assertNotNull( values );

        final ContentProposalService contentProposalService = item.property( TestElement.PROP_COLORS ).service( ContentProposalService.class );
        assertNotNull( contentProposalService );
View Full Code Here

Examples of org.eclipse.sapphire.PossibleValuesService.values()

            assertValidationError( element.getDeclarativeReference(), "Could not resolve declarative reference \"d\"" );
           
            final PossibleValuesService possibleValuesService = element.getDeclarativeReference().service( PossibleValuesService.class );
           
            assertNotNull( possibleValuesService );
            assertEquals( set( "a", "b", "c" ), possibleValuesService.values() );
           
            final TestElement.Item d = element.getItemList1().insert();
            d.setName( "d" );
           
            assertEquals( set( "a", "b", "c", "d" ), possibleValuesService.values() );
View Full Code Here

Examples of org.elasticsearch.action.get.GetField.values()

                        // if fields are not empty, see if we got them in the response
                        for (Iterator<String> it = fields.iterator(); it.hasNext(); ) {
                            String field = it.next();
                            GetField getField = getResponse.field(field);
                            if (getField != null) {
                                for (Object value : getField.values()) {
                                    addMoreLikeThis(request, boolBuilder, getField.name(), value.toString());
                                }
                                it.remove();
                            }
                        }
View Full Code Here

Examples of org.elasticsearch.index.field.data.bytes.ByteFieldData.values()

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

Examples of org.elasticsearch.index.field.data.doubles.DoubleFieldData.values()

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

Examples of org.elasticsearch.index.field.data.floats.FloatFieldData.values()

                    @Override public boolean get(int doc) throws IOException {
                        if (!fieldData.hasValue(doc)) {
                            return false;
                        }
                        if (fieldData.multiValued()) {
                            float[] values = fieldData.values(doc);
                            for (float value : values) {
                                if (value >= inclusiveLowerPoint && value <= inclusiveUpperPoint) {
                                    return true;
                                }
                            }
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.