net.named_data.jndn.util
public class ChangeCounter extends Object
| Constructor and Description |
|---|
ChangeCounter(ChangeCountable target)
Create a new ChangeCounter to track the given target.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkChanged()
If the target's change count is different than the local change count, then
update the local change count and return true.
|
ChangeCountable |
get()
Get the target object.
|
void |
set(ChangeCountable target)
Set the target to the given target.
|
public ChangeCounter(ChangeCountable target)
target - The target to track. This may be null.public final ChangeCountable get()
public final void set(ChangeCountable target)
target - The target to track. This may be null.public final boolean checkChanged()
Copyright © 2016. All rights reserved.