Class GoogleSecretComparatorByVersion
- java.lang.Object
-
- org.springframework.cloud.config.server.environment.secretmanager.GoogleSecretComparatorByVersion
-
- All Implemented Interfaces:
Comparator<com.google.cloud.secretmanager.v1.SecretVersion>
public class GoogleSecretComparatorByVersion extends Object implements Comparator<com.google.cloud.secretmanager.v1.SecretVersion>
-
-
Constructor Summary
Constructors Constructor Description GoogleSecretComparatorByVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(com.google.cloud.secretmanager.v1.SecretVersion leftVersion, com.google.cloud.secretmanager.v1.SecretVersion rightVersion)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(com.google.cloud.secretmanager.v1.SecretVersion leftVersion, com.google.cloud.secretmanager.v1.SecretVersion rightVersion)
- Specified by:
compare
in interfaceComparator<com.google.cloud.secretmanager.v1.SecretVersion>
-
-