Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 8,165 for public (0.16 seconds)

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

    /**
     * Tests for {@link EvictingQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtCompatible
    @NullMarked
    public class EvictingQueueTest extends TestCase {
    
      public void testCreateWithNegativeSize() throws Exception {
        assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1));
      }
    
      public void testCreateWithZeroSize() throws Exception {
        EvictingQueue<String> queue = EvictingQueue.create(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        BuildPlan() {
            this.projects = null;
        }
    
        public BuildPlan(Map<MavenProject, List<MavenProject>> projects) {
            this.projects = projects;
        }
    
        public Map<MavenProject, List<MavenProject>> getAllProjects() {
            return projects;
        }
    
        public Map<String, String> aliases() {
            return aliases;
        }
    
        public Stream<MavenProject> projects() {
            return plan.keySet().stream();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

     *
     * @author higa
     * @author shinsuke
     */
    public abstract class StringUtil {
    
        /**
         * Do not instantiate.
         */
        protected StringUtil() {
        }
    
        /**
         * A system line separator.
         */
        public static final String RETURN_STRING = System.getProperty("line.separator");
    
        /**
         * An empty string <code>""</code>.
         */
        public static final String EMPTY = "";
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/DocMapTest.java

    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class DocMapTest extends UnitFessTestCase {
        @Test
        public void test_DocList() {
            Map<String, Object> value = new LinkedHashMap<>();
            DocMap docMap = new DocMap(value);
            assertTrue(docMap.isEmpty());
            value.clear();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test getType method
        @Test
        public void test_getType() {
            assertEquals("mapping", charMappingFile.getType());
        }
    
        // Test getPath method
        @Test
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath());
        }
    
        // Test getSimpleName method
        @Test
        public void test_getSimpleName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public int compareTo(Delayed other) {
          throw new UnsupportedOperationException("test should not care about this");
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public int compareTo(Delayed other) {
          throw new UnsupportedOperationException("test should not care about this");
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       * @param initialValue the initial value
       */
      public AtomicDouble(double initialValue) {
        value = new AtomicLong(doubleToRawLongBits(initialValue));
      }
    
      /** Creates a new {@code AtomicDouble} with initial value {@code 0.0}. */
      public AtomicDouble() {
        this(0.0);
      }
    
      /**
       * Gets the current value.
       *
       * @return the current value
       */
      public final double get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return keyOrNull(floorEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      public @Nullable K ceilingKey(K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

          this.progressListener = progressListener;
        }
    
        @Override
        public MediaType contentType() {
          return delegate.contentType();
        }
    
        @Override
        public long contentLength() throws IOException {
          return delegate.contentLength();
        }
    
        @Override
        public void writeTo(BufferedSink sink) throws IOException {
          BufferedSink bufferedSink = Okio.buffer(sink(sink));
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
Back to Top