Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 426 for Younis (1.28 sec)

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

    /**
     * A wrapper around {@code TreeMap} that aggressively checks to see if keys are mutually comparable.
     * This implementation passes the navigable map test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingMultiset}.
     *
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    public class ForwardingMultisetTest extends TestCase {
    
      static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {
        private final Multiset<T> backingCollection;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

        checkNotNull(mode);
        long div = p / q; // throws if q == 0
        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * method.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
        extends ForwardingMultiset<E> implements SortedMultiset<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @J2ktIncompatible // no support for access-order mode in LinkedHashMap delegate
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

    /**
     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings({"serial", "rawtypes"})
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingList<E extends @Nullable Object> extends ForwardingCollection<E>
        implements List<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for UnsignedInts
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class UnsignedIntsTest extends TestCase {
      private static final long[] UNSIGNED_INTS = {
        0L,
        1L,
        2L,
        3L,
        0x12345678L,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with
       * the corresponding argument value from {@code args}; or, if the placeholder and argument counts
       * do not match, returns a best-effort form of that string. Will not throw an exception under
       * normal conditions.
       *
       * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
Back to top