Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,782 for instanceOf (0.07 sec)

  1. src/main/java/jcifs/smb/MIEName.java

        }
    
    
        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object other ) {
    
            if ( other instanceof MIEName ) {
                MIEName terg = (MIEName) other;
                if ( Objects.equals(this.oid, terg.oid)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        public int compareTo(ClassWithTerribleHashCode that) {
          return Integer.compare(this.value, that.value);
        }
    
        @Override
        public boolean equals(@Nullable Object x) {
          return x instanceof ClassWithTerribleHashCode
              && ((ClassWithTerribleHashCode) x).value == value;
        }
    
        @Override
        public int hashCode() {
          return 23;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

        return absentFeatures;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof TesterRequirements) {
          TesterRequirements that = (TesterRequirements) object;
          return this.presentFeatures.equals(that.presentFeatures)
              && this.absentFeatures.equals(that.absentFeatures);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

              - (graph.successors(node).contains(node) ? 1 : 0);
        } else {
          return graph.adjacentNodes(node).size();
        }
      }
    
      @Override
      public boolean contains(@CheckForNull Object obj) {
        if (!(obj instanceof EndpointPair)) {
          return false;
        }
        EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
    
        if (graph.isDirected()) {
          if (!endpointPair.isOrdered()) {
            return false;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    pageSize, offset);
        }
    
        protected float toFloat(final Object value) {
            if (value instanceof final Float f) {
                return f;
            }
            if (value instanceof final String s) {
                return Float.parseFloat(s);
            }
            return 0.0f;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        boolean hasSameComparator = fromSortedSet || hasSameComparator(elements, comparator);
        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements;
          boolean isSubset =
              (result instanceof RegularImmutableSortedSet)
                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream);
        }
    
        //
        // These are the only methods we need in our primordial logger
        //
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompoundOrdering.java

            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof CompoundOrdering) {
          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            accessResultData.setData("xyz".getBytes());
    
            final Object obj = binaryTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof InputStream);
            assertEquals("xyz", new String(IOUtils.toByteArray((InputStream) obj)));
        }
    
        public void test_getData_wrongName() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       * @throws NullPointerException if any of {@code values} is null
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> encloseAll(Iterable<C> values) {
        checkNotNull(values);
        if (values instanceof SortedSet) {
          SortedSet<C> set = (SortedSet<C>) values;
          Comparator<?> comparator = set.comparator();
          if (Ordering.<C>natural().equals(comparator) || comparator == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top