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 Details

    • type

      public String type
    • torrent

      public String torrent
    • clearnet

      public List<String> clearnet
      Stored as of 0.9.52, but there is no registered handler
    • ssl

      public List<String> ssl
      Stored as of 0.9.52, but there is no registered handler
    • i2pnet

      public List<String> i2pnet
      In-net URLs
      Since:
      0.9.52
  • Constructor Details

    • Update

      public Update()
  • Method Details

    • compareTo

      public int compareTo(NewsMetadata.Update other)
      Specified by:
      compareTo in interface Comparable<NewsMetadata.Update>
    • getTypeOrder

      protected int getTypeOrder()
      lower is preferred
    • equals

      public boolean equals(Object o)
      For findbugs. Warning, not a complete comparison. Must be enhanced before using in a Map or Set.
      Overrides:
      equals in class Object
      Since:
      0.9.21
    • hashCode

      public int hashCode()
      For findbugs.
      Overrides:
      hashCode in class Object
      Since:
      0.9.21