Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for reversed (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val reversed = ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.reversed()
        val client =
          makeClient(
            ConnectionSpec.COMPATIBLE_TLS,
            TlsVersion.TLS_1_2,
            reversed,
          )
    
        makeRequest(client)
    
        val expectedConnectionCipherSuites = expectedConnectionCipherSuites(client)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
       * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
       *     negated or reversed, undo the negation or reversal and use {@link #compareTrueFirst}.
       * @since 19.0
       */
      @InlineMe(replacement = "this.compareFalseFirst(left, right)")
      @Deprecated
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import java.util.ArrayDeque;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Comparators.java

       * k)), as opposed to e.g. {@code Stream.sorted(comparator.reversed()).limit(k)}, which currently
       * takes O(n log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
       */
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> greatest(
          int k, Comparator<? super T> comparator) {
        return least(k, comparator.reversed());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        "EqualsInteger", // test of a trivial call
        "EqualsLong", // b/273939864
        "EqualsDouble", // b/273939864
        "EqualsFloat", // b/273939864
        "YodaCondition", // test of reversed call
      })
      public void testEqual() throws Exception {
        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. README.md

    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    LruHashMap<String, Object> lruCache = new LruHashMap<>(100); // LRU cache with max 100 entries
    CaseInsensitiveMap<String> configMap = new CaseInsensitiveMap<>();
    ```
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Returns a reversed view of a sequenced collection.
         *
         * @param <E> the element type
         * @param collection the sequenced collection
         * @return a reversed view of the collection
         * @since Java 21
         */
        public static <E> SequencedCollection<E> reversed(final SequencedCollection<E> collection) {
            return collection.reversed();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

       */
      public static InetAddress fromLittleEndianByteArray(byte[] addr) throws UnknownHostException {
        byte[] reversed = new byte[addr.length];
        for (int i = 0; i < addr.length; i++) {
          reversed[i] = addr[addr.length - i - 1];
        }
        return InetAddress.getByAddress(reversed);
      }
    
      /**
       * Returns a new InetAddress that is one less than the passed in address. This method works for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top