Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,782 for instanceOf (0.1 sec)

  1. guava/src/com/google/common/hash/HashCode.java

        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
          return bits() == that.bits() && equalsSameBits(that);
        }
        return false;
      }
    
      /**
       * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
       * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long indexTime) {
            final double cpuLoad;
            if (ManagementFactory.getOperatingSystemMXBean() instanceof final com.sun.management.OperatingSystemMXBean operatingSystemMXBean) {
                cpuLoad = operatingSystemMXBean.getProcessCpuLoad();
            } else {
                cpuLoad = -1;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

         */
        @Override
        public boolean equals ( Object other ) {
            // this method is called from SmbSession
            if ( other != null && other instanceof Kerb5Authenticator )
                return Objects.equals(this.getSubject(), ( (Kerb5Authenticator) other ).getSubject());
    
            return false;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            }
    
            return artifactMap;
        }
    
        public boolean equals(Object object) {
            if (this == object) {
                return true;
            }
    
            return object instanceof PluginDescriptor && getId().equals(((PluginDescriptor) object).getId());
        }
    
        public int hashCode() {
            return 10 + getId().hashCode();
        }
    
        public MojoDescriptor getMojo(String goal) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toLowerCase(CharSequence chars) {
        if (chars instanceof String) {
          return toLowerCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toLowerCase(chars.charAt(i));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        abstract int readBytesWireFormat( byte[] buffer, int bufferIndex );
    
        public int hashCode() {
            return mid;
        }
        public boolean equals( Object obj ) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock)obj).mid == mid;
        }
        public String toString() {
            String c;
            switch( command ) {
                case SMB_COM_NEGOTIATE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (commandLine.hasOption(CLIManager.FAIL_ON_SEVERITY)) {
                String logLevelThreshold = commandLine.getOptionValue(CLIManager.FAIL_ON_SEVERITY);
    
                if (slf4jLoggerFactory instanceof LogLevelRecorder recorder) {
                    LogLevelRecorder.Level level =
                            switch (logLevelThreshold.toLowerCase(Locale.ENGLISH)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        boolean sameComparator = false;
        if (map instanceof SortedMap) {
          SortedMap<?, ?> sortedMap = (SortedMap<?, ?>) map;
          Comparator<?> comparator2 = sortedMap.comparator();
          sameComparator =
              (comparator2 == null) ? comparator == NATURAL_ORDER : comparator.equals(comparator2);
        }
    
        if (sameComparator && (map instanceof ImmutableSortedMap)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            for (final Authentication authentication : siteCredentialList) {
                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScheme instanceof FormScheme) {
                    formSchemeList.add(new Pair<>((FormScheme) authScheme, authentication.getCredentials()));
                } else {
                    final AuthScope authScope = authentication.getAuthScope();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top