Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for valueType (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        /**
         * Check if method is compatible with value type.
         */
        private boolean isMethodCompatible(Method method, Class<?> valueType) {
            if (valueType == null) {
                return true;
            }
            return method.getParameterTypes()[0].isAssignableFrom(valueType);
        }
    
        /**
         * Find field using cache for improved performance.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                Class<?> valueType;
                try {
                    valueType = getClassForImplementationHint(null, element, loader);
                } catch (final ComponentConfigurationException e) {
                    valueType = null;
                }
                helper.setProperty(bean, propertyName, valueType, element);
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

       *
       * @param keyType the key type
       * @param valueType the value type
       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(
          Class<K> keyType, Class<V> valueType) {
        return new EnumBiMap<>(keyType, valueType);
      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/EnumBiMap.java

       *
       * @param keyType the key type
       * @param valueType the value type
       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(
          Class<K> keyType, Class<V> valueType) {
        return new EnumBiMap<>(keyType, valueType);
      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. internal/s3select/jstream/decoder.go

    package jstream
    
    import (
    	"bytes"
    	"encoding/json"
    	"io"
    	"strconv"
    	"sync/atomic"
    	"unicode/utf16"
    )
    
    // ValueType - defines the type of each JSON value
    type ValueType int
    
    // Different types of JSON value
    const (
    	Unknown ValueType = iota
    	Null
    	String
    	Number
    	Boolean
    	Array
    	Object
    )
    
    // MetaValue wraps a decoded interface value with the document
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. internal/s3select/jstream/decoder_test.go

    	for mv = range decoder.Stream() {
    		if mv.Value != expected[counter].Value {
    			t.Fatalf("got %v, expected: %v", mv.Value, expected[counter])
    		}
    		if mv.ValueType != expected[counter].ValueType {
    			t.Fatalf("got %v value type, expected: %v value type", mv.ValueType, expected[counter].ValueType)
    		}
    		counter++
    		t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value)
    	}
    
    	if err := decoder.Err(); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
      }
    
      private static final class GenericArray<T> {
        final Type t = new TypeToken<T>(getClass()) {}.getType();
        final Type array = new TypeToken<T[]>(getClass()) {}.getType();
      }
    
      public void testGenericArrayType() {
        GenericArray<?> genericArray = new GenericArray<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
      }
    
      private static final class GenericArray<T> {
        final Type t = new TypeToken<T>(getClass()) {}.getType();
        final Type array = new TypeToken<T[]>(getClass()) {}.getType();
      }
    
      public void testGenericArrayType() {
        GenericArray<?> genericArray = new GenericArray<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    }
                    for (var bean : locator.get().locate(toGuiceKey(valueType))) {
                        if (isPlexusBean(bean)) {
                            Binding<?> b = new BindingToBeanEntry<>(valueType)
                                    .toBeanEntry(bean)
                                    .prioritize(bean.getRank());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top