Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2005, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core;
public class ClasspathAttribute implements IClasspathAttribute {
	private String name;
	private String value;
	public ClasspathAttribute(String nameString value) {
		this. = name;
		this. = value;
	public boolean equals(Object obj) {
		if (!(obj instanceof ClasspathAttribute)) return false;
		return this..equals( && this..equals(other.value);
    public String getName() {
		return this.;
    public String getValue() {
		return this.;
    public int hashCode() {
     	return Util.combineHashCodes(this..hashCode(), this..hashCode());
    public String toString() {
    	return this. + "=" + this.//$NON-NLS-1$
New to GrepCode? Check out our FAQ X