Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for Clauss (0.29 sec)

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

    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code TopKSelector}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public class TopKSelectorTest extends TestCase {
    
      public void testNegativeK() {
        try {
          TopKSelector.<String>least(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map.Entry<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

    /**
     * Test cases for a {@link Table} implementation supporting reads and writes.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractTableTest<C extends @Nullable Character>
        extends AbstractTableReadTest<C> {
    
      protected void populate(Table<String, Integer, C> table, @Nullable Object... data) {
        checkArgument(data.length % 3 == 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
      protected Table<String, Integer, C> table;
    
      /**
       * Creates a table with the specified data.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
      protected Table<String, Integer, C> table;
    
      /**
       * Creates a table with the specified data.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertEquals(String[].class, empty.getClass());
        assertThat(empty).isEmpty();
      }
    
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_Nonempty() {
        String[] array = ObjectArrays.newArray(String.class, 2);
        assertEquals(String[].class, array.getClass());
        assertThat(array).hasLength(2);
        assertNull(array[0]);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
        Comparator<String> comparator = Ordering.natural();
        Comparator<Iterable<String>> lexy = Comparators.lexicographical(comparator);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
        Comparator<String> comparator = Ordering.natural();
        Comparator<Iterable<String>> lexy = Comparators.lexicographical(comparator);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashMultiset.java

     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top