Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 2,189 for boolean (0.31 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private boolean setCount(E element, int count) {
        return getMultiset().setCount(element, getMultiset().count(element), count);
      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        return suite;
      }
    
      public void testIteratesOnce() {
        Map<AnEnum, AnEnum> map =
            Maps.asMap(
                ImmutableSet.of(AnEnum.A),
                new Function<AnEnum, AnEnum>() {
                  boolean used = false;
    
                  @Override
                  public AnEnum apply(AnEnum ae) {
                    checkState(!used, "should not be applied more than once");
                    used = true;
                    return ae;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractHasher.java

     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsRoleCB.java

        @Override
        public RoleDbm asDBMeta() {
            return RoleDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "role";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
        @Override
        public ConditionQuery localCQ() {
            return doGetConditionQuery();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            stream(getGroups()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchGroupPrefix() + decode(s))));
            return list.toArray(new String[list.size()]);
        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            return scheduledJobBhv.selectPage(cb -> {
                cb.fetchFirst(fessConfig.getPageScheduledJobMaxFetchSizeAsInteger());
                cb.query().setAvailable_Equal(Boolean.TRUE);
                cb.query().setUpdatedTime_GreaterThan(updateTime);
            });
        }
    
        public OptionalEntity<ScheduledJob> getScheduledJob(final String id) {
            return scheduledJobBhv.selectByPK(id);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/UserService.java

            userBhv.insertOrUpdate(user, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
            if (changed) {
                userBhv.selectEntity(cb -> cb.query().setName_Equal(username)).ifPresent(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsElevateWordToLabelCB.java

            return ElevateWordToLabelDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "elevate_word_to_label";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
        @Override
        public ConditionQuery localCQ() {
            return doGetConditionQuery();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

        public static final String CONTENT_LENGTH = "contentLength";
    
        public static final String LAST_MODIFIED = "lastModified";
    
        public static final String ACCESS_RESULT_DATA = "accessResultData";
    
        private boolean initializedData = false;
    
        @Override
        public void init(final ResponseData responseData, final ResultData resultData) {
    
            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                  network.edgeConnectingOrNull(node, otherNode);
                  fail();
                } catch (IllegalArgumentException expected) {
                }
            }
    
            boolean isSelfLoop = node.equals(otherNode);
            boolean connected = !edgesConnecting.isEmpty();
            if (network.isDirected() || !isSelfLoop) {
              assertThat(edgesConnecting)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top