Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2491 - 2500 of 3,920 for extenders (0.12 sec)

  1. guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code MoreCollectors}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MoreCollectorsTest extends TestCase {
      public void testToOptionalEmpty() {
        assertThat(Stream.empty().collect(toOptional())).isEmpty();
      }
    
      public void testToOptionalSingleton() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> {
      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
        for (K key : sampleKeys()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapContainsEntryTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      public void testContainsEntryYes() {
        assertTrue(multimap().containsEntry(k0(), v0()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionCreationTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNull_supported() {
        E[] array = createArrayWithNullElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

    import java.io.UnsupportedEncodingException;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     * 
     */
    public class NetShareEnum extends SmbComTransaction {
    
        private static final String DESCR = "WrLeh\u0000B13BWz\u0000";
    
    
        /**
         * 
         * @param config
         */
        public NetShareEnum ( Configuration config ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    
    
    /**
     * 
     */
    public class NtTransNotifyChangeResponse extends SmbComNtTransactionResponse implements NotifyResponse {
    
        private List<FileNotifyInformation> notifyInformation = new ArrayList<>();
    
    
        /**
         * 
         * @param config
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

     */
    
    package jcifs.internal.smb1.trans.nt;
    
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     */
    public class NtTransQuerySecurityDesc extends SmbComNtTransaction {
    
        int fid;
        int securityInformation;
    
    
        /**
         * 
         * @param config
         * @param fid
         * @param securityInformation
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V>
        implements ConcurrentMap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingConcurrentMap() {}
    
      @Override
      protected abstract ConcurrentMap<K, V> delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeParameter.java

     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
      final TypeVariable<?> typeVariable;
    
      protected TypeParameter() {
        Type type = capture();
        checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top