Package net.i2p.router.news
Class NewsMetadata.Update
java.lang.Object
net.i2p.router.news.NewsMetadata.Update
- All Implemented Interfaces:
Comparable<NewsMetadata.Update>
- Enclosing class:
- NewsMetadata
public static class NewsMetadata.Update extends Object implements Comparable<NewsMetadata.Update>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Update()
-
Method Summary
Modifier and Type Method Description int
compareTo(NewsMetadata.Update other)
boolean
equals(Object o)
For findbugs.protected int
getTypeOrder()
lower is preferredint
hashCode()
For findbugs.
-
Field Details
-
Constructor Details
-
Update
public Update()
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NewsMetadata.Update>
-
getTypeOrder
protected int getTypeOrder()lower is preferred -
equals
For findbugs. Warning, not a complete comparison. Must be enhanced before using in a Map or Set. -
hashCode
public int hashCode()For findbugs.
-