Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for Hafner (0.2 sec)

  1. guava/src/com/google/common/base/Joiner.java

       */
      public MapJoiner withKeyValueSeparator(String keyValueSeparator) {
        return new MapJoiner(this, keyValueSeparator);
      }
    
      /**
       * An object that joins map entries in the same manner as {@code Joiner} joins iterables and
       * arrays. Like {@code Joiner}, it is thread-safe and immutable.
       *
       * <p>In addition to operating on {@code Map} instances, {@code MapJoiner} can operate on {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

              + ")";
        }
      }
    
      /**
       * Returns a supplier that caches the instance supplied by the delegate and removes the cached
       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
       * value if the expiration time has not passed. After the expiration time, a new value is
       * retrieved, cached, and returned. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
       * Removes all of the mappings from this map. The map will be empty after this call returns.
       *
       * <p>This method is not atomic: the map may not be empty after returning if there were concurrent
       * writes.
       */
      public void clear() {
        map.clear();
      }
    
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
         * crc3 = int3
         *
         * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      int getSuccessor(int entryIndex) {
        return (entryIndex + 1 < size) ? entryIndex + 1 : -1;
      }
    
      /**
       * Updates the index an iterator is pointing to after a call to remove: returns the index of the
       * entry that should be looked at after a removal on indexRemoved, with indexBeforeRemove as the
       * index that *was* the next entry that would be looked at.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import static org.junit.Assert.fail;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import java.util.Optional;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Network} implementations defined in this
     * package.
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

    import static com.google.common.truth.TruthJUnit.assume;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing implementations of {@link Graph} interface. Graph instances
     * created for testing should have Integer node and String edge objects.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import java.util.concurrent.CyclicBarrier;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

    import java.util.Collections;
    import java.util.Optional;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Network} implementations defined in this package.
     */
    public abstract class AbstractStandardDirectedNetworkTest extends AbstractNetworkTest {
    
      @After
      public void validateSourceAndTarget() {
        for (Integer node : network.nodes()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top