1 /*******************************************************************************
2 * Copyright (c) 2000, 2012 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal;
16 /** @jniclass flags=no_gen */
20 public LONG (long value) {
25 public boolean equals (Object object) {
26 if (object == this) return true;
27 if (!(object instanceof LONG)) return false;
28 LONG obj = (LONG)object;
29 return obj.value == this.value;
33 public int hashCode () {
34 return (int)(value ^ (value >>> 32));