Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Strings are not Lists. In the JVM java.lang.String does not implement java.util.List.
  • Arrays are not Lists. In the JVM arrays and java.util.List are quite different. In Groovy we support both as different types to ensure we interoperate cleanly with Java code. Though , though we try wherever possible to make them interchangable and appear polymorphic.

...