Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for EXPLICIT (0.03 sec)

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

        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = new LinkedHashSet<>();
        elementsPlus.add(BEFORE_FIRST);
        elementsPlus.add(BEFORE_FIRST_2);
        elementsPlus.addAll(asList(elements));
        elementsPlus.add(AFTER_LAST);
        elementsPlus.add(AFTER_LAST_2);
        return Ordering.explicit(new ArrayList<>(elementsPlus));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                Kerb5Authenticator auth = new Kerb5Authenticator(subject);
                assertEquals("EXAMPLE.COM", auth.getUserDomain());
            }
    
            @Test
            @DisplayName("getUserDomain: explicit realm overrides")
            void getUserDomain_fromExplicitRealm() {
                Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
                auth.setRealm("REALM.TEST");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    String[] outputs;
    
                    final List<String> sides = split(line, "=>");
                    if (sides.size() > 1) { // explicit mapping
                        if (sides.size() != 2) {
                            throw new DictionaryException("more than one explicit mapping specified on the same line");
                        }
                        final List<String> inputStrings = split(sides.get(0), ",");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *   <li><b>Deterministic iteration.</b> The iteration order is always well-defined, depending on
     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       *     Object#equals(Object)}) are present among the method arguments
       */
      // TODO(kevinb): provide replacement
      public static <T> Ordering<T> explicit(T leastValue, T... remainingValuesInOrder) {
        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertTrue(elementsEqual(set, copy));
        assertEquals(set.comparator(), copy.comparator());
      }
    
      /* "Explicit" indicates an explicit comparator. */
    
      public void testExplicit_ordering() {
        SortedSet<String> set =
            ImmutableSortedSet.orderedBy(STRING_LENGTH)
                .add("in", "the", "quick", "jumped", "over", "a")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
Back to top