Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,424 for Object (0.14 sec)

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

    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          return (K[]) new Object[length];
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public V[] createValueArray(int length) {
          return (V[]) new Object[length];
        }
    
        @Override
        public TestSubjectGenerator<?> getInnerGenerator() {
          return generator;
        }
      }
    
      public static class InverseBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (!(object instanceof Set)) {
          return false;
        }
    
        Set<?> that = (Set<?>) object;
        if (size() != that.size()) {
          return false;
        } else if (isEmpty()) {
          return true;
        }
    
        if (SortedIterables.hasSameComparator(comparator, that)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public int count(@Nullable Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableMap<K, V> delegate;
    
      public SafeTreeMap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableMap<K, V> delegate;
    
      public SafeTreeMap() {
    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)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass keys of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object,
       *     Comparable, Object, Comparable, Object)}.</b>
       */
      @DoNotCall("Pass keys of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(
    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)
  8. android/guava/src/com/google/common/collect/ExplicitOrdering.java

        if (rank == null) {
          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof ExplicitOrdering) {
          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return rankMap.hashCode();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> {
      static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap();
    
      private EmptyImmutableListMultimap() {
        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
        return ImmutableMap.<R, Map<C, V>>copyOf(rowMap);
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        Integer rowIndex = rowKeyToIndex.get(rowKey);
        Integer columnIndex = columnKeyToIndex.get(columnKey);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top