All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rt.storage.api.client.util.Collections2 Maven / Gradle / Ivy

package com.rt.storage.api.client.util;

import java.util.Collection;

/**
 * Static utility methods pertaining to {@link Collection} instances.
 *
 * @since 1.14
 * @author Yaniv Inbar
 */
public final class Collections2 {

  /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557. */
  static  Collection cast(Iterable iterable) {
    return (Collection) iterable;
  }

  private Collections2() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy