Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
/*!
 * mifmi-commons4j
 * https://github.com/mifmi/mifmi-commons4j
 *
 * Copyright (c) 2015 mifmi.org and other contributors
 * Released under the MIT license
 * https://opensource.org/licenses/MIT
 */

import java.util.Collection;

public class Main {
    public static <T> boolean remove(Collection<T> col, T value) {
        if (col == null) {
            return false;
        }

        return col.remove(value);
    }
}