java.lang.Object
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<Object>
,Collection<Object>
,List<Object>
- Enclosing class:
- QBluetoothServiceInfo
public static class QBluetoothServiceInfo.Alternative extends QtJambiListObject<Object> implements Cloneable
Stores attributes of a Bluetooth Data Element Alternative
Java wrapper for Qt class QBluetoothServiceInfo::Alternative
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description Alternative()
protected
Alternative(QtObject.QPrivateConstructor p)
Constructor for internal use only.Alternative(Collection<Object> list)
-
Method Summary
Modifier and Type Method Description void
add(int index, Object e)
boolean
add(Object e)
void
append(Object t)
void
append(Collection<Object> t)
Object
at(int i)
protected QIterator<Object>
begin()
void
clear()
QBluetoothServiceInfo.Alternative
clone()
boolean
contains(Object t)
int
count()
int
count(Object t)
void
detach()
void
detachShared()
protected QIterator<Object>
end()
boolean
endsWith(Object t)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.Object
first()
Object
get(int index)
int
hashCode()
int
indexOf(Object t)
Overloaded function forindexOf(java.lang.Object, int)
withfrom = 0
.int
indexOf(Object t, int from)
void
insert(int i, Object t)
boolean
isDetached()
boolean
isEmpty()
boolean
isSharedWith(Collection<Object> other)
Object
last()
int
lastIndexOf(Object t)
Overloaded function forlastIndexOf(java.lang.Object, int)
withfrom = -1
.int
lastIndexOf(Object t, int from)
int
length()
List<Object>
mid(int pos)
Overloaded function formid(int, int)
withlength = -1
.List<Object>
mid(int pos, int length)
void
move(int from, int to)
void
prepend(Object t)
boolean
remove(Object o)
int
removeAll(Object t)
void
removeAt(int i)
void
removeFirst()
void
removeLast()
boolean
removeOne(Object t)
void
replace(int i, Object t)
void
reserve(int size)
Object
set(int index, Object e)
void
setSharable(boolean sharable)
int
size()
boolean
startsWith(Object t)
void
swap(int i, int j)
Deprecated.Use QList<T>::swapItemsAt()void
swapItemsAt(int i, int j)
Object
takeAt(int i)
Object
takeFirst()
Object
takeLast()
Object
value(int i)
Object
value(int i, Object defaultValue)
Methods inherited from class io.qt.internal.QtJambiAbstractListObject
addAll, addAll, listIterator, listIterator, remove, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
castElement, checkElement, containsAll, iterator, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
Alternative
public Alternative() -
Alternative
-
Alternative
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
- Specified by:
append
in classQtJambiAbstractListObject<Object>
-
append
-
at
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<Object>
-
clear
-
contains
-
count
-
count
-
detach
-
detachShared
-
end
- Specified by:
end
in classQtJambiCollectionObject<Object>
-
endsWith
-
first
-
indexOf
Overloaded function for
indexOf(java.lang.Object, int)
withfrom = 0
. -
indexOf
-
insert
-
isDetached
-
isEmpty
-
isSharedWith
-
last
-
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.Object, int)
withfrom = -1
.- Specified by:
lastIndexOf
in interfaceList<Object>
-
lastIndexOf
-
length
-
mid
Overloaded function for
mid(int, int)
withlength = -1
. -
mid
-
move
-
prepend
-
removeAll
-
removeAt
- Specified by:
removeAt
in classQtJambiAbstractListObject<Object>
-
removeFirst
-
removeLast
-
removeOne
-
replace
-
reserve
-
setSharable
-
size
-
startsWith
-
swap
Deprecated.Use QList<T>::swapItemsAt() -
swapItemsAt
-
takeAt
-
takeFirst
-
takeLast
-
value
-
value
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
remove
-
clone
-
add
-
add
-
set
-
get
-