Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,460 for myobject (0.18 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

          valueHolder.name = checkNotNull(name);
          return this;
        }
    
        // Holder object for values that might be null and/or empty.
        static class ValueHolder {
          @CheckForNull String name;
          @CheckForNull Object value;
          @CheckForNull ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/MoreObjects.java

          valueHolder.name = checkNotNull(name);
          return this;
        }
    
        // Holder object for values that might be null and/or empty.
        static class ValueHolder {
          @CheckForNull String name;
          @CheckForNull Object value;
          @CheckForNull ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

      }
    
      public void testGetUnchecked_unchecked() {
        final RuntimeException cause = new RuntimeException();
        final AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

        },
        COPY_OF_ENTRIES {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            return ImmutableBiMap.copyOf(entries);
          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            ImmutableBiMap.Builder<Object, Object> builder = ImmutableBiMap.builder();
            for (Entry<?, ?> entry : entries) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CountingRemovalListener<Object, Object> listener = countingRemovalListener();
        LoadingCache<Object, Object> nullCache =
            CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader());
        assertEquals(0, nullCache.size());
        Object key = new Object();
        assertSame(key, nullCache.getUnchecked(key));
        assertEquals(1, listener.getCount());
        assertEquals(0, nullCache.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetFloodingTest.java

      enum ConstructionPathway implements Construction<Set<Object>> {
        OF {
          @Override
          public ImmutableSet<Object> create(List<?> list) {
            Object o1 = list.get(0);
            Object o2 = list.get(1);
            Object o3 = list.get(2);
            Object o4 = list.get(3);
            Object o5 = list.get(4);
            Object o6 = list.get(5);
            Object[] rest = list.subList(6, list.size()).toArray();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

        if (length == 0) {
          return new Object[0];
        }
        @Nullable Object[] result = new Object[length];
        System.arraycopy(elements, offset, result, 0, length);
        return result;
      }
    
      @CanIgnoreReturnValue
      private static @Nullable Object[] fillArray(Iterable<?> elements, @Nullable Object[] array) {
        int i = 0;
        for (Object element : elements) {
          array[i++] = element;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/QueuesTest.java

       */
    
      public static List<BlockingQueue<Object>> blockingQueues() {
        return ImmutableList.<BlockingQueue<Object>>of(
            new LinkedBlockingQueue<Object>(),
            new LinkedBlockingQueue<Object>(10),
            new SynchronousQueue<Object>(),
            new ArrayBlockingQueue<Object>(10),
            new LinkedBlockingDeque<Object>(),
            new LinkedBlockingDeque<Object>(10),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

       */
      public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) {
        return new FunctionComposition<>(g, f);
      }
    
      private static class FunctionComposition<
              A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          implements Function<A, C>, Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

                refreshes,
                keyStrengths,
                valueStrengths);
        return Iterables.transform(
            combinations,
            new Function<List<Object>, CacheBuilder<Object, Object>>() {
              @Override
              public CacheBuilder<Object, Object> apply(List<Object> combination) {
                return createCacheBuilder(
                    (Integer) combination.get(0),
                    (Integer) combination.get(1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top