public class LinkNode extends Object
Serializable objects handle back references
correctly.| Modifier and Type | Field and Description |
|---|---|
LinkNode |
next
The next node in the chain
|
Object |
object
An object value in this LinkNode
|
| Constructor and Description |
|---|
LinkNode(int value)
Creates a new
LinkNode with the given value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Two
LinkNodes are equal if they have the same
value and their next node have the same
value. |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.