Serializable
, Comparable
public static class Stamp.BaseEntry extends Object implements Comparable, Serializable
Constructor | Description |
---|---|
BaseEntry(long narId,
long inputId) |
The evidential base entry
|
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(Object o) |
|
boolean |
equals(Object other) |
|
long |
getInputId() |
|
long |
getNarId() |
|
int |
hashCode() |
|
String |
toString() |
public BaseEntry(long narId, long inputId)
narId
- The id of the NAR the input evidence was obtained frominputId
- The nar-specific input id of the inputpublic long getNarId()
public long getInputId()
public int compareTo(Object o)
compareTo
in interface Comparable
Copyright © 2020 OpenNARS. All rights reserved.