Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1481 - 1490 of 6,650 for public (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testWrite_putSingleByte() throws Exception {
        int b = 'q';
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testWrite_putByteArray() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

    /**
     * Slf4jMavenTransferListener
     */
    @Deprecated
    public class Slf4jMavenTransferListener extends AbstractTransferListener {
    
        protected final Logger out;
    
        public Slf4jMavenTransferListener() {
            this.out = LoggerFactory.getLogger(Slf4jMavenTransferListener.class);
        }
    
        // TODO should we deprecate?
        public Slf4jMavenTransferListener(Logger out) {
            this.out = out;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        public static final String MAVEN_STYLE_ERROR_NAME = "error";
        public static final String MAVEN_STYLE_SUCCESS_NAME = "success";
        public static final String MAVEN_STYLE_FAILURE_NAME = "failure";
        public static final String MAVEN_STYLE_STRONG_NAME = "strong";
        public static final String MAVEN_STYLE_MOJO_NAME = "mojo";
        public static final String MAVEN_STYLE_PROJECT_NAME = "project";
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/SimpleCommandLineArgumentProvider.java

     */
    public class SimpleCommandLineArgumentProvider implements CommandLineArgumentProvider {
        private final List<String> arguments;
    
        public SimpleCommandLineArgumentProvider(String... arguments) {
            this.arguments = Arrays.asList(arguments);
        }
    
        @Override
        public Iterable<String> asArguments() {
            return arguments;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java

     */
    public class TagForm {
    
        /**
         * The file or directory path associated with this tag.
         */
        @Required
        public String path;
    
        /**
         * The name of the tag with a maximum length of 100 characters.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top