Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ArrayBasedBuilder (0.16 sec)

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

         */
        public abstract ImmutableCollection<E> build();
      }
    
      abstract static class ArrayBasedBuilder<E> extends ImmutableCollection.Builder<E> {
        // The first `size` elements are non-null.
        @Nullable Object[] contents;
        int size;
        boolean forceCopy;
    
        ArrayBasedBuilder(int initialCapacity) {
          checkNonnegative(initialCapacity, "initialCapacity");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

       * elements and to build again.
       *
       * @since 2.0
       */
      public static class Builder<E> extends ImmutableCollection.ArrayBasedBuilder<E> {
        @VisibleForTesting @CheckForNull @Nullable Object[] hashTable;
        private int hashCode;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       * multiple lists in series. Each new list contains all the elements of the ones created before
       * it.
       *
       * @since 2.0
       */
      public static final class Builder<E> extends ImmutableCollection.ArrayBasedBuilder<E> {
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableList#builder}.
         */
        public Builder() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top