Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isActive (0.18 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public boolean isLoading() {
          return true;
        }
    
        @Override
        public boolean isActive() {
          return oldValue.isActive();
        }
    
        @Override
        public int getWeight() {
          return oldValue.getWeight();
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

          this.oldValue = oldValue;
        }
    
        @Override
        public boolean isLoading() {
          return true;
        }
    
        @Override
        public boolean isActive() {
          return oldValue.isActive();
        }
    
        @Override
        public int getWeight() {
          return oldValue.getWeight();
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashFunction.java

       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
       */
      Hasher newHasher();
    
      /**
       * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expected
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        T[] result = newArray(arrayOfType, to - from);
        System.arraycopy(source, from, result, 0, to - from);
        return result;
      }
    
      // TODO(user): Move this logic to a utility class.
      @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL)
      private interface NativeArray {
        @JsProperty
        void setLength(int length);
      }
    
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

      public final boolean isAbstract() {
        return Modifier.isAbstract(getModifiers());
      }
    
      /** Returns true if the element is native. */
      public final boolean isNative() {
        return Modifier.isNative(getModifiers());
      }
    
      /** Returns true if the method is synchronized. */
      public final boolean isSynchronized() {
        return Modifier.isSynchronized(getModifiers());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
        assertTrue(invokable.isNative());
        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
          return get();
        }
    
        @Override
        public void notifyNewValue(V newValue) {}
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
          return get();
        }
    
        @Override
        public void notifyNewValue(V newValue) {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

        return string || "";
      }-*/;
    
      @JsMethod
      static native String emptyToNull(@Nullable String string) /*-{
        return string || null;
      }-*/;
    
      @JsType(isNative = true, name = "number", namespace = GLOBAL)
      private interface Number {
        double toPrecision(int precision);
      }
    
      static CommonPattern compilePattern(String pattern) {
        throw new UnsupportedOperationException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Service.java

       * {@code A -> B}.
       *
       * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State})
       */
      enum State {
        /** A service in this state is inactive. It does minimal work and consumes minimal resources. */
        NEW,
    
        /** A service in this state is transitioning to {@link #RUNNING}. */
        STARTING,
    
        /** A service in this state is operational. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top