aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/direct_bt/BTAdapter.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-02-08 13:03:09 +0100
committerSven Gothel <[email protected]>2022-02-08 13:03:09 +0100
commitd200174a7c14961cd3ab2d8ee936458f2aae5234 (patch)
treeccb066bcc64805adfe7842b6eaa05fe2c6c99a69 /java/org/direct_bt/BTAdapter.java
parent3608b45464094ea465a490a0095863eae2aa4328 (diff)
BT[Adapter|Device].java: Document equals(..) method
Diffstat (limited to 'java/org/direct_bt/BTAdapter.java')
-rw-r--r--java/org/direct_bt/BTAdapter.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/org/direct_bt/BTAdapter.java b/java/org/direct_bt/BTAdapter.java
index 8647a865..f12a7649 100644
--- a/java/org/direct_bt/BTAdapter.java
+++ b/java/org/direct_bt/BTAdapter.java
@@ -434,6 +434,15 @@ public interface BTAdapter extends BTObject
boolean isAdvertising();
/**
+ * If both types are of {@link BTAdapter}, it compares their {@link BDAddressAndType}, see {@link #getAddressAndType()}.
+ * <p>
+ * {@inheritDoc}
+ * </p>
+ */
+ @Override
+ boolean equals(final Object obj);
+
+ /**
* Returns the adapter's public BDAddressAndType.
* <p>
* The adapter's address as initially reported by the system is always its public address, i.e. {@link BDAddressType#BDADDR_LE_PUBLIC}.