Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 345 for Charmes (0.62 sec)

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

     *
     * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
     * strong references to the key and value, regardless of the type of references the cache may be
     * using.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class RemovalNotification<K, V>
        extends SimpleImmutableEntry<@Nullable K, @Nullable V> {
      private final RemovalCause cause;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    /**
     * GWT emulated version of LongAdder.
     *
     * @author Charles Fry
     */
    class LongAdder implements LongAddable {
    
      private long value;
    
      public void increment() {
        value++;
      }
    
      public void add(long x) {
        value += x;
      }
    
      public long sum() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 914 bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * their default implementations. When those implementations invoke methods, they invoke methods on
     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V>
        implements ConcurrentMap<K, V> {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/RemovalCause.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * their default implementations. When those implementations invoke methods, they invoke methods on
     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V>
        implements ConcurrentMap<K, V> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/RemovalNotification.java

     *
     * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
     * strong references to the key and value, regardless of the type of references the cache may be
     * using.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class RemovalNotification<K, V>
        extends SimpleImmutableEntry<@Nullable K, @Nullable V> {
      private final RemovalCause cause;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Weigher.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Calculates the weights of cache entries.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingCache}.
     *
     * @author Charles Fry
     */
    public class ForwardingCacheTest extends TestCase {
      private Cache<String, Boolean> forward;
      private Cache<String, Boolean> mock;
    
      @SuppressWarnings({"unchecked", "DoNotMock"}) // mock
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link CacheLoader}.
     *
     * @author Charles Fry
     */
    public class CacheLoaderTest extends TestCase {
    
      private static class QueuingExecutor implements Executor {
        private final Deque<Runnable> tasks = Queues.newArrayDeque();
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 3.6K bytes
    - Viewed (0)
Back to top