Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,782 for instanceOf (0.12 sec)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    
        if (object instanceof InternetDomainName) {
          InternetDomainName that = (InternetDomainName) object;
          return this.name.equals(that.name);
        }
    
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    
        @Override
        public int hashCode () {
            return (int) this.mid;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof ServerMessageBlock2 && ( (ServerMessageBlock2) obj ).mid == this.mid;
        }
    
    
        @Override
        public String toString () {
            String c;
            switch ( this.command ) {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
        return Iterables.get(instances, (generateInt() - 1) % instances.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /** {@inheritDoc} */
        public boolean equals(Object object) {
            if (this == object) {
                return true;
            }
    
            if (object instanceof MojoDescriptor) {
                MojoDescriptor other = (MojoDescriptor) object;
    
                return Objects.equals(getPluginDescriptor(), other.getPluginDescriptor())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

      final boolean isTransient() {
        return Modifier.isTransient(getModifiers());
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Invokable) {
          Invokable<?, ?> that = (Invokable<?, ?>) obj;
          return getOwnerType().equals(that.getOwnerType()) && member.equals(that.member);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @return 値がコピーの対象なら{@literal true}
         */
        protected boolean isTargetValue(final Object value) {
            if (value == null) {
                return !excludesNull;
            }
            if (value instanceof String && excludesWhitespace && ((String) value).trim().isEmpty()) {
                return !excludesWhitespace;
            }
            return true;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. 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
    - 24.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            return put(key, Collections.singletonList(comment), value);
        }
    
        public boolean update(Map<String, String> props) {
            MavenProperties properties;
            if (props instanceof MavenProperties) {
                properties = (MavenProperties) props;
            } else {
                properties = new MavenProperties();
                properties.putAll(props);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        for (int i = 1; i < size; i++) {
          if (!heapForIndex(i).verifyIndex(i)) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Each instance of MinMaxPriorityQueue encapsulates two instances of Heap: a min-heap and a
       * max-heap. Conceptually, these might each have their own array for storage, but for efficiency's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top