Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for lives (0.27 sec)

  1. guava/src/com/google/common/collect/Iterators.java

       *
       * @see Collections#frequency
       */
      public static int frequency(Iterator<?> iterator, @CheckForNull Object element) {
        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return set1.contains(element) ^ set2.contains(element);
          }
        };
      }
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned set is a live
       * view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting set's iterator does not support {@code remove()}, but all other set methods
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * provided that the function is capable of accepting null input. The transformed multimap might
       * contain null values, if the function sometimes gives a null result.
       *
       * <p>The returned multimap is not thread-safe or serializable, even if the underlying multimap
       * is. The {@code equals} and {@code hashCode} methods of the returned multimap are meaningless,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void setValue(S segment, E entry, V value);
      }
    
      /**
       * An entry in a hash table of a {@link Segment}.
       *
       * <p>Entries in the map can be in the following states:
       *
       * <p>Valid: - Live: valid key/value are set
       *
       * <p>Invalid: - Collected: key/value was partially collected, but not yet cleaned up
       */
      interface InternalEntry<K, V, E extends InternalEntry<K, V, E>> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * a checked exception. This makes {@code Future} more suitable for lightweight, fast-running
       * tasks that, barring bugs in the code, will not fail. This gives it exception-handling behavior
       * similar to that of {@code ForkJoinTask.join}.
       *
       * <p>Exceptions from {@code Future.get} are treated as follows:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @see Collections#frequency
       */
      public static int frequency(Iterator<?> iterator, @CheckForNull Object element) {
        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top