Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1721 - 1730 of 8,165 for public (0.27 seconds)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapMergeTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        }
      }
    
      public void testTestFeatureEnums() {
        // Haha! Let's test our own test rig!
        assertGoodFeatureEnum(ExampleFeature.class);
      }
    
      public void testAddImpliedFeatures_returnsSameSetInstance() {
        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/BytesTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(Byte.hashCode(value));
        }
      }
    
      public void testContains() {
        assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse();
        assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

       * produce a {@code CacheBuilderSpec} equal to this instance.
       */
      public String toParsableString() {
        return specification;
      }
    
      /**
       * Returns a string representation for this CacheBuilderSpec instance. The form of this
       * representation is not guaranteed.
       */
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/CacheBuilderSpec.java

       * produce a {@code CacheBuilderSpec} equal to this instance.
       */
      public String toParsableString() {
        return specification;
      }
    
      /**
       * Returns a string representation for this CacheBuilderSpec instance. The form of this
       * representation is not guaranteed.
       */
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsUserCQ.java

        public void setId_Equal(String id) {
            setId_Term(id, null);
        }
    
        public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setId_Term(id, opLambda);
        }
    
        public void setId_Term(String id) {
            setId_Term(id, null);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 326.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       * Collection}; {@link Streams#stream(Iterable)} otherwise.
       */
      public static <E extends @Nullable Object> FluentIterable<E> from(Iterable<E> iterable) {
        return (iterable instanceof FluentIterable)
            ? (FluentIterable<E>) iterable
            : new FluentIterable<E>(iterable) {
              @Override
              public Iterator<E> iterator() {
                return iterable.iterator();
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

    import okhttp3.WebSocketListener;
    
    /** A realtime messaging session. */
    public final class RtmSession extends WebSocketListener implements Closeable {
      private final SlackApi slackApi;
    
      /** Guarded by this. */
      private WebSocket webSocket;
    
      public RtmSession(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    
      public void open(String accessToken) throws IOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        }
    
        @Override
        public int getAttributes() {
            return fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
    
        @Override
        public long getLastWriteTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
    
        @Override
        public long getSize() {
            return fileSize;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top