Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 241 for compact (0.15 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInteger.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.primitives.UnsignedInts.INT_MASK;
    import static com.google.common.primitives.UnsignedInts.compare;
    import static com.google.common.primitives.UnsignedInts.toLong;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

       * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the
       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Elements that compare equal are considered equal and no new permutations are created by
       * swapping them.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ContiguousSet.java

      }
    
      @Override
      public ContiguousSet<C> subSet(C fromElement, C toElement) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
        checkArgument(comparator().compare(fromElement, toElement) <= 0);
        return subSetImpl(fromElement, true, toElement, false);
      }
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> subSet(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
        TreeMultiset<String> ms = TreeMultiset.create(comparator);
    
        ms.add("b");
        ms.add("c");
        ms.add("a");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Number> numberComparator =
            // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility.
            new Comparator<Number>() {
              @Override
              public int compare(Number a, Number b) {
                return a.intValue() - b.intValue();
              }
            };
        Integer comparand1 = 1;
        Integer comparand2 = 2;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Escaper.java

     * implementing new escapers. It is strongly recommended that when implementing a new escaper you
     * extend one of these classes. If you find that you are unable to achieve the desired behavior
     * using either of these classes, please contact the Java libraries team for advice.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Number> numberComparator =
            // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility.
            new Comparator<Number>() {
              @Override
              public int compare(Number a, Number b) {
                return a.intValue() - b.intValue();
              }
            };
        Integer comparand1 = 1;
        Integer comparand2 = 2;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/ElementOrderTest.java

      @Test
      public void customComparator() {
        Comparator<NonComparableSuperClass> comparator =
            new Comparator<NonComparableSuperClass>() {
              @Override
              public int compare(NonComparableSuperClass left, NonComparableSuperClass right) {
                return left.value.compareTo(right.value);
              }
            };
    
        MutableGraph<NonComparableSuperClass> graph =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method m1, Method m2) {
                int nameComparison = m1.getName().compareTo(m2.getName());
                if (nameComparison != 0) {
                  return nameComparison;
                } else {
                  return Ints.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
                }
              }
            });
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
Back to top