implicit def vector2List[A, B]()

in bijection-core/src/main/scala-2.13+/com/twitter/bijection/CollectionBijections.scala [192:209]


  implicit def vector2List[A, B](implicit
      bij: ImplicitBijection[A, B]
  ): Bijection[Vector[A], List[B]] =
    toContainer[A, B, Vector[A], List[B]]

  implicit def indexedSeq2List[A, B](implicit
      bij: ImplicitBijection[A, B]
  ): Bijection[IndexedSeq[A], List[B]] =
    toContainer[A, B, IndexedSeq[A], List[B]]

  /**
    * This doesn't actually copy the Array, only wraps/unwraps with WrappedArray
    */
  implicit def array2Iterable[T: ClassTag]: Bijection[Array[T], Iterable[T]] =
    new AbstractBijection[Array[T], Iterable[T]] {
      override def apply(a: Array[T]) = a.toIterable
      override def invert(t: Iterable[T]) = t.toArray
    }