Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for Glasser (0.18 sec)

  1. android/guava/src/com/google/common/collect/TreeMultiset.java

       * add(Object)} call will throw a {@code ClassCastException}.
       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * natural ordering. The sorted sets use {@link Ordering#natural()} as the comparator. This method
       * provides more type-safety than {@link #builder}, as it can be called only for classes that
       * implement {@link Comparable}.
       */
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      Object writeReplace() {
        return super.writeReplace();
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @J2ktIncompatible // serialization
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * define a separate MultimapLink interface with a separate "header" implementation, which
         * hopefully could avoid implementing Entry or ValueSetLink at all. (But note that that approach
         * requires us to define extra classes -- unfortunate under Android.) *Then* we could consider
         * lying about the fields below on the grounds that we always initialize them just after the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object>
        extends TestCase {
    
      /** A key type that is not assignable to any classes but Object. */
      private static final class IncompatibleKeyType {
        @Override
        public String toString() {
          return "IncompatibleKeyType";
        }
      }
    
      protected final boolean supportsPut;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      private static final long serialVersionUID = 0;
    
      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    import com.google.common.collect.testing.Helpers;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Multimap}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultimapFeature implements Feature<Multimap> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code List}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum ListFeature implements Feature<List> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top