Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,267 for Methods (0.05 sec)

  1. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapBuilderTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/IntsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Ints} methods. */
    public abstract class IntsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native int min(int... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            features down to compact but powerful abstractions, and controlling feature bloat carefully.
    
      - type: textarea
        attributes:
          label: API(s)
          description: Which existing classes or methods do you want to improve?
          placeholder: e.g., `com.google.common.collect.ImmutableList::of`
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertNotNull(WitnessRegistration.WitnessRegistrationState.EXPIRED);
        }
    
        @Test
        void testEnumToStringConversions() {
            // Test that enum toString methods work properly
            assertEquals("CLUSTER_WITNESS", WitnessServiceType.CLUSTER_WITNESS.toString());
            assertEquals("FILE_SERVER_WITNESS", WitnessServiceType.FILE_SERVER_WITNESS.toString());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/MoreObjects.java

        }
    
        /**
         * Configures the {@link ToStringHelper} so {@link #toString()} will ignore properties with null
         * value. The order of calling this method, relative to the {@code add()}/{@code addValue()}
         * methods, is not significant.
         *
         * @since 18.0 (since 12.0 as {@code Objects.ToStringHelper.omitNullValues()}).
         */
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
                        + " ExecutorService.close() (which would forward to methods like shutdown() on"
                        + " the delegate) instead of forwarding to delegate.close()");
              }
            };
        ExecutorService wrapper =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test that LogStream properly inherits PrintStream functionality
            LogStream.setInstance(testStream);
            LogStream logStream = LogStream.getInstance();
    
            // Test various PrintStream methods
            logStream.print("test");
            logStream.print(123);
            logStream.print(true);
            logStream.println();
            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

    import java.nio.charset.StandardCharsets;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides utility methods for working with resources in the classpath. Note that even though these
     * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other
     * non-classpath resources.
     *
     * @author Chris Nokleberg
     * @author Ben Yu
     * @author Colin Decker
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Call methods
            byte level = spy.getFileInformationLevel();
            int size = spy.size();
            byte[] buffer = new byte[8];
            int encoded = spy.encode(buffer, 0);
            int decoded = spy.decode(buffer, 0, 8);
            String str = spy.toString();
    
            // Verify all methods were called except toString (Mockito limitation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top