Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for castOrCopyToList (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.castOrCopyToList;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Collections.reverse;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
    
          @Override
          public String toString() {
            return getKey() + "=" + getValue();
          }
        };
      }
    
      static <E extends @Nullable Object> List<E> castOrCopyToList(Iterable<E> iterable) {
        if (iterable instanceof List) {
          return (List<E>) iterable;
        }
        List<E> list = new ArrayList<>();
        for (E e : iterable) {
          list.add(e);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top