List of usage examples for org.eclipse.jface.bindings Binding hashCode
int hashCode
To view the source code for org.eclipse.jface.bindings Binding hashCode.
Click Source Link
From source file:org.eclipse.e4.ui.keybinding.tests.Bug189167Test.java
License:Open Source License
public void testHashCodeEquals() { Binding one = createTestBinding(); Binding two = createTestBinding(); Binding b3 = new TestBinding("commandID", "schemeID", "contextID", "locale", "platform", 1, null); assertEquals(one, two);//from w ww.ja v a2 s. c o m assertEquals(one.hashCode(), two.hashCode()); assertFalse(one.equals(b3)); }