Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Fish (0.2 sec)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.headSet("a") instanceof ImmutableSortedSet);
        assertTrue(set.headSet("fish") instanceof ImmutableSortedSet);
        assertThat(set.headSet("fish")).containsExactly("a", "in", "the").inOrder();
        assertThat(set.headSet("california"))
            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.headSet("a") instanceof ImmutableSortedSet);
        assertTrue(set.headSet("fish") instanceof ImmutableSortedSet);
        assertThat(set.headSet("fish")).containsExactly("a", "in", "the").inOrder();
        assertThat(set.headSet("california"))
            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      /**
       * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of
       * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
      protected E standardLower(@ParametricNullness E e) {
        return Iterators.getNext(headSet(e, false).descendingIterator(), null);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
       * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many
       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMultiset.java

       * override {@link #equals} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} as {@code entrySet().hashCode()} . If you override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingList.java

       * this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return listIterator();
      }
    
      /**
       * A sensible default implementation of {@link #listIterator()}, in terms of {@link
       * #listIterator(int)}. If you override {@link #listIterator(int)}, you may wish to override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top