Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for bimaps (0.05 seconds)

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

      @J2ktIncompatible // Synchronized
      public void testSynchronizedBiMap() {
        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

      @J2ktIncompatible // Synchronized
      public void testSynchronizedBiMap() {
        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

          extends AbstractSet<T> {
        final HashBiMap<K, V> biMap;
    
        View(HashBiMap<K, V> biMap) {
          this.biMap = biMap;
        }
    
        @ParametricNullness
        abstract T forEntry(int entry);
    
        @Override
        public final Iterator<T> iterator() {
          return new Iterator<T>() {
            private int index = biMap.firstInInsertionOrder;
            private int indexToRemove = ABSENT;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Stopwatch;
    import com.google.common.base.Ticker;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ClassToInstanceMap;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableClassToInstanceMap;
    import com.google.common.collect.ImmutableCollection;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Stopwatch;
    import com.google.common.base.Ticker;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ClassToInstanceMap;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableClassToInstanceMap;
    import com.google.common.collect.ImmutableCollection;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Retrieves a list of files and directories from the storage system.
         *
         * @param prefix the path prefix to list objects under
         * @return list of file and directory information maps
         */
        public static List<Map<String, Object>> getFileItems(final String prefix) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final List<Map<String, Object>> list = new ArrayList<>();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/LinkedHashMultiset.java

        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private LinkedHashMultiset() {
        super(new LinkedHashMap<E, Count>());
      }
    
      private LinkedHashMultiset(int distinctElements) {
        super(Maps.newLinkedHashMapWithExpectedSize(distinctElements));
      }
    
      /**
       * @serialData the number of distinct elements, the first element, its count, the second element,
       *     its count, and so on
       */
      @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Serialization.java

    @GwtIncompatible
    @J2ktIncompatible
    final class Serialization {
      private Serialization() {}
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. doc/godebug.md

    ### Go 1.25
    
    Go 1.25 added a new `decoratemappings` setting that controls whether the Go
    runtime annotates OS anonymous memory mappings with context about their
    purpose. These annotations appear in /proc/self/maps and /proc/self/smaps as
    "[anon: Go: ...]". This setting is only used on Linux. For Go 1.25, it defaults
    to `decoratemappings=1`, enabling annotations. Using `decoratemappings=0`
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.NavigableMapTestSuiteBuilder;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top