Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 233 for none (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Short> none = Arrays.<Short>asList();
        assertThat(Shorts.toArray(none)).isEqualTo(EMPTY);
    
        List<Short> one = Arrays.asList((short) 1);
        assertThat(Shorts.toArray(one)).isEqualTo(ARRAY1);
    
        short[] array = {(short) 0, (short) 1, (short) 3};
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public CharMatcher negate() {
          return none();
        }
      }
    
      /** Implementation of {@link #none()}. */
      private static final class None extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new None();
    
        private None() {
          super("CharMatcher.none()");
        }
    
        @Override
        public boolean matches(char c) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public CharMatcher negate() {
          return none();
        }
      }
    
      /** Implementation of {@link #none()}. */
      private static final class None extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new None();
    
        private None() {
          super("CharMatcher.none()");
        }
    
        @Override
        public boolean matches(char c) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Float> none = Arrays.<Float>asList();
        assertThat(Floats.toArray(none)).isEqualTo(EMPTY);
    
        List<Float> one = Arrays.asList((float) 1);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {(float) 0, (float) 1, (float) 3};
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
      public enum Modifiability {
        NONE, // immutable lists
        BY_ELEMENT, // elements can change (set), but not structure
        DIRECT_ONLY, // Element can be added and removed only via direct calls, not through iterators
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DiscreteDomain.java

        @Override
        public BigInteger next(BigInteger value) {
          return value.add(BigInteger.ONE);
        }
    
        @Override
        public BigInteger previous(BigInteger value) {
          return value.subtract(BigInteger.ONE);
        }
    
        @Override
        BigInteger offset(BigInteger origin, long distance) {
          checkNonnegative(distance, "distance");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    return Collections.unmodifiableSet(innerSet);
                  }
                })
            .named("unmodifiableSet/HashSet")
            .withFeatures(
                CollectionFeature.NONE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
            .suppressing(suppressForUnmodifiableSet())
            .createTestSuite();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

       */
      SUPPORTS_ADD,
      /**
       * Support for {@link ListIterator#set(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_SET;
    
      /**
       * A set containing none of the optional features of the {@link Iterator} or {@link ListIterator}
       * interfaces.
       */
      public static final Set<IteratorFeature> UNMODIFIABLE = emptySet();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top