java.lang.Object
org.springframework.data.redis.support.collections.CollectionUtils

public abstract class CollectionUtils extends Object
Utility class used mainly for type conversion by the default collection implementations. Meant for internal use.
Author:
Costin Leau, John Blum
  • Constructor Details

    • CollectionUtils

      public CollectionUtils()
  • Method Details

    • initializeList

      public static <T> List<T> initializeList(@NonNull List<T> list, int size)
    • nullSafeList

      @NonNull public static <T> List<T> nullSafeList(@Nullable List<T> list)