Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2161 - 2170 of 3,901 for 1final (0.05 seconds)

  1. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            try {
                MessageDigestUtil.digest(null, text);
                assertTrue(false);
            } catch (final EmptyArgumentException e) {
                assertTrue(true);
            }
            try {
                MessageDigestUtil.digest("HOGE", text);
                assertTrue(false);
            } catch (final NoSuchAlgorithmRuntimeException e) {
                assertTrue(true);
            }
        }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

     */
    public class TimeConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimeConverter converter = new TimeConverter("HH:mm:ss");
            final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("12:34:56"));
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/UsingToStringOrdering.java

    import java.io.Serializable;
    
    /** An ordering that uses the natural order of the string representation of the values. */
    @GwtCompatible
    final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
      public int compare(Object left, Object right) {
        return left.toString().compareTo(right.toString());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

    /**
     * TransferListenerAdapter
     */
    @Deprecated
    public class TransferListenerAdapter implements TransferListener {
    
        private final ArtifactTransferListener listener;
    
        private final Map<Resource, ArtifactTransferResource> artifacts;
    
        private final Map<Resource, Long> transfers;
    
        public static TransferListener newAdapter(ArtifactTransferListener listener) {
            if (listener == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/log/LoggerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            final int num = 100;
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                System.out.println("test" + i);
            }
            final long sysout = System.currentTimeMillis() - start;
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      private static final class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

     * against hash flooding attacks.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

     */
    @SuppressWarnings("deprecation")
    class ConnectedResource extends Resource {
        private final SourceRoot originalSourceRoot;
        private final ProjectScope scope;
        private final MavenProject project;
    
        ConnectedResource(SourceRoot sourceRoot, ProjectScope scope, MavenProject project) {
            super(org.apache.maven.api.model.Resource.newBuilder()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top