Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 199 for ImmutableSet (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

          assertSame(thrownException, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed());
        assertEquals(2, suppressed.size());
    
        assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
      }
    
      public void testNullCloseable() throws IOException {
        Closer closer = Closer.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      ImmutableSet<Cell<R, C, V>> createCellSet() {
        return ImmutableSet.of(cellOf(singleRowKey, singleColumnKey, singleValue));
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return ImmutableSet.of(singleValue);
      }
    
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableSet<String> invokableMethods =
            publicMethodSignatures(Invokable.class, ImmutableSet.<String>of());
        ImmutableSet<String> accessibleObjectMethods =
            publicMethodSignatures(AccessibleObject.class, ImmutableSet.of("canAccess"));
        assertThat(invokableMethods).containsAtLeastElementsIn(accessibleObjectMethods);
        ImmutableSet<String> genericDeclarationMethods =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableSet<String> invokableMethods =
            publicMethodSignatures(Invokable.class, ImmutableSet.<String>of());
        ImmutableSet<String> accessibleObjectMethods =
            publicMethodSignatures(AccessibleObject.class, ImmutableSet.of("canAccess"));
        assertThat(invokableMethods).containsAtLeastElementsIn(accessibleObjectMethods);
        ImmutableSet<String> genericDeclarationMethods =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SparseImmutableTable.java

      static final ImmutableTable<Object, Object, Object> EMPTY =
          new SparseImmutableTable<>(
              ImmutableList.<Cell<Object, Object, Object>>of(), ImmutableSet.of(), ImmutableSet.of());
    
      private final ImmutableMap<R, ImmutableMap<C, V>> rowMap;
      private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestInputStream.java

    import static com.google.common.io.TestOption.SKIP_THROWS;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/MediaTypeTest.java

            MediaType.parse("text/plain; a=1; a=2").withParameters("a", ImmutableSet.<String>of()));
        assertEquals(
            MediaType.parse("text/plain; a=1"),
            MediaType.parse("text/plain").withParameters("a", ImmutableSet.of("1")));
        assertEquals(
            MediaType.parse("text/plain; a=1"),
            MediaType.parse("text/plain; a=1; a=2").withParameters("a", ImmutableSet.of("1")));
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/TestInputStream.java

    import static com.google.common.io.TestOption.SKIP_THROWS;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

    import com.google.common.collect.ImmutableSet;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Tests for the MessageDigestHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      abstract ImmutableSet<Entry<K, V>> createEntrySet();
    
      @LazyInit @RetainedWith @CheckForNull private transient ImmutableSet<K> keySet;
    
      /**
       * Returns an immutable set of the keys in this map, in the same order that they appear in {@link
       * #entrySet}.
       */
      @Override
      public ImmutableSet<K> keySet() {
        ImmutableSet<K> result = keySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top