Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasNextAddress (0.33 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertSame(a2, l3.getAddress());
            verify(nsc, times(1)).getAllByName("server", true);
            assertTrue(l3.hasNextAddress());
            assertSame(a3, l3.getNextAddress());
            assertFalse(l3.hasNextAddress());
    
            // UnknownHostException yields CIFSException
            when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            Address addr = null;
            if (this.addressIndex < this.addresses.length) {
                addr = this.addresses[this.addressIndex++];
            }
            return addr;
        }
    
        boolean hasNextAddress() {
            return this.addressIndex < this.addresses.length;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isRoot()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            UniAddress addr = null;
            if (addressIndex < addresses.length) {
                addr = addresses[addressIndex++];
            }
            return addr;
        }
    
        boolean hasNextAddress() {
            return addressIndex < addresses.length;
        }
    
        void connect0() throws SmbException {
            try {
                connect();
            } catch (final SmbException se) {
                throw se;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top