Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2731 - 2740 of 3,909 for Extend (0.04 sec)

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

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

    /**
     * Generator for collection of a particular size.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class OneSizeGenerator<T, E extends @Nullable Object>
        implements OneSizeTestContainerGenerator<T, E> {
      private final TestContainerGenerator<T, E> generator;
      private final CollectionSize collectionSize;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class BiMapClearTester<K, V> extends AbstractBiMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharsetsTest.java

    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Charsets}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    public class CharsetsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUsAscii() {
        assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
        assertEquals("java", Reflection.getPackageName("java.MyType"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/AbstractIterator.java

    /**
     * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency
     * reasons).
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
      protected AbstractIterator() {}
    
      private enum State {
        READY,
        NOT_READY,
        DONE,
        FAILED,
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ForwardingGraph.java

     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * {@code settings.xml} file.</p>
     *
     * @since 4.0.0
     * @see Repository
     * @see org.apache.maven.api.settings.Settings
     */
    @Experimental
    @Immutable
    public interface LocalRepository extends Repository {
    
        @Nonnull
        Path getPath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    import java.io.IOException;
    
    import jcifs.CIFSException;
    import jcifs.SmbFileHandle;
    import jcifs.SmbPipeHandle;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbPipeHandleInternal extends SmbPipeHandle {
    
        /**
         * @return the pipe type
         */
        int getPipeType ();
    
    
        /**
         * @return session key of the underlying smb session
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

     */
    
    package jcifs.internal.smb1.trans;
    
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class TransPeekNamedPipe extends SmbComTransaction {
    
        private int fid;
    
    
        /**
         * 
         * @param config
         * @param pipeName
         * @param fid
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
Back to top