Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for initialize (0.17 sec)

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

            totalCount = laterCount = currentEntry.getCount();
          }
          laterCount--;
          canRemove = true;
          /*
           * requireNonNull is safe because laterCount starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getElement();
        }
    
        @Override
        public void remove() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                          throw new NoSuchFieldError("the Unsafe");
                        }
                      });
            } catch (PrivilegedActionException e) {
              throw new RuntimeException("Could not initialize intrinsics", e.getCause());
            }
          }
          try {
            Class<?> abstractFuture = AbstractFuture.class;
            WAITERS_OFFSET = unsafe.objectFieldOffset(abstractFuture.getDeclaredField("waiters"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

              element = entry.getElement();
              remaining = entry.getCount();
            }
            remaining--;
            /*
             * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize
             * `element` above. After that, we never clear it.
             */
            return requireNonNull(element);
          }
        };
      }
    
      @LazyInit @CheckForNull private transient ImmutableList<E> asList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       * use the {@code EnumMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @param map the map from which to initialize this {@code EnumMap}
       * @return a new {@code EnumMap} initialized with the mappings from {@code map}
       * @throws IllegalArgumentException if {@code m} is not an {@code EnumMap} instance and contains
       *     no mappings
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top