Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 405 for Younis (0.27 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EnumMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        int index = e.ordinal();
        int oldCount = counts[index];
        if (oldCount == 0) {
          return 0;
        } else if (oldCount <= occurrences) {
          counts[index] = 0;
          distinctElements--;
          size -= oldCount;
        } else {
          counts[index] = oldCount - occurrences;
          size -= occurrences;
        }
        return oldCount;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
      private final long k0;
      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeVisitor.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Based on what a {@link Type} is, dispatch it to the corresponding {@code visit*} method. By
     * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do
     * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For
     * example, this can be used to reject wildcards or type variables contained in a type as in:
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CountingOutputStream.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.FilterOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * An OutputStream that counts the number of bytes written.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CountingOutputStream extends FilterOutputStream {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
        }
      }
    
      /**
       * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides
       * access to the most-recently received one.
       */
      static class CountingRemovalListener<K, V> implements RemovalListener<K, V> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestSetMultimapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    
    /**
     * A generator for {@code SetMultimap} implementations based on test data.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public interface TestSetMultimapGenerator<K, V>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 29 12:09:19 GMT 2016
    - 990 bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CountTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top