Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 5,836 for Public (0.13 sec)

  1. guava-tests/test/com/google/common/hash/FunnelsTest.java

     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class DoublesAsListGenerator extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          return asList(elements);
        }
      }
    
      public static final class DoublesAsListHeadSubListGenerator extends TestDoubleListGenerator {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

     */
    @GwtCompatible
    @NullMarked
    public class IterablesTest extends TestCase {
    
      public void testSize0() {
        Iterable<String> iterable = emptySet();
        assertEquals(0, Iterables.size(iterable));
      }
    
      public void testSize1Collection() {
        Iterable<String> iterable = singleton("a");
        assertEquals(1, Iterables.size(iterable));
      }
    
      public void testSize2NonCollection() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ReverseOrdering.java

      }
    
      @Override
      public <E extends T> E max(Iterator<E> iterator) {
        return forwardOrder.min(iterator);
      }
    
      @Override
      public <E extends T> E max(Iterable<E> iterable) {
        return forwardOrder.min(iterable);
      }
    
      @Override
      public int hashCode() {
        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         * Create a new lease V2 context response
         */
        public LeaseV2CreateContextResponse() {
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key from the V2 server response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

     *
     */
    @Deprecated
    public class ProjectArtifactMetadata extends AbstractArtifactMetadata {
        private final File file;
    
        public ProjectArtifactMetadata(Artifact artifact) {
            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessingExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withCause() {
            // Test constructor with Throwable cause
            final Exception cause = new RuntimeException("Root cause");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySetIteratorRemove() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySetIteratorRemove() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Boolean get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        public boolean contains(@Nullable Object target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top