Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for bear (0.13 sec)

  1. guava-tests/test/com/google/common/net/PercentEscaperTest.java

      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
      public void testCustomEscaper_withpercent() {
        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

        }
    
        /**
         * 指定のクラスを基点とする、リソースやクラスの集まりを扱う{@link Traverser}を返します。
         * <p>
         * このメソッドが返す{@link Traverser}は、指定されたクラスをFQNで参照可能なパスをルートとします。 例えば指定されたクラスが
         * <code>foo.Bar</code>で、そのクラスファイルが <code>classes/foo/Bar.class</code>の場合、
         * このメソッドが返す {@link Traverser}は<code>classes</code>ディレクトリ以下のリソースの集合を扱います。
         * </p>
         *
         * @param referenceClass
         *            基点となるクラス。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class Bar<T> {}
        class SubBar<T> extends Bar<T> {
          @SuppressWarnings("unused")
          Bar<T> delegate;
    
          TypeToken<SubBar<T>> fieldTypeAsSubBar() {
            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
    
            if (!hasBeenPackagedDuringThisSession(project)) {
                // fallback to loose class files only if artifacts haven't been packaged yet
                // and only for plain old jars. Not war files, not ear files, not anything else.
                return determineBuildOutputDirectoryForArtifact(project, artifact);
            }
    
            // The fall-through indicates that the artifact cannot be found;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

        public void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException {
            Objects.requireNonNull(request, "request cannot be null");
            Objects.requireNonNull(request.getBean(), "request.bean cannot be null");
    
            Object configuration = request.getConfiguration();
            if (configuration == null) {
                return;
            }
    
            PlexusConfiguration plexusConfig;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * <pre>{@code
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

        for (int i = 0; i < elementCount; i++) {
          E element = (E) stream.readObject();
          add(element);
        }
      }
    
      /*
       * For discussion of the safety of the following methods, see the comments near the end of
       * CompactHashMap.
       */
    
      private Object requireTable() {
        return requireNonNull(table);
      }
    
      private int[] requireEntries() {
        return requireNonNull(entries);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/StreamsTest.java

        RuntimeException exception2 = new IllegalStateException("exception from stream 2");
        RuntimeException exception3 = new ArithmeticException("exception from stream 3");
        Stream<String> stream1 = Stream.of("foo", "bar").onClose(doThrow(exception1));
        Stream<String> stream2 = Stream.of("baz", "buh").onClose(doThrow(exception2));
        Stream<String> stream3 = Stream.of("quux").onClose(doThrow(exception3));
        RuntimeException exception = null;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top