Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnmodifiableIterable (0.32 sec)

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

          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) {
        return checkNotNull(iterable);
      }
    
      private static final class UnmodifiableIterable<T extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = Iterables.unmodifiableIterable(list);
        Iterable<String> iterable2 = Iterables.unmodifiableIterable(iterable);
        assertSame(iterable, iterable2);
        ImmutableList<String> immutableList = ImmutableList.of("a", "b", "c");
        assertSame(immutableList, Iterables.unmodifiableIterable(immutableList));
        assertSame(immutableList, Iterables.unmodifiableIterable((List<String>) immutableList));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.unmodifiableIterable;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.cartesianProduct;
    import static com.google.common.collect.Sets.newEnumSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top