Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Live (0.16 sec)

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

          return null;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a view of the elements of {@code unfiltered} that satisfy a predicate. The returned
       * multiset is a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting multiset's iterators, and those of its {@code entrySet()} and {@code
    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/collect/Multimaps.java

        public void clear() {
          multimap.clear();
        }
      }
    
      /**
       * Returns a multimap containing the mappings in {@code unfiltered} whose keys satisfy a
       * predicate. The returned multimap is a live view of {@code unfiltered}; changes to one affect
       * the other.
       *
       * <p>The resulting multimap's views have iterators that don't support {@code remove()}, but all
    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)
  3. android/guava/src/com/google/common/collect/Maps.java

        if (comparator != null) { // can't use ? : because of javac bug 5080917
          return comparator;
        }
        return (Comparator<E>) Ordering.natural();
      }
    
      /**
       * Returns a live {@link Map} view whose keys are the contents of {@code set} and whose values are
       * computed on demand using {@code function}. To get an immutable <i>copy</i> instead, use {@link
       * #toMap(Iterable, Function)}.
       *
    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)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        node.thread = null; // mark as 'deleted'
        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("expected one element but was: <one, two, three, four, five>");
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5);
        assertMapEquals(
            ImmutableMap.of(
                "one", 1,
                "two", 2,
                "three", 3,
                "four", 4,
                "five", 5,
                "six", 6),
            "one",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top