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 -
Method Summary
Modifier and TypeMethodDescriptionint
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
-
Constructor Details
-
GoogleSecretComparatorByVersion
public GoogleSecretComparatorByVersion()
-
-
Method Details
-
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>
-