Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,053 for true (0.79 sec)

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

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableSet} backed by a non-empty {@link java.util.EnumSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

                assertThat(packageName,
                        packageName.startsWith("junit") || packageName.startsWith("org.junit") || packageName.startsWith("org.hamcrest"),
                        is(true));
                count++;
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile_withPrefix() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

          return subSet(fromElement, true, toElement, false);
        }
    
        @Override
        public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().tailSet(fromElement, inclusive);
        }
    
        @Override
        public SortedSet<E> tailSet(E fromElement) {
          return tailSet(fromElement, true);
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

         */
        public void testSetXIncludeAware() throws Exception {
            final SAXParserFactory spf = SAXParserFactoryUtil.newInstance();
            SAXParserFactoryUtil.setXIncludeAware(spf, true);
            spf.setNamespaceAware(true);
            final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf);
    
            final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

        void isMatchingProjectMatchOnSelectorReturnsTrue(String selector) {
            final boolean result = sut.isMatchingProject(createMavenProject("maven-core"), selector, null);
            assertThat(result, is(true));
        }
    
        @Test
        void isMatchingProjectMatchOnFileReturnsTrue() throws IOException {
            final File tempFile = File.createTempFile("maven-core-unit-test-pom", ".xml");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

          return subSet(fromElement, true, toElement, false);
        }
    
        @Override
        public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().tailSet(fromElement, inclusive);
        }
    
        @Override
        public SortedSet<E> tailSet(E fromElement) {
          return tailSet(fromElement, true);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

              public synchronized void onFailure(Throwable t) {
                assertFalse(called);
                assertThat(t).isInstanceOf(CancellationException.class);
                called = true;
              }
            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
Back to top