AnyValue.java :  » IDE-Eclipse » pde » org » eclipse » pde » api » tools » internal » Java Open Source

Java Open Source » IDE Eclipse » pde 
pde » org » eclipse » pde » api » tools » internal » AnyValue.java
/*******************************************************************************
 * Copyright (c) 2007, 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
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.pde.api.tools.internal;

/**
 * Used to represent any value for system settings in OSGi state.
 * For example, ws, os, arch.
 * 
 * @since 1.0.0
 */
public class AnyValue {
  
  public AnyValue(String arg) {
    // do nothing
  }
  public boolean equals(Object obj) {
    return true;
  }
  public int hashCode() {
    return 0;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.