Package net.i2p.util

Class VersionComparator

java.lang.Object
net.i2p.util.VersionComparator
All Implemented Interfaces:
Serializable, Comparator<String>

public class VersionComparator extends Object implements Comparator<String>, Serializable
Compares versions. Characters other than [0-9.-_] are ignored. I2P only uses '.' but Sun Java uses '_' and plugins may use any of '.-_' Moved from TrustedUpdate.java
Since:
0.7.10
See Also:
  • Constructor Details

    • VersionComparator

      public VersionComparator()
  • Method Details