Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,782 for instanceOf (0.07 sec)

  1. android/guava/src/com/google/common/io/MoreFiles.java

    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/MoreFiles.java

    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        try {
          InetAddress address = InetAddress.getByAddress(addr);
          if (scope == null) {
            return address;
          }
          checkArgument(
              address instanceof Inet6Address, "Unexpected state, scope should only appear for ipv6");
          Inet6Address v6Address = (Inet6Address) address;
          int interfaceIndex = tryParseDecimal(scope, 0, scope.length());
          if (interfaceIndex != -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

         */
        private void setContext ( SmbResource context, String name ) {
            this.fileLocator.resolveInContext(context.getLocator(), name);
            if ( context.getLocator().getShare() != null && ( context instanceof SmbFile ) ) {
                this.treeConnection = SmbTreeConnection.create( ( (SmbFile) context ).treeConnection);
            }
            else {
                this.treeConnection = SmbTreeConnection.create(context.getContext());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

                hcode += 65599 * this.sub_authority[ i ];
            }
            return hcode;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SID ) {
                SID sid = (SID) obj;
                if ( sid == this )
                    return true;
                if ( sid.sub_authority_count == this.sub_authority_count ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/GeneralRange.java

          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof GeneralRange) {
          GeneralRange<?> r = (GeneralRange<?>) obj;
          return comparator.equals(r.comparator)
              && hasLowerBound == r.hasLowerBound
              && hasUpperBound == r.hasUpperBound
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (o == null || !(o instanceof MyKey)) {
                    return false;
                }
                return _key.equals(((MyKey) o)._key);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top