protected static class Interner.Entry<E> extends WeakReference<E>
Interner.entries
to handle collisions.Modifier and Type | Field and Description |
---|---|
int |
hashCode |
Interner.Entry<E> |
next |
Constructor and Description |
---|
Entry(E object,
int hashCode,
ReferenceQueue<? super E> queue) |
Modifier and Type | Method and Description |
---|---|
Interner.Entry<E> |
getNextEntry() |
String |
toString() |
clear, enqueue, get, isEnqueued
public final int hashCode
public Interner.Entry<E> next
public Entry(E object, int hashCode, ReferenceQueue<? super E> queue)
public Interner.Entry<E> getNextEntry()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) 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