org.apache.lucene.analysis.miscellaneous.PatternAnalyzer.eq C# (CSharp) Method

eq() private static method

equality where o1 and/or o2 can be null
private static eq ( object o1, object o2 ) : bool
o1 object
o2 object
return bool
	  private static bool eq(object o1, object o2)
	  {
		return (o1 == o2) || (o1 != null ? o1.Equals(o2) : false);
	  }