Skip to main content
0
Search products
Search
Mugs
Tees
Hoodies
Search products
Search
Chat
Share
Free Shipping
Menu
Mugs
Tees
Hoodies
Back to urbandictionary.com
Pro Customization
Create unique products with your own words and definitions
Preview
Personalize Your Design
Your Word
Your Definition
A Java Interface signifying the client that it can compare two objects which implement this. Essentially, it forces the existence of the compareTo(T otherObj) method -- depicted below. This tells a user it can use this method to compare these two objects. Typically this comparable also allows the proper implementation of an equals(Object other) method, as this would be any case in which compareTo(T otherObj) would return a 0.
Text fits
Save
Cancel
🤖
Shopping Assistant
Online
Hey! 👋 I'm your shopping assistant. What are you looking for?
Ask about products
AI-generated responses. Verify claims.