/** Adds the given object to this HashChain. */ @Override public boolean add(E item) { addLast(item); return true; }
public static <T> HashChain<T> listToHashChain(List<T> list) { HashChain<T> c = new HashChain<T>(); Iterator<T> it = list.iterator(); while (it.hasNext()) { c.addLast(it.next()); } return c; }
/** Adds the given object to this HashChain. */ public boolean add(E item) { addLast(item); return true; }
/** Adds the given object to this HashChain. */ public boolean add(E item) { addLast(item); return true; }
public static HashChain listToHashChain(List list) { HashChain c = new HashChain(); Iterator it = list.iterator(); while (it.hasNext()) c.addLast(it.next()); return c; }
public static HashChain listToHashChain(List list) { HashChain c = new HashChain(); Iterator it = list.iterator(); while (it.hasNext()) c.addLast(it.next()); return c; }