Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for inner2 (0.05 sec)

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

              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        },
        StrongInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newStrongInterner();
            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        },
        StrongInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newStrongInterner();
            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

              mapEntry("two", collectionOf(-2000)),
              mapEntry("three", collectionOf(300)),
              mapEntry("four", collectionOf(-40)),
              mapEntry("five", collectionOf(5)));
        }
    
        // javac7 can't infer the type parameters correctly in samples()
        private static Collection<Integer> collectionOf(int item) {
          return ImmutableSet.of(item);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Lists.java

       * c, d, e]} with a partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer list
       * containing two inner lists of three and two elements, all in the original order.
       *
       * <p>The outer list is unmodifiable, but reflects the latest state of the source list. The inner
       * lists are sublist views of the original list, produced on demand using {@link List#subList(int,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       * smaller). For example, partitioning an iterator containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
        assertIntact(mmHeap);
        assertEquals(heapSize, mmHeap.size());
        int currentHeapSize = heapSize;
        for (int i = 0; i < numberOfModifications; i++) {
          if (random.nextBoolean()) {
            /* insert a new element */
            int randomInt = random.nextInt();
            mmHeap.offer(randomInt);
            insertIntoReplica(replica, randomInt);
            currentHeapSize++;
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top