Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 127 for modifiable (0.15 seconds)

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

       * serializable.
       *
       * <p><b>Java 8+ users and later:</b> Prefer {@link Collections#unmodifiableNavigableSet}.
       *
       * @param set the navigable set for which an unmodifiable view is to be returned
       * @return an unmodifiable view of the specified navigable set
       * @since 12.0
       */
      public static <E extends @Nullable Object> NavigableSet<E> unmodifiableNavigableSet(
          NavigableSet<E> set) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Sets.java

       * serializable.
       *
       * <p><b>Java 8+ users and later:</b> Prefer {@link Collections#unmodifiableNavigableSet}.
       *
       * @param set the navigable set for which an unmodifiable view is to be returned
       * @return an unmodifiable view of the specified navigable set
       * @since 12.0
       */
      public static <E extends @Nullable Object> NavigableSet<E> unmodifiableNavigableSet(
          NavigableSet<E> set) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        long addressAsLong = 0;
        if (hasEmbeddedIPv4ClientAddress(ip6)) {
          addressAsLong = getEmbeddedIPv4ClientAddress(ip6).hashCode();
        } else {
          // Just extract the high 64 bits (assuming the rest is user-modifiable).
          addressAsLong = ByteBuffer.wrap(ip6.getAddress(), 0, 8).getLong();
        }
    
        // Many strategies for hashing are possible. This might suffice for now.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testSkip_iterator() throws Exception {
        new IteratorTester<Integer>(
            5,
            IteratorFeature.MODIFIABLE,
            Lists.newArrayList(2, 3),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private <T extends Comparable<T>> void runIterator(List<T> values, int steps) throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                new LinkedList<>(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private <T extends Comparable<T>> void runIterator(List<T> values, int steps) throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                new LinkedList<>(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top