CollectionConcat

See javadoc - uk.gov.gchq.koryphe.impl.binaryoperator.CollectionConcat

Available since Koryphe version 1.0.0

Concatenates two collections together

Examples

Collection concat

Java
JSON
Full JSON
Python
final CollectionConcat collectionConcat = new CollectionConcat();
{
  "class" : "CollectionConcat"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.binaryoperator.CollectionConcat"
}
g.CollectionConcat()

Input type:

java.util.Collection

Example inputs:

Input TypeInputsResult TypeResult
java.util.ArrayList[test1] and [test2, test3]java.util.ArrayList[test1, test2, test3]
java.util.ArrayList[1] and [test2, test3]java.util.ArrayList[1, test2, test3]
java.util.ArrayList[] and [abc, cde]java.util.ArrayList[abc, cde]
java.util.ArrayList[test1] and nulljava.util.ArrayList[test1]
java.util.HashSet[a, b] and [b, c]java.util.HashSet[a, b, c]

results matching ""

    No results matching ""