Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 184 for simplify (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(1, matcher.countIn(s));
      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

      /**
       * Opens a new buffered {@link InputStream} for reading from this source. The returned stream is
       * not required to be a {@link BufferedInputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayInputStream}). This method returns a new,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       * may prefer to invoke that method directly; this method exists only for consistency with the
       * other utilities in this package.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Float#compare}. It is
       * provided for consistency with the other primitive types, whose compare methods were not added
       * to the JDK until JDK 7.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(1, matcher.countIn(s));
      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       *
       * @return an empty collection of values
       */
      abstract Collection<V> createCollection();
    
      /**
       * Creates the collection of values for an explicitly provided key. By default, it simply calls
       * {@link #createCollection()}, which is the correct behavior for most implementations. The {@link
       * LinkedHashMultimap} class overrides it.
       *
       * @param key key to associate with values in the collection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Doubles.java

       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
       * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Double#compare}. It is
       * provided for consistency with the other primitive types, whose compare methods were not added
       * to the JDK until JDK 7.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      /*
       * TODO(jlevy): Decide whether entrySet() should return entries with an equals() method that
       * calls the comparator to compare the two keys. If that change is made,
       * AbstractMultiset.equals() can simply check whether two multisets have equal entry sets.
       */
    
      /**
       * @serialData the comparator, the number of distinct elements, the first element, its count, the
       *     second element, its count, and so on
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @InlineMe(
          replacement = "checkNotNull(iterable)",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteStreams.java

            }
    
            @Override
            public String toString() {
              return "ByteStreams.nullOutputStream()";
            }
          };
    
      /**
       * Returns an {@link OutputStream} that simply discards written bytes.
       *
       * <p><b>Java 11+ users:</b> use {@link OutputStream#nullOutputStream()} instead. Note that the
       * {@link ByteStreams} method returns a singleton stream whose {@code close} method has no effect,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

        /**
         * Tests to see if the file this <code>SmbResource</code> represents can be
         * read. Because any file, directory, or other resource can be read if it
         * exists, this method simply calls the <code>exists</code> method.
         *
         * @return <code>true</code> if the file is read-only
         * @throws CIFSException if an error occurs accessing the resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top