Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for live (0.15 sec)

  1. 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)
  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/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)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

    import org.slf4j.LoggerFactory;
    
    /**
     * The concern of the project is provide runtime values based on the model.
     * <p>
     * The values in the model remain untouched but during the process of building a project notions like inheritance and
     * interpolation can be added. This allows to have an entity which is useful in a runtime while preserving the model so
     * that it can be marshalled and unmarshalled without being tainted by runtime requirements.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher javaIsoControl() {
        return JavaIsoControl.INSTANCE;
      }
    
      /**
       * Determines whether a character is invisible; that is, if its Unicode category is any of
       * SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL, FORMAT, SURROGATE, and
       * PRIVATE_USE according to ICU4J.
       *
       * <p>See also the Unicode Default_Ignorable_Code_Point property (available via ICU).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          @Override
          public void run() {
            thirdSignal.countDown();
            result.set(1, cache.getUnchecked(key));
            doneSignal.countDown();
          }
        }.start();
    
        // give the second get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        thirdSignal.await();
        Thread.yield();
    
        // Expand!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
       * refactored so that messageExpression is moved to a separate String-returning method.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              Arrays.sort(sortedKs, comparator);
              Object[] sortedValues = new Object[size];
    
              // We might, somehow, be able to reorder values in-place.  But it doesn't seem like
              // there's a way around creating the separate sortedKeys array, and if we're allocating
              // one array of size n, we might as well allocate two -- to say nothing of the allocation
              // done in Arrays.sort.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
        strings.remove("one");
        assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap);
        assertThat(map.entrySet())
            .containsExactly(
                mapEntry("five", 4), mapEntry("four", 4), mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top