Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 519 for crinal (0.14 sec)

  1. guava-tests/test/com/google/common/base/ToStringHelperTest.java

      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addWithNullValue() {
        final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString();
    
        assertEquals("TestClass{Hello=null}", result);
      }
    
      public void testToStringLenient_addWithNullValue() {
        final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public static final WithPublicConstructorAndConstant INSTANCE =
            new WithPublicConstructorAndConstant();
    
        public WithPublicConstructorAndConstant() {}
      }
    
      private static class WithPublicConstants {
        public static final WithPublicConstants FIRST = new WithPublicConstants();
    
        // To test that we pick the first constant alphabetically
        @SuppressWarnings("unused")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        EMPTY_GENERATORS = builder.buildOrThrow();
      }
    
      private final AtomicInteger freshness = new AtomicInteger(1);
      private final ListMultimap<Class<?>, Object> sampleInstances = ArrayListMultimap.create();
    
      /**
       * The freshness level at which the {@link Empty @Empty} annotated method was invoked to generate
       * instance.
       */
      private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsImplTest.java

        ALL // Elements can be added and removed as well as modified.
      }
    
      /** Handles the creation of lists needed for the tests */
      public abstract static class ListExample {
    
        private final String name;
        private final Modifiability modifiability;
    
        protected ListExample(String name, Modifiability modifiability) {
          this.name = name;
          this.modifiability = modifiability;
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        @Override
        public final boolean isDone() {
          return super.isDone();
        }
    
        @Override
        public final boolean isCancelled() {
          return super.isCancelled();
        }
    
        @Override
        public final void addListener(Runnable listener, Executor executor) {
          super.addListener(listener, executor);
        }
    
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       *     into partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          final Iterable<T> iterable, final int size) {
        checkNotNull(iterable);
        checkArgument(size > 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      abstract boolean isPartialView();
    
      public final @Nullable V put(K k, V v) {
        throw new UnsupportedOperationException();
      }
    
      public final @Nullable V remove(Object o) {
        throw new UnsupportedOperationException();
      }
    
      public final void putAll(Map<? extends K, ? extends V> map) {
        throw new UnsupportedOperationException();
      }
    
      public final void clear() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

    /**
     * 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;
    
        StandardImplForwardingMultiset(Multiset<T> backingMultiset) {
          this.backingCollection = backingMultiset;
        }
    
        @Override
    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)
  10. guava/src/com/google/common/collect/ImmutableList.java

       */
      ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) {
        return new SubList(fromIndex, toIndex - fromIndex);
      }
    
      class SubList extends ImmutableList<E> {
        final transient int offset;
        final transient int length;
    
        SubList(int offset, int length) {
          this.offset = offset;
          this.length = length;
        }
    
        @Override
        public int size() {
          return length;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
Back to top