T
public class WeightObj<T> extends Object
protected T
obj
protected int
weight
WeightObj(T obj, int weight)
boolean
equals(Object o)
getObj()
int
getWeight()
hashCode()
void
setObj(T obj)
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
protected T obj
protected final int weight
public WeightObj(T obj, int weight)
public T getObj()
public void setObj(T obj)
public int getWeight()
public boolean equals(Object o)
equals
Object
public int hashCode()
hashCode
Copyright © 2023. All rights reserved.