Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 301 for _gwt (0.08 seconds)

  1. android/guava/src/com/google/common/collect/Lists.java

          checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
          return charactersOf(string.substring(fromIndex, toIndex));
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public Character get(int index) {
          checkElementIndex(index, size()); // for GWT
          return string.charAt(index);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      @FormatMethod
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Strings.java

       *     is reached
       * @return the padded string
       */
      public static String padStart(String string, int minLength, char padChar) {
        checkNotNull(string); // eager for GWT.
        if (string.length() >= minLength) {
          return string;
        }
        StringBuilder sb = new StringBuilder(minLength);
        for (int i = string.length(); i < minLength; i++) {
          sb.append(padChar);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.SortedSet;
    
    /**
     * GWT emulation of {@link RegularImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      /** true if this set is a subset of another immutable sorted set. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/LongAddables.java

     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.atomic.LongAdder;
    
    /**
     * Source of {@link LongAddable} objects that deals with GWT and all that.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class LongAddables {
      public static LongAddable create() {
        return new JavaUtilConcurrentLongAdder();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        }
    
        public ImmutableMap<K, V> buildKeepingLast() {
          if (valueComparator != null) {
            // Probably not worth supporting this in GWT
            throw new UnsupportedOperationException(
                "orderEntriesByValue + buildKeepingLast not supported under GWT");
          }
          return build(/* throwIfDuplicateKeys= */ false);
        }
    
        ImmutableMap<K, V> buildJdkBacked() {
          return build();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       */
      protected ArrayBasedUnicodeEscaper(
          ArrayBasedEscaperMap escaperMap,
          int safeMin,
          int safeMax,
          @Nullable String unsafeReplacement) {
        checkNotNull(escaperMap); // GWT specific check (do not optimize)
        this.replacements = escaperMap.getReplacementArray();
        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

     */
    
    package com.google.common.collect;
    
    import static java.util.Collections.emptyList;
    import static java.util.Collections.unmodifiableList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link RegularImmutableList}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableList<E> extends ForwardingImmutableList<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableSet}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      private final E element;
    
      SingletonImmutableSet(E element) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top