-
aQute.bnd.version.Version.compareTo()
-
bibliothek.util.Version.compareTo()
-
cascading.tuple.io.TuplePair.compareTo()
-
ch.agent.t2.time.TimeIndex.compareTo()
-
ch.hsr.geohash.GeoHash.compareTo()
-
ch.njol.skript.util.Version.compareTo()
-
ch.pollet.jzic.datetime.DateTime.compareTo()
-
ch.rakudave.jnetmap.net.status.Status.compareTo()
-
ch.rakudave.jnetmap.status.Status.compareTo()
-
chunmap.model.coord.CPoint.compareTo()
-
classes.NBestResult.compareTo()
-
com.alee.managers.version.VersionInfo.compareTo()
Returns a negative integer, zero, or a positive integer as version is less than, equal to, or greater than the specified one.
@param version version to compare with
@return a negative integer, zero, or a positive integer as version is less than, equal to, or greater than the specified one
-
com.alibaba.citrus.service.form.support.NumberSupport.compareTo()
-
com.alibaba.wasp.EntityGroupInfo.compareTo()
-
com.alibaba.wasp.EntityGroupLocation.compareTo()
-
com.alibaba.wasp.ServerName.compareTo()
-
com.android.sdklib.repository.FullRevision.compareTo()
-
com.android.tools.lint.detector.api.Severity.compareTo()
-
com.barchart.feed.base.values.api.PriceValue.compareTo()
-
com.barrybecker4.game.multiplayer.poker.hand.HandScore.compareTo()
The number of ranks do not need to match. This is convenient when creating a constant score like new HandScore(HandType.PAIR, Rank.King) - meaning a pair of kings and you
@param score the poker hand score to compare to
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
-
com.bramosystems.oss.player.core.client.PluginVersion.compareTo()
Compares this PluginVersion with the specified PluginVersion. Two PluginVersions are the same if they have the same major, minor and revision numbers.
@param o the PluginVersion to compare with this one.
@return {@code 0} if this PluginVersion is the same as the specified PluginVersion,{@code -1} if this PluginVersion is less than the specified PluginVersion and {@code 1}if this PluginVersion is greater than the specified PluginVersion.
@see #compareTo(int,int,int)
-
com.cburch.logisim.LogisimVersion.compareTo()
-
com.comcast.cmb.common.persistence.AbstractDurablePersistence.CmbComposite.compareTo()
-
com.comphenix.protocol.utility.MinecraftVersion.compareTo()
-
com.couchbase.client.vbucket.config.Config.compareTo()
-
com.cybozu.vmbkp.soap.VirtualControllerManager.compareTo()
Comparator. Rule 1. IDE < SCSI. Rule 2. busNumber_ order.
-
com.day.jcr.vault.packaging.Version.compareTo()
-
com.ebay.erl.mobius.core.datajoin.DataJoinKey.compareTo()
-
com.ebay.erl.mobius.core.datajoin.DataJoinValue.compareTo()
-
com.facebook.presto.spi.block.Block.compareTo()
Compares the value at the specified position to the value at the other position in the other block.
-
com.facebook.presto.spi.block.RandomAccessBlock.compareTo()
Compares the value at the specified position to the value at the other position in the other block.
-
com.foundationdb.qp.row.IndexRow.compareTo()
-
com.google.appengine.api.datastore.Key.compareTo()
Compares two {@code Key} objects. The algorithm proceeds as follows:Turn each {@code Key} into an iterator where the first element returnedis the top-most ancestor, the next element is the child of the previous element, and so on. The last element will be the {@code Key} we started with. Once we have assembled these twoiterators (one for 'this' and one for the {@code Key} we're comparing to),consume them in parallel, comparing the next element from each iterator. If at any point the comparison of these two elements yields a non-zero result, return that as the result of the overall comparison. If we exhaust the iterator built from 'this' before we exhaust the iterator built from the other {@code Key}, we return less than. An example: app1.type1.4.app1.type2.9 < app1.type1.4.app1.type2.9.app1.type3.2 If we exhaust the iterator built from the other {@code Key} before weexhaust the iterator built from 'this', we return greater than. An example: app1.type1.4.app1.type2.9.app1.type3.2> app1.type1.4.app1.type2.9 The relationship between individual {@code Key Keys} is performedby comparing app followed by kind followed by id. If both keys are assigned names rather than ids, compares names instead of ids. If neither key has an id or a name we return an arbitrary but consistent result. Assuming all other components are equal, all ids are less than all names.
-
com.google.appengine.api.users.User.compareTo()
-
com.google.caja.reporting.MessageLevel.compareTo()
-
com.google.enterprise.connector.sharepoint.spiimpl.SPDocument.compareTo()
In case of SP2003, following fields are tried in order: lastModified, ID, URL In case of SP2007, ID is used for ordering. Though, in case of renamed/restored folders, items under the folders are sent in order of the folder level. This is required because of the special handling folder rename/restoration. We must ensure that all the items under a renamed/restored folder are sent first for a given changeToken. Note: folderLevel info is set for a doc only in case of parent folder rename/restore. If the two docs one from SP2007 and another from SP2003 is compared, SP2007 will always get the prefrence.
@param doc
-
com.google.enterprise.connector.util.diffing.DiffingConnectorCheckpoint.compareTo()
-
com.google.gwt.core.ext.linker.impl.StandardScriptReference.compareTo()
-
com.google.gwt.core.ext.linker.impl.StandardStylesheetReference.compareTo()
-
com.google.gwt.dev.GwtVersion.compareTo()
-
com.google.ical.values.DateValue.compareTo()
-
com.google.ical.values.Frequency.compareTo()
-
com.google.storage.onestore.v3.OnestoreEntity.Property.Meaning.compareTo()
-
com.googlecode.gaal.data.api.IntSequence.compareTo()
-
com.googlecode.ipv6.IPv6Address.compareTo()
-
com.ibm.icu.math.BigDecimal.compareTo()
Compares this
BigDecimal
to another, using unlimited precision.
The same as {@link #compareTo(BigDecimal,MathContext)}, where the BigDecimal
is rhs
, and the context is new MathContext(0, MathContext.PLAIN)
.
@param rhs The BigDecimal
for the right hand side ofthe comparison.
@return An int
whose value is -1, 0, or 1 asthis
is numerically less than, equal to, or greater than rhs
.
@see #compareTo(Object)
@stable ICU 2.0
-
com.ibm.icu.text.CollationKey.compareTo()
Compare this CollationKey to another CollationKey. The collation rules of the Collator that created this key are applied.
Note: Comparison between CollationKeys created by different Collators might return incorrect results. See class documentation.
@param target target CollationKey
@return an integer value. If the value is less than zero this CollationKeyis less than than target, if the value is zero they are equal, and if the value is greater than zero this CollationKey is greater than target.
@exception NullPointerException is thrown if argument is null.
@see Collator#compare(String,String)
@stable ICU 2.8
-
com.ibm.icu.util.Calendar.compareTo()
Compares the times (in millis) represented by two Calendar
objects.
@param that the Calendar
to compare to this.
@return 0
if the time represented by this Calendar
is equal to the time represented by that Calendar
, a value less than 0
if the time represented by this is before the time represented by that, and a value greater than 0
if the time represented by this is after the time represented by that.
@throws NullPointerException if that Calendar
is null.
@throws IllegalArgumentException if the time of that Calendar
can't be obtained because of invalid calendar values.
@stable ICU 3.4
-
com.ibm.icu.util.VersionInfo.compareTo()
Compares other with this VersionInfo.
@param other VersionInfo to be compared
@return 0 if the argument is a VersionInfo object that has versioninformation equals to this object. Less than 0 if the argument is a VersionInfo object that has version information greater than this object. Greater than 0 if the argument is a VersionInfo object that has version information less than this object.
@stable ICU 2.6
-
com.instantiations.pde.build.util.Version.compareTo()
Compares this
Version
object to another object.
A version is considered to be less than another version if its major component is less than the other version's major component, or the major components are equal and its minor component is less than the other version's minor component, or the major and minor components are equal and its micro component is less than the other version's micro component, or the major, minor and micro components are equal and it's qualifier component is less than the other version's qualifier component (using String.compareTo
).
A version is considered to be equal to another version if the major, minor and micro components are equal and the qualifier component is equal (using String.compareTo
).
@param object The Version
object to be compared.
@return A negative integer, zero, or a positive integer if this object isless than, equal to, or greater than the specified Version
object.
@throws ClassCastException If the specified object is not aVersion
.
-
com.intellij.pom.java.LanguageLevel.compareTo()
-
com.kokakiwi.mclauncher.utils.Version.compareTo()
-
com.lightcrafts.image.metadata.values.ImageMetaValue.compareTo()
Compares this ImageMetaValue
to another object. By default, a string comparison is done.
@param o The object, presumed to be another ImageMetaValue
,to compare to.
@return Returns a negative integer, zero, or a positive integer as thisImageMetaValue
is less than, equal to, or greater than the other ImageMetaValue
.
@throws IllegalArgumentException if the other object is not anImageMetaValue
.
@see #compareTo(String)
-
com.lightcrafts.model.Scale.compareTo()
A Scale is bigger than another if getFactor() returns a larger value.
-
com.lightcrafts.utils.Rational.compareTo()
Compares this Rational
with another object for order.
@param o The object to compare to.
@return Returns a negative, zero, or a positive integer if the numericvalue of this Rational
is less than, equal to, or greater than the numeric value of the other object.
@throws ClassCastException if the other object is not a {@link Number}.
-
com.linkedin.restli.common.ProtocolVersion.compareTo()
-
com.lowagie.text.Font.compareTo()
Compares this Font
with another
@param object the other Font
@return a value
-
com.lowagie.text.LwgFont.compareTo()
Compares this Font
with another
@param object the other Font
@return a value
-
com.meapsoft.FeatChunk.compareTo()
-
com.orientechnologies.orient.core.id.OClusterPosition.compareTo()
-
com.orientechnologies.orient.core.id.ORID.compareTo()
-
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber.compareTo()
-
com.orientechnologies.orient.core.version.ORecordVersion.compareTo()
-
com.oti.Location.compareTo()
-
com.oti.Piece.compareTo()
-
com.pahimar.ee3.api.EnergyValue.compareTo()
-
com.sleepycat.je.utilint.VLSN.compareTo()
Compares this VLSN's sequence with the specified VLSN's sequence for order. Returns a negative integer, zero, or a positive integer as this sequence is less than, equal to, or greater than the specified sequence.
-
com.sonymobile.tools.gerrit.gerritevents.dto.rest.Notify.compareTo()
-
com.sun.enterprise.module.ModuleState.compareTo()
-
com.sun.tools.javac.jvm.Target.compareTo()
-
com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion.compareTo()
-
com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion.compareTo()
-
com.thinkaurelius.titan.diskstorage.StaticBuffer.compareTo()
-
com.thinkaurelius.titan.graphdb.internal.InternalType.compareTo()
-
com.twitter.elephantbird.mapreduce.input.LuceneIndexInputFormat.LuceneIndexInputSplit.compareTo()
-
com.vividsolutions.jts.linearref.LinearLocation.compareTo()
Compares this object with the specified object for order.
@param o the LineStringLocation
with which this Coordinate
is being compared
@return a negative integer, zero, or a positive integer as this LineStringLocation
is less than, equal to, or greater than the specified LineStringLocation
-
com.vividsolutions.jts.planargraph.DirectedEdge.compareTo()
Returns 1 if this DirectedEdge has a greater angle with the positive x-axis than b", 0 if the DirectedEdges are collinear, and -1 otherwise.
Using the obvious algorithm of simply computing the angle is not robust, since the angle calculation is susceptible to roundoff. A robust algorithm is:
- first compare the quadrants. If the quadrants are different, it it trivial to determine which vector is "greater".
- if the vectors lie in the same quadrant, the robust {@link CGAlgorithms#computeOrientation(Coordinate,Coordinate,Coordinate)}function can be used to decide the relative orientation of the vectors.
-
com.volantis.styling.compiler.Specificity.compareTo()
-
com.wesabe.api.accounts.entities.Txaction.compareTo()
-
com.wesabe.api.util.money.Money.compareTo()
-
com.xuggle.xuggler.IRational.compareTo()
Compare a rational to this rational
@param other second rational
-
com.zaranux.client.crypto.util.BigInteger.compareTo()
-
cpw.mods.fml.common.versioning.ArtifactVersion.compareTo()
-
cpw.mods.fml.common.versioning.ComparableVersion.compareTo()
-
cpw.mods.fml.common.versioning.DefaultArtifactVersion.compareTo()
-
de.innovationgate.wga.common.beans.csconfig.v1.Version.compareTo()
-
de.lmu.ifi.dbs.elki.database.ids.DBID.compareTo()
-
de.lmu.ifi.dbs.elki.distance.distancevalue.DoubleDistance.compareTo()
-
de.lmu.ifi.dbs.elki.utilities.pairs.IntIntPair.compareTo()
Implementation of comparable interface, sorting by first then second.
@param other Object to compare to
@return comparison result
-
de.mh4j.solver.genetic.Genome.compareTo()
Compares this genome to another genome depending on the return values of {@link #isBetterThan(Genome)} and {@link #equals(Object)}.
@param otherGenome the other genome which is compared to this genome
@return Comparable.GREATER
if this genome is better
Comparable.LOWER
if this genome is worse
Comparable.EQUAL
if both genomes are equal
or some value randomly chosen between Comparable.LOWER
and Comparable.GREATER
if this.isBetterThan(otherGenome)
and otherGenome.isBetterThan(this)
and this.equals(otherGenome)
all return false
@see Comparable
-
devplugin.Date.compareTo()
{@inheritDoc}
@see java.lang.Comparable#compareTo(java.lang.Object)
-
devplugin.Version.compareTo()
-
dovetaildb.bytes.Bytes.compareTo()
-
dovetaildb.bytes.SlicedBytes.compareTo()
-
dovetaildb.dbservice.DbResultLiterals.DbResultAtom.compareTo()
-
edu.isi.karma.kr2rml.KR2RMLVersion.compareTo()
-
edu.isi.karma.modeling.alignment.LinkFrequency.compareTo()
-
edu.uci.ics.hyracks.data.std.primitive.UTF8StringPointable.compareTo()
-
edu.umd.cloud9.webgraph.data.AnchorText.compareTo()
For sorting purposes, the comparison is only limited to the type and the text of two AnchorText objects. To check complete equality of the objects use the equals method.
-
eu.stratosphere.pact.runtime.test.util.TestData.Key.compareTo()
-
eu.stratosphere.pact.runtime.test.util.TestData.Value.compareTo()
-
eu.stratosphere.types.Key.compareTo()
-
eu.stratosphere.types.StringValue.compareTo()
-
general.datastructures.PriorityNode.compareTo()
@see Comparable
-
hudson.util.VersionNumber.compareTo()
-
io.airlift.slice.Slice.compareTo()
Compares the content of the specified buffer to the content of this buffer. This comparison is performed byte by byte using an unsigned comparison.
-
io.airlift.units.Duration.compareTo()
-
io.druid.timeline.DataSegment.compareTo()
-
it.eng.spagobi.engines.kpi.bo.KpiLine.compareTo()
-
it.geosolutions.geoserver.rest.decoder.about.GSVersionDecoder.compareTo()
@see {@link Enum#compareTo(Enum)}
@param v
@return
-
ivory.lsh.data.MinhashSignature.compareTo()
-
ivory.lsh.data.NBitSignature.compareTo()
-
ivory.lsh.data.Signature.compareTo()
-
ivory.lsh.data.SixtyFourBitSignature.compareTo()
-
java.io.File.compareTo()
Answers the relative sort ordering of paths for the receiver and given argument. The ordering is platform dependent.
@param another a File to compare the receiver to
@return an int determined by comparing the two paths. The meaning isdescribed in the Comparable interface.
@see Comparable
-
java.lang.Comparable.compareTo()
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
The implementor must ensure sgn(x.compareTo(y)) == -sgn(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception iff y.compareTo(x) throws an exception.)
The implementor must also ensure that the relation is transitive: (x.compareTo(y)>0 && y.compareTo(z)>0) implies x.compareTo(z)>0.
Finally, the implementor must ensure that x.compareTo(y)==0 implies that sgn(x.compareTo(z)) == sgn(y.compareTo(z)), for all z.
It is strongly recommended, but not strictly required that (x.compareTo(y)==0) == (x.equals(y)). Generally speaking, any class that implements the Comparable interface and violates this condition should clearly indicate this fact. The recommended language is "Note: this class has a natural ordering that is inconsistent with equals."
In the foregoing description, the notation sgn(expression) designates the mathematical signum function, which is defined to return one of -1, 0, or 1 according to whether the value of expression is negative, zero or positive.
@param o the object to be compared.
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
@throws ClassCastException if the specified object's type prevents itfrom being compared to this object.
-
java.lang.String.compareTo()
Compares two strings lexicographically. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this
String
object is compared lexicographically to the character sequence represented by the argument string. The result is a negative integer if this
String
object lexicographically precedes the argument string. The result is a positive integer if this
String
object lexicographically follows the argument string. The result is zero if the strings are equal;
compareTo
returns
0
exactly when the {@link #equals(Object)} method would return
true
.
This is the definition of lexicographic ordering. If two strings are different, then either they have different characters at some index that is a valid index for both strings, or their lengths are different, or both. If they have different characters at one or more index positions, let k be the smallest such index; then the string whose character at position k has the smaller value, as determined by using the < operator, lexicographically precedes the other string. In this case, compareTo
returns the difference of the two character values at position k
in the two string -- that is, the value:
this.charAt(k)-anotherString.charAt(k)
If there is no index position at which they differ, then the shorter string lexicographically precedes the longer string. In this case,
compareTo
returns the difference of the lengths of the strings -- that is, the value:
this.length()-anotherString.length()
@param anotherString the
String
to be compared.
@return the value
0
if the argument string is equal tothis string; a value less than
0
if this string is lexicographically less than the string argument; and a value greater than
0
if this string is lexicographically greater than the string argument.
-
java.math.BigDecimal.compareTo()
Compares this {@code BigDecimal} with the specified{@code BigDecimal}. Two {@code BigDecimal} objects that areequal in value but have a different scale (like 2.0 and 2.00) are considered equal by this method. This method is provided in preference to individual methods for each of the six boolean comparison operators ( {@literal <}, ==, {@literal>}, {@literal >=}, !=, {@literal <=}). The suggested idiom for performing these comparisons is: {@code (x.compareTo(y)} <op> {@code 0)}, where <op> is one of the six comparison operators.
@param val {@code BigDecimal} to which this {@code BigDecimal} is to be compared.
@return -1, 0, or 1 as this {@code BigDecimal} is numerically less than, equal to, or greater than {@code val}.
-
java.net.URI.compareTo()
Compares this URI to another object, which must be a URI.
When comparing corresponding components of two URIs, if one component is undefined but the other is defined then the first is considered to be less than the second. Unless otherwise noted, string components are ordered according to their natural, case-sensitive ordering as defined by the {@link java.lang.String#compareTo(Object) String.compareTo} method. String components that are subject toencoding are compared by comparing their raw forms rather than their encoded forms.
The ordering of URIs is defined as follows:
Two URIs with different schemes are ordered according the ordering of their schemes, without regard to case.
A hierarchical URI is considered to be less than an opaque URI with an identical scheme.
Two opaque URIs with identical schemes are ordered according to the ordering of their scheme-specific parts.
Two opaque URIs with identical schemes and scheme-specific parts are ordered according to the ordering of their fragments.
Two hierarchical URIs with identical schemes are ordered according to the ordering of their authority components:
If both authority components are server-based then the URIs are ordered according to their user-information components; if these components are identical then the URIs are ordered according to the ordering of their hosts, without regard to case; if the hosts are identical then the URIs are ordered according to the ordering of their ports.
If one or both authority components are registry-based then the URIs are ordered according to the ordering of their authority components.
Finally, two hierarchical URIs with identical schemes and authority components are ordered according to the ordering of their paths; if their paths are identical then they are ordered according to the ordering of their queries; if the queries are identical then they are ordered according to the order of their fragments.
This method satisfies the general contract of the {@link java.lang.Comparable#compareTo(Object) Comparable.compareTo}method.
@param that The object to which this URI is to be compared
@return A negative integer, zero, or a positive integer as this URI isless than, equal to, or greater than the given URI
@throws ClassCastException If the given object is not a URI
-
java.nio.ByteBuffer.compareTo()
Compare the remaining byte
s of this buffer to another byte buffer's remaining byte
s.
@param otherBuffer Another byte buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a byte buffer
-
java.nio.CharBuffer.compareTo()
Compare the remaining char
s of this buffer to another char buffer's remaining char
s.
@param otherBuffer Another char buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a char buffer
-
java.nio.DoubleBuffer.compareTo()
Compare the remaining double
s of this buffer to another double buffer's remaining double
s.
@param otherBuffer Another double buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a double buffer
-
java.nio.FloatBuffer.compareTo()
Compare the remaining float
s of this buffer to another float buffer's remaining float
s.
@param otherBuffer Another float buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a float buffer
-
java.nio.IntBuffer.compareTo()
Compare the remaining int
s of this buffer to another int buffer's remaining int
s.
@param otherBuffer Another int buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a int buffer
-
java.nio.LongBuffer.compareTo()
Compares this buffer to another.
Two long buffers are compared by comparing their sequences of remaining elements lexicographically, without regard to the starting position of each sequence within its corresponding buffer.
A long buffer is not comparable to any other type of object.
@return A negative integer, zero, or a positive integer as this bufferis less than, equal to, or greater than the given buffer
-
java.nio.ShortBuffer.compareTo()
Compare the remaining short
s of this buffer to another short buffer's remaining short
s.
@param otherBuffer Another short buffer
@return a negative value if this is less than other
; 0 ifthis equals to other
; a positive value if this is greater than other
@exception ClassCastException If other
is not a short buffer
-
java.nio.file.Path.compareTo()
Compares two abstract paths lexicographically. The ordering defined by this method is provider specific, and in the case of the default provider, platform specific. This method does not access the file system and neither file is required to exist.
This method may not be used to compare paths that are associated with different file system providers.
@param other the path compared to this path.
@return zero if the argument is {@link #equals equal} to this path, avalue less than zero if this path is lexicographically less than the argument, or a value greater than zero if this path is lexicographically greater than the argument
@throws ClassCastException if the paths are associated with different providers
-
java.sql.Date.compareTo()
-
java.sql.Timestamp.compareTo()
-
java.text.CollationKey.compareTo()
Compare this CollationKey to the target CollationKey. The collation rules of the Collator object which created these keys are applied. Note: CollationKeys created by different Collators can not be compared.
@param target target CollationKey
@return Returns an integer value. Value is less than zero if this is lessthan target, value is zero if this and target are equal and value is greater than zero if this is greater than target.
@see java.text.Collator#compare
-
java.util.Calendar.compareTo()
Compares the time values (millisecond offsets from the
Epoch) represented by two
Calendar
objects.
@param anotherCalendar the
Calendar
to be compared.
@return the value
0
if the time represented by the argumentis equal to the time represented by this
Calendar
; a value less than
0
if the time of this
Calendar
is before the time represented by the argument; and a value greater than
0
if the time of this
Calendar
is after the time represented by the argument.
@exception NullPointerException if the specified
Calendar
is
null
.
@exception IllegalArgumentException if the time value of thespecified
Calendar
object can't be obtained due to any invalid calendar values.
@since 1.5
-
java.util.Collection.compareTo()
-
java.util.Date.compareTo()
Compares two Dates for ordering.
@param anotherDate the Date
to be compared.
@return the value 0
if the argument Date is equal tothis Date; a value less than 0
if this Date is before the Date argument; and a value greater than 0
if this Date is after the Date argument.
@since 1.2
@exception NullPointerException if anotherDate
is null.
-
java.util.GregorianCalendar.compareTo()
-
java.util.UUID.compareTo()
Compares this UUID with the specified UUID.
The first of two UUIDs follows the second if the most significant field in which the UUIDs differ is greater for the first UUID.
@param val UUID to which this UUID is to be compared.
@return -1, 0 or 1 as this UUID is less than, equalto, or greater than val.
-
javax.faces.application.FacesMessage.Severity.compareTo()
-
javax.faces.event.PhaseId.compareTo()
-
javax.lang.model.SourceVersion.compareTo()
-
javax.naming.CompoundName.compareTo()
Compare this
CompoundName
with the one supplied as a param.
See the definition of the equals()
method to see how the direction, ignorecase and trimblanks properties affect the comparison of a CompoundName
. Other than that the comparison is the same as that for a CompositeName
.
@return a negative number means this is less than the supplied Object
o
. a positive number means this is greater than the supplied Object
o
. zero means the two objects are equal.
@param o the object to compare - cannot be null.
@throws ClassCastException when
o
is not a compatible class that can be compared or if the object to compare
o
is null.
-
javax.naming.Name.compareTo()
Compare this Name
with the one supplied as a parameter. Each class which implements this interface will have a specification of how to do the comparison.
@param o the object to compare - cannot be null.
@return a negative number means this is less than the supplied object.a positive number means this is greater than the supplied object. Zero means the two objects are equal.
-
javax.naming.ldap.LdapName.compareTo()
Compares this LdapName with the specified Object for order. Returns a negative integer, zero, or a positive integer as this Name is less than, equal to, or greater than the given Object.
If obj is null or not an instance of LdapName, ClassCastException is thrown.
Ordering of LDAP names follows the lexicographical rules for string comparison, with the extension that this applies to all the RDNs in the LDAP name. All the RDNs are lined up in their specified order and compared lexicographically. See {@link Rdn#compareTo(Object obj) Rdn.compareTo(Object obj)}for RDN comparison rules.
If this LDAP name is lexicographically lesser than obj, a negative number is returned. If this LDAP name is lexicographically greater than obj, a positive number is returned.
@param obj The non-null LdapName instance to compare against.
@return A negative integer, zero, or a positive integer as this Nameis less than, equal to, or greater than the given obj.
@exception ClassCastException if obj is null or not a LdapName.
-
javax.naming.ldap.Rdn.compareTo()
Compares this Rdn with the specified Object for order. Returns a negative integer, zero, or a positive integer as this Rdn is less than, equal to, or greater than the given Object.
If obj is null or not an instance of Rdn, ClassCastException is thrown.
The attribute type and value pairs of the RDNs are lined up against each other and compared lexicographically. The order of components in multi-valued Rdns (such as "ou=Sales+cn=Bob") is not significant.
@param obj The non-null object to compare against.
@return A negative integer, zero, or a positive integer as this Rdnis less than, equal to, or greater than the given Object.
@exception ClassCastException if obj is null or not a Rdn.
-
jp.ac.kobe_u.cs.prolog.lang.Term.compareTo()
-
krati.retention.clock.Clock.compareTo()
Compares this clock with the specified clock for ordering.
@param c - a clock to compare.
-
lupos.datastructures.items.Variable.compareTo()
-
lupos.optimizations.physical.joinorder.costbasedoptimizer.plan.Plan.compareTo()
This method is essential and determines if this or another plan is better.
@param arg0 the other plan to compare
@return value < 0 if this plan is better, value> 0 if the other plan is better, 0 if the plans are exactly the same (if the plans are different but are as good as the other, then an ordering is defined by comparing the string representations)
-
narzedzia.Para.compareTo()
-
net.azib.ipscan.core.values.IntegerWithUnit.compareTo()
-
net.bytten.metazelda.util.Coords.compareTo()
-
net.floodlightcontroller.devicemanager.internal.DeviceSyncRepresentation.SyncEntity.compareTo()
-
net.i2p.util.NativeBigInteger.compareTo()
-
net.pterodactylus.util.version.Version.compareTo()
-
net.raymanoz.migrate.Script.compareTo()
-
net.sf.cpsolver.ifs.model.Variable.compareTo()
-
net.sf.jasperreports.crosstabs.fill.calculation.BucketDefinition.Bucket.compareTo()
-
net.sf.saxon.value.NumericValue.compareTo()
Compare the value to another numeric value
@exception ClassCastException if the other value is not a NumericValue(the parameter is declared as Object to satisfy the Comparable interface)
@param other The other numeric value
@return -1 if this one is the lower, 0 if they are numerically equal,+1 if this one is the higher, or if either value is NaN. Where NaN values are involved, they should be handled by the caller before invoking this method.
-
net.sourceforge.ganttproject.GanttCalendar.compareTo()
This function compare two date
@return 0 If the two date are equals
@return -1 if the date is before when
@return 1 if the date is after when
-
net.sourceforge.javautil.bytecode.api.TypeDescriptor.compareTo()
-
net.sourceforge.javautil.classloader.resolver.IClassPackage.IVersion.compareTo()
-
opennlp.model.ComparablePredicate.compareTo()
-
opennlp.tools.ml.model.ComparablePredicate.compareTo()
-
org.activeio.journal.RecordLocation.compareTo()
-
org.alfresco.util.VersionNumber.compareTo()
-
org.apache.accumulo.core.data.Key.compareTo()
Compare elements of a key given by a {@link PartialKey}. For example, for {@link PartialKey#ROW_COLFAM}, compare just the row and column family. If the rows are not equal, return the result of the row comparison; otherwise, return the result of the column family comparison.
@see #compareTo(Key)
-
org.apache.accumulo.core.data.KeyExtent.compareTo()
Compares extents based on rows
-
org.apache.accumulo.core.data.Value.compareTo()
Define the sort order of the BytesWritable.
@param right_obj The other bytes writable
@return Positive if left is bigger than right, 0 if they are equal, and negative if left is smaller than right.
-
org.apache.accumulo.server.logger.LogFileKey.compareTo()
-
org.apache.accumulo.tserver.logger.LogFileKey.compareTo()
-
org.apache.activeio.journal.RecordLocation.compareTo()
-
org.apache.activemq.kaha.impl.async.Location.compareTo()
-
org.apache.activemq.store.kahadb.disk.journal.Location.compareTo()
-
org.apache.ambari.server.controller.spi.Resource.Type.compareTo()
-
org.apache.ambari.server.state.StackId.compareTo()
-
org.apache.avalon.framework.Version.compareTo()
Compare two versions together according to the {@link Comparable} interface.
@return number indicating relative value (-1, 0, 1)
-
org.apache.avro.util.Utf8.compareTo()
-
org.apache.axis2.description.Version.compareTo()
-
org.apache.camel.converter.crypto.HMACAccumulator.CircularBuffer.compareTo()
-
org.apache.cassandra.db.DecoratedKey.compareTo()
-
org.apache.cassandra.db.commitlog.ReplayPosition.compareTo()
-
org.apache.cassandra.dht.Token.compareTo()
This determines the comparison for node destination purposes.
-
org.apache.cassandra.thrift.CqlMetadata.compareTo()
-
org.apache.cassandra.utils.NodeId.compareTo()
-
org.apache.cayenne.modeler.util.Version.compareTo()
-
org.apache.commons.math3.fraction.BigFraction.compareTo()
Compares this object to another based on size.
@param object the object to compare to, must not be
null
.
@return -1 if this is less than {@code object}, +1 if this is greater than {@code object}, 0 if they are equal.
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.apache.derbyTesting.functionTests.tests.upgradeTests.Version.compareTo()
-
org.apache.derbyTesting.junit.DerbyVersion.compareTo()
-
org.apache.directory.api.ldap.model.csn.Csn.compareTo()
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
@param csn the Object to be compared.
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
-
org.apache.directory.api.ldap.model.entry.BinaryValue.compareTo()
@see ServerValue#compareTo(Value)
-
org.apache.directory.api.ldap.model.entry.StringValue.compareTo()
@see ServerValue#compareTo(Value)
@throws IllegalStateException on failures to extract the comparator, or thenormalizers needed to perform the required comparisons based on the schema
-
org.apache.directory.api.ldap.model.name.Ava.compareTo()
@see Comparable#compareTo(Object)
-
org.apache.directory.api.util.GeneralizedTime.compareTo()
Compares this GeneralizedTime object with the specified GeneralizedTime object.
@param other the other GeneralizedTime object
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.apache.directory.shared.ldap.model.name.Rdn.compareTo()
Compares two RDNs. They are equals if :
- their have the same number of NC (AttributeTypeAndValue)
- each ATAVs are equals
- comparison of type are done case insensitive
- each value is equal, case sensitive
- Order of ATAV is not important If the RDNs are not equals, a positive number is returned if the first Rdn is greater, negative otherwise
@param rdn the Rdn to be compared
@return 0 if both RDNs are equals. -1 if the current Rdn is inferior, 1 ifthe current Rdn is superior, UNDEFINED otherwise.
-
org.apache.directory.shared.util.GeneralizedTime.compareTo()
Compares this GeneralizedTime object with the specified GeneralizedTime object.
@param other the other GeneralizedTime object
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.apache.felix.tool.mangen.OsgiPackage.compareTo()
Just used for sorting in reports
-
org.apache.flink.compiler.costs.Costs.compareTo()
The order of comparison is: network first, then disk, then CPU. The comparison here happens each time primarily after the heuristic costs, then after the quantifiable costs.
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.apache.flink.runtime.operators.testutils.TestData.Key.compareTo()
-
org.apache.flink.runtime.operators.testutils.TestData.Value.compareTo()
-
org.apache.flink.types.Key.compareTo()
-
org.apache.flink.types.StringValue.compareTo()
-
org.apache.geronimo.kernel.repository.Version.compareTo()
-
org.apache.gora.persistency.ListGenericArray.compareTo()
-
org.apache.hadoop.fs.Path.compareTo()
-
org.apache.hadoop.hbase.HRegionInfo.compareTo()
-
org.apache.hadoop.hbase.HServerAddress.compareTo()
-
org.apache.hadoop.hbase.HServerLoad.compareTo()
-
org.apache.hadoop.hbase.HStoreKey.compareTo()
-
org.apache.hadoop.hbase.TableName.compareTo()
-
org.apache.hadoop.hbase.io.BatchUpdate.compareTo()
-
org.apache.hadoop.hbase.mapreduce.TableSplit.compareTo()
Compares this split against the given one.
@param split The split to compare to.
@return The result of the comparison.
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.apache.hadoop.hive.common.type.Decimal128.compareTo()
Compares this {@code Decimal128} with the specified {@code Decimal128}. Two {@code Decimal128} objects that are equal in value but have a differentscale (like 2.0 and 2.00) are considered equal by this method. This method is provided in preference to individual methods for each of the six boolean comparison operators ( {@literal <}, ==, {@literal>}, {@literal >=}, !=, {@literal <=}). The suggested idiom for performing these comparisons is: {@code (x.compareTo(y)} <op> {@code 0)}, where <op> is one of the six comparison operators.
@param val {@code Decimal128} to which this {@code Decimal128} is to becompared.
@return a negative integer, zero, or a positive integer as this{@code Decimal128} is numerically less than, equal to, or greaterthan {@code val}.
-
org.apache.hadoop.hive.common.type.HiveDecimal.compareTo()
-
org.apache.hadoop.hive.common.type.HiveVarchar.compareTo()
-
org.apache.hadoop.hive.ql.io.RecordIdentifier.compareTo()
-
org.apache.hadoop.hive.ql.io.orc.OrcRawRecordMerger.ReaderKey.compareTo()
-
org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin.AliasFileSizePair.compareTo()
-
org.apache.hadoop.hive.serde2.columnar.BytesRefArrayWritable.compareTo()
{@inheritDoc}
-
org.apache.hadoop.io.BytesWritable.compareTo()
Define the sort order of the BytesWritable.
@param right_obj The other bytes writable
@return Positive if left is bigger than right, 0 if they are equal, andnegative if left is smaller than right.
-
org.apache.hadoop.io.LongWritable.compareTo()
Compares two LongWritables.
-
org.apache.hadoop.io.Text.compareTo()
Compare two Texts bytewise using standard UTF8 ordering.
-
org.apache.hadoop.io.WritableComparable.compareTo()
-
org.apache.hadoop.yarn.api.records.Priority.compareTo()
-
org.apache.jackrabbit.core.id.NodeId.compareTo()
Compares this identifier to the given other one.
@param that other identifier
@return -1, 0 or +1 if this identifier is less than, equal to,or greater than the given other identifier
-
org.apache.jackrabbit.uuid.UUID.compareTo()
Compares two UUID's for equality
@see Comparable#compareTo(Object)
-
org.apache.jena.tdbloader4.io.LongQuadWritable.compareTo()
-
org.apache.kahadb.journal.Location.compareTo()
-
org.apache.lucene.facet.taxonomy.CategoryPath.compareTo()
Compares this CategoryPath with the other CategoryPath for lexicographic order. Returns a negative integer, zero, or a positive integer as this CategoryPath lexicographically precedes, equals to, or lexicographically follows the other CategoryPath.
-
org.apache.lucene.index.FieldInfo.IndexOptions.compareTo()
-
org.apache.lucene.index.Term.compareTo()
Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument. The ordering of terms is first by field, then by text.
-
org.apache.lucene.util.BytesRef.compareTo()
Unsigned byte order comparison
-
org.apache.lucene.util.IntsRef.compareTo()
Signed int order comparison
-
org.apache.maven.artifact.versioning.ArtifactVersion.compareTo()
-
org.apache.maven.artifact.versioning.ComparableVersion.compareTo()
-
org.apache.maven.artifact.versioning.DefaultArtifactVersion.compareTo()
-
org.apache.maven.shared.release.versions.DefaultVersionInfo.compareTo()
Compares this {@link DefaultVersionInfo} to the supplied {@link DefaultVersionInfo}to determine which version is greater.
@param obj the comparison version
@return the comparison value
@throws IllegalArgumentException if the components differ between the objects or if either of the annotations can not be determined.
-
org.apache.maven.shared.release.versions.VersionInfo.compareTo()
-
org.apache.pig.data.DataByteArray.compareTo()
Compare two byte arrays. Comparison is done first using byte values then length. So "g" will be greater than "abcdefg", but "hello worlds" is greater than "hello world". If the other object is not a DataByteArray, {@link DataType#compare} will be called.
@param other Other object to compare to.
@return -1 if less than, 1 if greater than, 0 if equal.
-
org.apache.pig.data.Datum.compareTo()
-
org.apache.pig.data.Tuple.compareTo()
-
org.apache.poi.hssf.record.formula.functions.LookupUtils.LookupValueComparer.compareTo()
-
org.apache.poi.ss.formula.functions.LookupUtils.LookupValueComparer.compareTo()
-
org.apache.qpid.amqp_1_0.type.UnsignedInteger.compareTo()
-
org.apache.sis.util.Version.compareTo()
Compares this version with an other version object, up to the specified limit. A limit of 1 compares only the {@linkplain #getMajor() major} version number. A limit of 2 comparesthe major and {@linkplain #getMinor() minor} version numbers, etc.The comparisons are performed as {@link Integer} object if possible, or as {@link String}otherwise.
@param other The other version object to compare with.
@param limit The maximum number of components to compare.
@return A negative value if this version is lower than the supplied version, a positivevalue if it is higher, or 0 if they are equal.
-
org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.compareTo()
-
org.apache.sling.servlets.resolver.helper.WeightedResource.compareTo()
-
org.apache.stanbol.enhancer.nlp.model.Span.compareTo()
-
org.apache.tajo.master.cluster.ServerName.compareTo()
-
org.apache.tajo.storage.TupleRange.compareTo()
-
org.apache.torque.om.NumberKey.compareTo()
@param o the comparison value
@return a numeric comparison of the two values
-
org.apache.turbine.om.ComboKey.compareTo()
-
org.apache.turbine.om.NumberKey.compareTo()
-
org.apache.vxquery.datamodel.accessors.atomic.XSDecimalPointable.compareTo()
-
org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.PubSubAffiliation.compareTo()
-
org.apache.wicket.util.time.Duration.compareTo()
-
org.apache.xmlbeans.XmlAnySimpleType.compareTo()
-
org.archive.modules.CrawlURI.compareTo()
-
org.bitcoinj.core.Coin.compareTo()
-
org.broadleafcommerce.common.money.Money.compareTo()
-
org.bson.types.BSONTimestamp.compareTo()
-
org.bson.types.ObjectId.compareTo()
-
org.candlepin.model.PoolQuantity.compareTo()
-
org.candlepin.util.X509V3ExtensionUtil.NodePair.compareTo()
-
org.chaidb.db.index.Key.compareTo()
Compare this key with another key.
@param otherKey the other key this key compares to
@return 0 if two keys are equal, negative integer (<0) if the other keyis greater; positive integer (>0) if this key is greater.
@throws ChaiDBException if the two keys are not the same type.
-
org.chromium.debug.core.sourcemap.TextSectionMapping.TextPoint.compareTo()
-
org.chromium.sdk.Version.compareTo()
-
org.codehaus.activemq.journal.RecordLocation.compareTo()
-
org.codehaus.staxmate.in.SMEvent.compareTo()
-
org.databene.mad4db.ChangeSeverity.compareTo()
-
org.dhcp4java.InetCidr.compareTo()
Compare two InetCidr by its addr as main criterion, mask as second.
Note: this class has a natural ordering that is inconsistent with equals.
@param o
@return a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-
org.drools.planner.core.score.Score.compareTo()
-
org.drools.planner.core.score.buildin.hardandsoft.DefaultHardAndSoftScore.compareTo()
-
org.dru.clay.respository.artifact.Version.compareTo()
-
org.eclipse.ecf.core.identity.ID.compareTo()
-
org.eclipse.imp.pdb.facts.type.Type.compareTo()
-
org.eclipse.jst.jsf.core.JSFVersion.compareTo()
-
org.eclipse.sapphire.Version.compareTo()
-
org.eclipse.test.internal.performance.results.model.ResultsElement.compareTo()
-
org.eclipse.wst.common.project.facet.core.IProjectFacetVersion.compareTo()
-
org.emftrace.ui.controls.ContentProviderResultItem.compareTo()
Compares this object with the given object according to the labels
Required for sort.
@param compareObject the other object
@return a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-
org.exist.numbering.NodeId.compareTo()
-
org.exist.versioning.svn.internal.wc.admin.SVNVersionedProperties.compareTo()
-
org.fenixedu.academic.domain.ExecutionYear.compareTo()
-
org.freeplane.core.util.FreeplaneVersion.compareTo()
Use it like this:
import org.freeplane.core.util.FreeplaneVersion def required = FreeplaneVersion.getVersion("1.2.20") if (c.freeplaneVersion < required) ui.errorMessage("Freeplane version ${c.freeplaneVersion}" + " not supported - update to at least ${required}")
-
org.freeplane.features.format.FormattedNumber.compareTo()
-
org.fusesource.mqtt.client.QoS.compareTo()
-
org.geoserver.security.impl.DataAccessRule.compareTo()
Comparison implemented so that generic rules get first, specific one are compared by name, and if anything else is equal, read comes before write
-
org.geoserver.wfs.WFSInfo.Version.compareTo()
-
org.geotools.geometry.iso.topograph2D.Coordinate.compareTo()
Compares this {@link Coordinate} with the specified {@link Coordinate}for order. This method ignores the z value when making the comparison. Returns:
- -1 : this.x < other.x || ((this.x == other.x) && (this.y < other.y))
- 0 : this.x == other.x && this.y = other.y
- 1 : this.x > other.x || ((this.x == other.x) && (this.y > other.y))
Note: This method assumes that ordinate values are valid numbers. NaN values are not handled correctly.
@param o the
Coordinate
with which this
Coordinate
is being compared
@return -1, zero, or 1 as this
Coordinate
is less than,equal to, or greater than the specified
Coordinate
-
org.geotools.util.SimpleInternationalString.compareTo()
-
org.geotools.util.Version.compareTo()
Compares this version with an other version object, up to the specified limit. A limit of 1 compares only the {@linkplain #getMajor major} version number. A limit of 2 comparesthe major and {@linkplain #getMinor minor} version numbers, etc. Thecomparaisons are performed as {@link Integer} object if possible, or as {@link String}otherwise.
@param other The other version object to compare with.
@param limit The maximum number of components to compare.
@return A negative value if this version is lower than the supplied version, a positivevalue if it is higher, or 0 if they are equal.
-
org.glassfish.grizzly.utils.JdkVersion.compareTo()
-
org.gradle.api.logging.LogLevel.compareTo()
-
org.gradle.util.GradleVersion.compareTo()
-
org.gradle.util.VersionNumber.compareTo()
-
org.h2.value.ValueDate.compareTo()
-
org.h2.value.ValueTime.compareTo()
-
org.h2.value.ValueTimestamp.compareTo()
-
org.haystack.tagval.HDateTime.compareTo()
Comparison based on millis.
-
org.infinispan.container.versioning.EntryVersion.compareTo()
Compares the given version against the current instance.
@param other the other version to compare against
@return a InequalVersionComparisonResult instance
-
org.infinispan.container.versioning.NumericVersion.compareTo()
-
org.jacorb.notification.filter.EvaluationResult.compareTo()
-
org.jahia.utils.Version.compareTo()
Implements the compareTo method from the Comparable interface. This allows this class to be sorted by version number. ComparisonImpl is done the following way : 1. compares the version number until there is no more to compare 2. compares the "state" (beta, release candidate, final) Examples : 4.0, 4.0.1 returns -1 4.0B1, 4.0.1B1 returns -1 4.1.0, 4.0.1 returns 1 4.0.0, 4.0.0 return 0 4.0.1B1, 4.0.1RC2 returns -1 ...
@param o a Version object to compare to. If this is not a Version classobject, then a ClassCastException will be raised
@return -1 if this version is "smaller" than the one specified. 0 ifit is equal, or 1 if it bigger.
@throws ClassCastException if the passed parameter (o) is not a Versionclass object.
-
org.jamesii.core.base.NamedEntity.compareTo()
Compares two named entities. If they are equal an 0 will be compared. The default implementation should simply use the compareTo methods of the names of entity. The return value of this method shall be returned then.
@param o the entity to compare with
@return an integer, see {@link java.lang.String#compareTo(String)} methodfor more details.
-
org.jasig.portal.events.aggr.QuarterDetail.compareTo()
Compare to another {@link QuarterDetail}, must sort by {@link #getQuarterId()}
-
org.jboss.dna.graph.property.Binary.compareTo()
-
org.jboss.dna.graph.property.basic.InMemoryBinary.compareTo()
-
org.jboss.gravia.resource.Version.compareTo()
Compares this {@code Version} object to another {@code Version}.
A version is considered to be less than another version if its major component is less than the other version's major component, or the major components are equal and its minor component is less than the other version's minor component, or the major and minor components are equal and its micro component is less than the other version's micro component, or the major, minor and micro components are equal and it's qualifier component is less than the other version's qualifier component (using {@code String.compareTo}).
A version is considered to be equal to another version if the major, minor and micro components are equal and the qualifier component is equal (using {@code String.compareTo}).
@param other The {@code Version} object to be compared.
@return A negative integer, zero, or a positive integer if this versionis less than, equal to, or greater than the specified {@code Version} object.
@throws ClassCastException If the specified object is not a{@code Version} object.
-
org.jboss.jmx.adaptor.snmp.agent.ComparableSnmpObjectId.compareTo()
Compare to the passed object. Uses compare() from the underlying snmp-library
@see SnmpObjectId.compare()
@param o Object to compare with (Usually a ComparableSnmpObjectId)
@return -1, if no SnmpObjectId passed in, the result of the underlying compare otherwise.
-
org.jboss.metadata.spi.scope.ScopeLevel.compareTo()
-
org.jboss.metatype.api.values.SimpleValue.compareTo()
-
org.jboss.resteasy.util.WeightedMediaType.compareTo()
-
org.jboss.services.binding.ServiceBindingMetadata.compareTo()
-
org.jboss.weld.ContainerState.compareTo()
-
org.jfree.data.ComparableObjectItem.compareTo()
Returns an integer indicating the order of this object relative to another object.
For the order we consider only the x-value: negative == "less-than", zero == "equal", positive == "greater-than".
@param o1 the object being compared to.
@return An integer indicating the order of this data pair objectrelative to another object.
-
org.jgroups.Address.compareTo()
-
org.jitterbit.integration.data.entity.EntityType.compareTo()
-
org.joda.time.DateMidnight.compareTo()
-
org.joda.time.DateTime.compareTo()
-
org.joda.time.Duration.compareTo()
-
org.joda.time.LocalDate.compareTo()
Compares this partial with another returning an integer indicating the order.
The fields are compared in order, from largest to smallest. The first field that is non-equal is used to determine the result.
The specified object must be a partial instance whose field types match those of this partial.
NOTE: This implementation violates the Comparable contract. This method will accept any instance of ReadablePartial as input. However, it is possible that some implementations of ReadablePartial exist that do not extend AbstractPartial, and thus will throw a ClassCastException if compared in the opposite direction. The cause of this problem is that ReadablePartial doesn't define the compareTo() method, however we can't change that until v2.0.
@param partial an object to check against
@return negative if this is less, zero if equal, positive if greater
@throws ClassCastException if the partial is the wrong classor if it has field types that don't match
@throws NullPointerException if the partial is null
-
org.joda.time.LocalDateTime.compareTo()
Compares this partial with another returning an integer indicating the order.
The fields are compared in order, from largest to smallest. The first field that is non-equal is used to determine the result.
The specified object must be a partial instance whose field types match those of this partial.
NOTE: This implementation violates the Comparable contract. This method will accept any instance of ReadablePartial as input. However, it is possible that some implementations of ReadablePartial exist that do not extend AbstractPartial, and thus will throw a ClassCastException if compared in the opposite direction. The cause of this problem is that ReadablePartial doesn't define the compareTo() method, however we can't change that until v2.0.
@param partial an object to check against
@return negative if this is less, zero if equal, positive if greater
@throws ClassCastException if the partial is the wrong classor if it has field types that don't match
@throws NullPointerException if the partial is null
-
org.jooq.test.data.Table1Record.compareTo()
-
org.kiji.schema.util.ProtocolVersion.compareTo()
{@inheritDoc}
-
org.libreplan.business.planner.entities.PositionConstraintType.compareTo()
-
org.libreplan.business.workingday.EffortDuration.compareTo()
-
org.libreplan.business.workingday.IntraDayDate.compareTo()
-
org.mantikhor.llapi.DomainURI.compareTo()
Returns a result compatible with performing this.getURI().compareTo(uri.getURI())
.
@throws IllegalArgumentException if the parameter is null
-
org.mantikhor.llapi.PropertyDefinition.compareTo()
-
org.modeshape.jcr.value.BinaryKey.compareTo()
-
org.modeshape.jcr.value.BinaryValue.compareTo()
-
org.modeshape.jcr.value.Path.compareTo()
-
org.mule.routing.EventGroup.compareTo()
Compare this EventGroup to another one. If the receiver and the argument both have groupIds that are {@link Comparable}, they are used for the comparison; otherwise - since the id can be any object - the group creation time stamp is used as fallback. Older groups are considered "smaller".
@see java.lang.Comparable#compareTo(java.lang.Object)
-
org.mule.transformer.TransformerWeighting.compareTo()
-
org.mule.util.JdkVersionUtils.JdkVersion.compareTo()
-
org.nasutekds.server.replication.common.ChangeNumber.compareTo()
Compares this object with the specified object for order.
@param cn the ChangeNumber to compare with.
@return a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object.
-
org.odftoolkit.odfdom.incubator.doc.style.OdfStyle.compareTo()
-
org.opengis.coverage.SampleDimensionType.compareTo()
-
org.openhab.binding.tinkerforge.internal.types.DecimalValue.compareTo()
-
org.openhab.core.library.types.DecimalType.compareTo()
-
org.openide.modules.SpecificationVersion.compareTo()
-
org.openquark.cal.compiler.CompilerMessage.Severity.compareTo()
-
org.optaplanner.core.api.score.Score.compareTo()
-
org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType.compareTo()
-
org.osgi.framework.Bundle.compareTo()
-
org.osgi.framework.ServiceReference.compareTo()
Compares this {@code ServiceReference} with the specified{@code ServiceReference} for order.
If this {@code ServiceReference} and the specified{@code ServiceReference} have the same {@link Constants#SERVICE_ID service id} they are equal. This {@code ServiceReference} is less thanthe specified {@code ServiceReference} if it has a lower{@link Constants#SERVICE_RANKING service ranking} and greater if it has ahigher service ranking. Otherwise, if this {@code ServiceReference} andthe specified {@code ServiceReference} have the same{@link Constants#SERVICE_RANKING service ranking}, this {@code ServiceReference} is less than the specified{@code ServiceReference} if it has a higher {@link Constants#SERVICE_ID service id} and greater if it has a lower service id.
@param reference The {@code ServiceReference} to be compared.
@return Returns a negative integer, zero, or a positive integer if this{@code ServiceReference} is less than, equal to, or greater thanthe specified {@code ServiceReference}.
@throws IllegalArgumentException If the specified{@code ServiceReference} was not created by the same frameworkinstance as this {@code ServiceReference}.
@since 1.4
-
org.osgi.framework.Version.compareTo()
Compares this {@code Version} object to another {@code Version}.
A version is considered to be less than another version if its major component is less than the other version's major component, or the major components are equal and its minor component is less than the other version's minor component, or the major and minor components are equal and its micro component is less than the other version's micro component, or the major, minor and micro components are equal and it's qualifier component is less than the other version's qualifier component (using {@code String.compareTo}).
A version is considered to be equal to another version if the major, minor and micro components are equal and the qualifier component is equal (using {@code String.compareTo}).
@param other The {@code Version} object to be compared.
@return A negative integer, zero, or a positive integer if this versionis less than, equal to, or greater than the specified {@code Version} object.
@throws ClassCastException If the specified object is not a{@code Version} object.
-
org.owasp.dependencycheck.dependency.Confidence.compareTo()
-
org.owasp.webscarab.model.ConversationID.compareTo()
compares this ConversationID to another
@param o the other ConversationID to compare to
@return -1, 0 or 1 if this ConversationID is less than, equal to, or greater than the supplied parameter
-
org.pdf4j.saxon.value.NumericValue.compareTo()
Compare the value to another numeric value
@exception ClassCastException if the other value is not a NumericValue(the parameter is declared as Object to satisfy the Comparable interface)
@param other The other numeric value
@return -1 if this one is the lower, 0 if they are numerically equal,+1 if this one is the higher, or if either value is NaN. Where NaN values are involved, they should be handled by the caller before invoking this method.
-
org.pdfclown.Version.compareTo()
-
org.pentaho.reporting.engine.classic.core.style.css.selector.SelectorWeight.compareTo()
-
org.projectforge.Version.compareTo()
-
org.rstudio.studio.client.workbench.views.console.shell.editor.InputEditorPosition.compareTo()
-
org.scotlandyard.engine.boardmap.Coordinate.compareTo()
-
org.scotlandyard.impl.engine.boardmap.CoordinateImpl.compareTo()
-
org.sleuthkit.datamodel.TskData.FileKnown.compareTo()
-
org.snmp4j.agent.agentx.master.index.AgentXIndexRegistry.IndexEntry.compareTo()
-
org.snmp4j.smi.OID.compareTo()
-
org.sonar.updatecenter.common.Version.compareTo()
-
org.sonatype.security.authorization.Role.compareTo()
-
org.springframework.batch.core.job.flow.FlowExecution.compareTo()
Create an ordering on {@link FlowExecution} instances by comparing theirstatuses.
@see Comparable#compareTo(Object)
@param other
@return negative, zero or positive as per the contract
-
org.springframework.ide.eclipse.beans.core.internal.model.namespaces.ToolingAwareNamespacePlugins.Version.compareTo()
-
org.springframework.ide.eclipse.beans.ui.namespaces.DefaultNamespaceDefinition.Version.compareTo()
-
org.teiid.metadata.FunctionMethod.Determinism.compareTo()
-
org.terasology.launcher.util.JavaHeapSize.compareTo()
-
org.threeten.bp.Year.compareTo()
Compares this year to another year.
The comparison is based on the value of the year. It is "consistent with equals", as defined by {@link Comparable}.
@param other the other year to compare to, not null
@return the comparator value, negative if less, positive if greater
-
org.threeten.bp.chrono.ChronoLocalDate.compareTo()
Compares this date to another date, including the chronology.
The comparison is based first on the underlying time-line date, then on the chronology. It is "consistent with equals", as defined by {@link Comparable}.
For example, the following is the comparator order:
- {@code 2012-12-03 (ISO)}
- {@code 2012-12-04 (ISO)}
- {@code 2555-12-04 (ThaiBuddhist)}
- {@code 2012-12-05 (ISO)}
Values #2 and #3 represent the same date on the time-line. When two values represent the same date, the chronology ID is compared to distinguish them. This step is needed to make the ordering "consistent with equals".
If all the date objects being compared are in the same chronology, then the additional chronology stage is not required and only the local date is used. To compare the dates of two {@code TemporalAccessor} instances, including datesin two different chronologies, use {@link ChronoField#EPOCH_DAY} as a comparator.
@param other the other date to compare to, not null
@return the comparator value, negative if less, positive if greater
-
org.tmatesoft.hg.repo.HgPhase.compareTo()
-
org.tmatesoft.svn.core.SVNDepth.compareTo()
Compares this object to another one.
@param o object to compare with
@return -1
if o
is null, or not an SVNDepth
instance, or its {@link #getId() id} is greater than this object's id; 0
if ids this object and o
are equal; 1
if id of this object is greater than the one of o
.
-
org.tmatesoft.svn.core.SVNProperties.compareTo()
Compares this object against another one returning a difference between them.
Properties which are present in this object but are not in
properties
, are put to the result as property name to
null mappings. Properties which are present only in
properties
but not in this object, are added to the result. Also result will include those properties which are present in both objects but have different values; in this case result will include such properties with values from
properties
.
@param properties another properties object
@return properties object holding the properties difference
-
org.tmatesoft.svn.core.internal.wc.admin.SVNVersionedProperties.compareTo()
-
org.uberfire.java.nio.file.Path.compareTo()
-
org.voltdb.catalog.Column.compareTo()
-
org.voltdb.types.TimestampType.compareTo()
CompareTo - to mimic Java Date
-
org.wicketstuff.mergedresources.versioning.AbstractResourceVersion.compareTo()
@param o the object to be compared.
@return a negative integer, zero, or a positive integer as this object isless than, equal to, or greater than the specified object.
@throws IncompatibleVersionsException
-
org.xbill.DNS.Name.compareTo()
Compares this Name to another Object.
@param o The Object to be compared.
@return The value 0 if the argument is a name equivalent to this name;a value less than 0 if the argument is less than this name in the canonical ordering, and a value greater than 0 if the argument is greater than this name in the canonical ordering.
@throws ClassCastException if the argument is not a Name.
-
org.xmlBlaster.util.Timestamp.compareTo()
Compares two Timestamps for ordering.
@param ts The Timestamp
to be compared.
@return the value 0
if the argument Timestamp is equal tothis Timestamp; a value less than 0
if this Timestamp is before the Timestamp argument; and a value greater than 0
if this Timestamp is after the Timestamp argument.
-
org.xtreemfs.babudb.lsmdb.LSN.compareTo()
-
pivot.util.Version.compareTo()
-
propel.core.userTypes.Int128.compareTo()
{@inheritDoc}
-
propel.core.userTypes.UnsignedByte.compareTo()
{@inheritDoc}
-
propel.core.userTypes.UnsignedInteger.compareTo()
{@inheritDoc}
-
propel.core.userTypes.UnsignedLong.compareTo()
{@inheritDoc}
-
propel.core.userTypes.UnsignedShort.compareTo()
{@inheritDoc}
-
ptolemy.actor.util.Time.compareTo()
Return -1, 0, or 1 if this time object is less than, equal to, or greater than the given argument. Note that a ClassCastException will be thrown if the argument is not an instance of Time. This object expects the directors associated with this and the specified Time objects to have the same time resolution. If this is not the case, then it compares the double representations of those time values, which is not as accurate.
@param time A time object to compare to.
@return The integer -1, 0, or 1 if this is less than, equal to, orgreater than the argument.
-
redis.clients.jedis.Tuple.compareTo()
-
ro.redeul.google.go.util.GoNumber.compareTo()
-
ru.aristar.jnuget.Version.compareTo()
-
statechum.DeterministicDirectedSparseGraph.DeterministicVertex.compareTo()
-
statechum.analysis.learning.StatePair.compareTo()
-
statechum.analysis.learning.rpnicore.PairScoreComputation.LabelVertexPair.compareTo()
-
sun.text.normalizer.VersionInfo.compareTo()
Compares other with this VersionInfo.
@param other VersionInfo to be compared
@return 0 if the argument is a VersionInfo object that has versioninformation equals to this object. Less than 0 if the argument is a VersionInfo object that has version information greater than this object. Greater than 0 if the argument is a VersionInfo object that has version information less than this object.
@stable ICU 2.6
-
thrift.test.Bonk.compareTo()
-
thrift.test.ComparableUnion.compareTo()
-
weka.core.Version.compareTo()
checks the version of this class against the given version-string.
@param o the version-string to compare with
@return -1 if this version is less, 0 if equal and +1 if greaterthan the provided version
-
xbird.xquery.dm.value.Item.compareTo()
-
xbird.xquery.dm.value.literal.XNumber.compareTo()
-
xbird.xquery.dm.value.sequence.SingleCollection.compareTo()
-
xbird.xquery.dm.value.xsi.DurationValue.compareTo()