Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Arrays;

import java.util.List;

public class Main {
    private static final String DELIMITER = ";";

    public static List<String> stringToGenres(String genres) {
        return Arrays.asList(genres.split(DELIMITER));
    }
}