Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 470 for AsList (0.03 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

             */
            return requireNonNull(element);
          }
        };
      }
    
      @LazyInit private transient @Nullable ImmutableList<E> asList;
    
      @Override
      public ImmutableList<E> asList() {
        ImmutableList<E> result = asList;
        return (result == null) ? asList = super.asList() : result;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return count(object) > 0;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

     * express or implied. See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            }
        }
    
        // Test run method basic flow
        public void test_run_basicFlow() throws Exception {
            final List<String> sessionIdList = Arrays.asList("session1");
            indexUpdater.setSessionIdList(sessionIdList);
    
            final CountDownLatch latch = new CountDownLatch(1);
            final AtomicBoolean errorOccurred = new AtomicBoolean(false);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final SparseImmutableTable<Character, Integer, String> SPARSE =
          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Iterables.unmodifiableIterable;
    import static com.google.common.reflect.Reflection.newProxy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.Collection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosSndBufSize()).thenReturn(576);
            when(mockConfig.getNetbiosRcvBufSize()).thenReturn(576);
            when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast
            when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST");
            when(mockConfig.getNetbiosScope()).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

    import javax.net.ssl.X509TrustManager;
    import okhttp3.CipherSuite;
    import okhttp3.ConnectionSpec;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    import static java.util.Arrays.asList;
    
    public final class CustomCipherSuites {
      private final OkHttpClient client;
    
      public CustomCipherSuites() throws GeneralSecurityException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            OrArtifactFilter filter1 = new OrArtifactFilter();
    
            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Multiset;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top