Java Collection Difference differentNull(Collection collection)

Here you can find the source of differentNull(Collection collection)

Description

different Null

License

Open Source License

Declaration

@SuppressWarnings("rawtypes")
    public static Boolean differentNull(Collection collection) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Collection;

public class Main {
    public static Boolean differentNull(Object object) {
        return object != null;
    }/* w  w  w  .  java 2 s.co  m*/

    @SuppressWarnings("rawtypes")
    public static Boolean differentNull(Collection collection) {
        return collection != null;
    }
}

Related

  1. difference(Collection set1, Collection set2)
  2. difference(Collection collection1, Collection result, Collection collection2)
  3. difference(Collection a, Collection b)
  4. difference(final Collection c1, final Collection c2)
  5. difference(final Collection c1, final Collection c2)
  6. getIntersectAndDiffs(Collection a, Collection b, Comparator comparator)
  7. getSymmetricDifference(final Set firstCollection, final Set secondCollection)
  8. leftDifference(final Collection c1, final Collection c2)