Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for true (0.2 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

        }
        return Ints.saturatedCast(count);
      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @CheckForNull Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
            if (iterator.next() == null) {
              return true;
            }
          }
        } else {
          while (iterator.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code Iterators}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class IteratorsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            if (string == null || string.isEmpty()) {
                return true;
            }
    
            if (validVersions.contains(string)) {
                return true;
            }
    
            boolean newerThanAll = true;
            boolean olderThanAll = true;
            for (String validValue : validVersions) {
                final int comparison = compareModelVersions(validValue, string);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CharMatcher.java

        }
      }
    
      // Text processing routines
    
      /**
       * Returns {@code true} if a character sequence contains at least one matching BMP character.
       * Equivalent to {@code !matchesNoneOf(sequence)}.
       *
       * <p>The default implementation iterates over the sequence, invoking {@link #matches} for each
       * character, until this returns {@code true} or the end is reached.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    default:
                        disconnect(true);
                        throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
                    }
                    break;
                case -1:
                    disconnect(true);
                    throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
                default:
                    disconnect(true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                }
    
                Configuration config = h.getConfig();
                SmbBasicFileInfo info;
                boolean haveSize = true, haveAttributes = true;
                long fileSize = 0;
                if ( h.isSMB2() ) {
                    Smb2CreateRequest req = new Smb2CreateRequest(config, uncPath);
                    req.setDesiredAccess(access);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

        // Every bound must match. On any false, result is false.
        return new Bounds(bounds, false);
      }
    
      private static Bounds any(Type[] bounds) {
        // Any bound matches. On any true, result is true.
        return new Bounds(bounds, true);
      }
    
      private static class Bounds {
        private final Type[] bounds;
        private final boolean target;
    
        Bounds(Type[] bounds, boolean target) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

     * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}.
     *
     * @author Kevin Bourrillion
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Futures extends GwtFuturesCatchingSpecialization {
    
      // A note on memory visibility.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param collection
         *            コレクション
         * @return コレクションが{@literal null}でも要素が無いわけでもない場合は{@literal true}
         */
        public static boolean isNotEmpty(final Collection<?> collection) {
            return !isEmpty(collection);
        }
    
        /**
         * {@link Map}が{@literal null}または要素が無い場合は{@literal true}を返します。
         *
         * @param map
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (fessConfig.isLdapAllowEmptyPermission()) {
                return true;
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            for (final String permission : ldapUser.getPermissions()) {
                if (!systemHelper.isUserPermission(permission)) {
                    return true;
                }
            }
            return false;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
Back to top