Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for copyFor (0.58 sec)

  1. android/guava/src/com/google/common/collect/CartesianList.java

        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

          bufferSize = k;
          threshold = buffer[k - 1];
        }
        // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
        T[] topK = Arrays.copyOf(castBuffer, bufferSize);
        // we have to support null elements, so no ImmutableList for us
        return unmodifiableList(asList(topK));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
        @Keep
        public Type[] getBounds() {
          return toArray(bounds);
        }
    
        @Keep
        public D getGenericDeclaration() {
          return genericDeclaration;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

          checkNotNull(contextType);
          TypeMappingIntrospector introspector = new TypeMappingIntrospector();
          introspector.visit(contextType);
          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
          visit(clazz.getGenericSuperclass());
          visit(clazz.getGenericInterfaces());
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
        @Keep
        public Type[] getBounds() {
          return toArray(bounds);
        }
    
        @Keep
        public D getGenericDeclaration() {
          return genericDeclaration;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

          checkNotNull(contextType);
          TypeMappingIntrospector introspector = new TypeMappingIntrospector();
          introspector.visit(contextType);
          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
          visit(clazz.getGenericSuperclass());
          visit(clazz.getGenericInterfaces());
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        }
      }
    
      // For Guava bug https://github.com/google/guava/issues/1025
      public void testDespiteGenericSignatureFormatError() {
        ImmutableSet<?> unused =
            ImmutableSet.copyOf(
                TypeToken.of(ToReproduceGenericSignatureFormatError.SubOuter.SubInner.class)
                    .getTypes()
                    .rawTypes());
      }
    
      private abstract static class Entry<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        }
      }
    
      // For Guava bug https://github.com/google/guava/issues/1025
      public void testDespiteGenericSignatureFormatError() {
        ImmutableSet<?> unused =
            ImmutableSet.copyOf(
                TypeToken.of(ToReproduceGenericSignatureFormatError.SubOuter.SubInner.class)
                    .getTypes()
                    .rawTypes());
      }
    
      private abstract static class Entry<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top