Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for halse (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TreeBasedTableRowMapSubMapTest extends RowMapTests {
      public TreeBasedTableRowMapSubMapTest() {
        super(false, true, true, true);
      }
    
      @Override
      TreeBasedTable<String, Integer, Character> makeTable() {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("a", 1, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
      private void expectThrows(Target target) {
        try {
          collection.retainAll(target.toRetain);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

        expectAdded(e3(), e4());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedAllPresent() {
        assertFalse("add(allPresent) should return false", getSet().addAll(MinimalCollection.of(e0())));
        expectUnchanged();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.put(key, hash, oldValue, false));
        assertEquals(1, segment.count);
    
        // same key
        assertSame(oldValue, segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.put(key, hash, oldValue, false));
        assertEquals(1, segment.count);
    
        // same key
        assertSame(oldValue, segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        extends MapInterfaceTest<String, Collection<Integer>> {
    
      public AbstractMultimapAsMapImplementsMapTest(
          boolean modifiable, boolean allowsNulls, boolean supportsIteratorRemove) {
        super(allowsNulls, allowsNulls, false, modifiable, modifiable, supportsIteratorRemove);
      }
    
      protected void populate(Multimap<String, Integer> multimap) {
        multimap.put("one", 1);
        multimap.put("two", 2);
        multimap.put("two", 22);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

          @CheckForNull Entry<E> prevEntry;
    
          @Override
          public boolean hasNext() {
            if (current == null) {
              return false;
            } else if (range.tooHigh(current.getElement())) {
              current = null;
              return false;
            } else {
              return true;
            }
          }
    
          @Override
          public Entry<E> next() {
            if (!hasNext()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

          // Look up n within the mask.
          return ((mask >> ((int) n - 2)) & 1) != 0;
        }
    
        if ((SIEVE_30 & (1 << (n % 30))) != 0) {
          return false;
        }
        if (n % 7 == 0 || n % 11 == 0 || n % 13 == 0) {
          return false;
        }
        if (n < 17 * 17) {
          return true;
        }
    
        for (long[] baseSet : millerRabinBaseSets) {
          if (n <= baseSet[0]) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Comparators.java

        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is <i>strictly</i>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top