Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 2,158 for Booleans (0.12 sec)

  1. guava-tests/test/com/google/common/io/TestInputStream.java

    import java.io.InputStream;
    import java.util.Arrays;
    
    /** @author Colin Decker */
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         */
        @Test
        public void testAssertState() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("hogeだからです。"));
            assertState(false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertIndex(boolean, String)} .
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * <pre>{@code
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }</pre>
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        private CycleDetectingReentrantLock(LockGraphNode lockGraphNode, boolean fair) {
          super(fair);
          this.lockGraphNode = Preconditions.checkNotNull(lockGraphNode);
        }
    
        ///// CycleDetectingLock methods. /////
    
        @Override
        public LockGraphNode getLockGraphNode() {
          return lockGraphNode;
        }
    
        @Override
        public boolean isAcquiredByCurrentThread() {
          return isHeldByCurrentThread();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       */
      static class IteratorWithSunJavaBug6529795<T> implements Iterator<T> {
        Iterator<T> iterator;
        boolean nextThrewException;
    
        IteratorWithSunJavaBug6529795(Iterator<T> iterator) {
          this.iterator = iterator;
        }
    
        @Override
        public boolean hasNext() {
          return iterator.hasNext();
        }
    
        @Override
        public T next() {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                try {
                    final XPathEvaluationResult<?> xObj = getXPathAPI().eval(document, path);
                    switch (xObj.type()) {
                    case BOOLEAN:
                        final Boolean b = (Boolean) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), b.toString()));
                        break;
                    case NUMBER:
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
      other: Array<String>?,
      comparator: Comparator<in String>,
    ): Boolean {
      if (isEmpty() || other == null || other.isEmpty()) {
        return false
      }
      for (a in this) {
        for (b in other) {
          if (comparator.compare(a, b) == 0) {
            return true
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

        private long fp;
        private int readSize, readSizeFile, openFlags, access, sharing;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
        private boolean largeReadX;
    
        private final boolean unsharedFile;
    
        private boolean smb2;
    
    
        /**
         * @param url
         * @param tc
         *            context to use
         * @throws SmbException
         * @throws MalformedURLException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            Collections.addAll(notAnalyzedFieldSet, fields);
        }
    
        protected boolean isSortField(final String field) {
            for (final String f : sortFields) {
                if (f.equals(field)) {
                    return true;
                }
            }
            return false;
        }
    
        public boolean isFacetField(final String field) {
            if (StringUtil.isBlank(field)) {
                return false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingList.java

      protected abstract List<E> delegate();
    
      @Override
      public void add(int index, @ParametricNullness E element) {
        delegate().add(index, element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean addAll(int index, Collection<? extends E> elements) {
        return delegate().addAll(index, elements);
      }
    
      @Override
      @ParametricNullness
      public E get(int index) {
        return delegate().get(index);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top