Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for bimaps (0.03 sec)

  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());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (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());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 14:46:34 UTC 2025
    - 37.1K bytes
    - Viewed (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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (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<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 3.8K bytes
    - Viewed (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.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

     * and field configuration handling during the document transformation process.
     */
    public interface FessTransformer {
    
        /**
         * Synchronized LRU cache for storing parent URL encodings.
         * Maps session+parent URL keys to their corresponding character encodings.
         */
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    
        /**
         * Gets the Fess configuration instance.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top