Uses of Class
java.lang.Integer
Packages that useInteger
Package
Description
A Java API for Stream Control Transport Protocol.
Provides classes and interface relating to fonts.
Provides classes that are fundamental to the design of the Java programming language.
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing code instructions for the
java.lang.classfile
library.Provides the classes for implementing networking applications.
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Classes for matching character sequences against patterns specified by regular expressions.
Service provider classes for the classes in the java.util package.
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
Public classes used by the built-in TIFF plug-ins.
Provides the core classes for the Java Management Extensions.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access to JMX MBean servers.
The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
Provides the definition of the Timer MBean.
The scripting API consists of interfaces and classes that defineJava Scripting Engines and providesa framework for their use in Java applications.
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces for dealing with
javax.swing.JTable
.Incubating Feature. Will be removed in a future release.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
Platform specific socket options for the
java.net
andjava.nio.channels
socket classes.Uses ofInteger incom.sun.nio.sctp
Fields incom.sun.nio.sctp with type parameters of typeIntegerModifier and TypeFieldDescriptionstatic finalSctpSocketOption
<Integer> SctpStandardSocketOptions.SCTP_FRAGMENT_INTERLEAVE
Fragmented interleave controls how the presentation of messages occur for the message receiver.static finalSctpSocketOption
<Integer> SctpStandardSocketOptions.SO_LINGER
Linger on close if data is present.static finalSctpSocketOption
<Integer> SctpStandardSocketOptions.SO_RCVBUF
The size of the socket receive buffer.static finalSctpSocketOption
<Integer> SctpStandardSocketOptions.SO_SNDBUF
The size of the socket send buffer.Uses ofInteger injava.awt.font
Fields injava.awt.font declared asIntegerModifier and TypeFieldDescriptionstatic finalInteger
TextAttribute.KERNING_ON
Request standard kerning.static finalInteger
TextAttribute.LIGATURES_ON
Request standard optional ligatures.static finalInteger
TextAttribute.SUPERSCRIPT_SUB
Standard subscript.static finalInteger
TextAttribute.SUPERSCRIPT_SUPER
Standard superscript.static finalInteger
TextAttribute.UNDERLINE_LOW_DASHED
Single pixel dashed low underline.static finalInteger
TextAttribute.UNDERLINE_LOW_DOTTED
Single pixel dotted low underline.static finalInteger
TextAttribute.UNDERLINE_LOW_GRAY
Double pixel gray low underline.static finalInteger
TextAttribute.UNDERLINE_LOW_ONE_PIXEL
Single pixel solid low underline.static finalInteger
TextAttribute.UNDERLINE_LOW_TWO_PIXEL
Double pixel solid low underline.static finalInteger
TextAttribute.UNDERLINE_ON
Standard underline.Uses ofInteger injava.lang
Modifier and TypeClassDescriptionfinal class
Modifier and TypeMethodDescriptionstaticInteger
Decodes aString
into anInteger
.staticInteger
Integer.getInteger
(String nm) Determines the integer value of the system property with the specified name.staticInteger
Integer.getInteger
(String nm, int val) Determines the integer value of the system property with the specified name.staticInteger
Integer.getInteger
(String nm,Integer val) Returns the integer value of the system property with the specified name.Integer.resolveConstantDesc
(MethodHandles.Lookup lookup) Resolves this instance as aConstantDesc
, the result of which is the instance itself.staticInteger
Integer.valueOf
(int i) Returns anInteger
instance representing the specifiedint
value.staticInteger
Returns anInteger
object holding the value of the specifiedString
.staticInteger
Returns anInteger
object holding the value extracted from the specifiedString
when parsed with the radix given by the second argument.Modifier and TypeMethodDescriptionRuntime.Version.build()
Returns thebuild number.Integer.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.Runtime.Version.version()
Returns an unmodifiableList
of the integers represented in theversion number.Uses ofInteger injava.lang.classfile
Methods injava.lang.classfile that returnIntegerModifier and TypeMethodDescriptiondefaultInteger
AnnotationValue.OfInt.resolvedValue()
Returns the resolved int value.Uses ofInteger injava.lang.classfile.instruction
Methods injava.lang.classfile.instruction that returnIntegerUses ofInteger injava.net
Modifier and TypeFieldDescriptionstatic finalSocketOption
<Integer> StandardSocketOptions.IP_MULTICAST_TTL
Thetime-to-live for Internet Protocol (IP) multicast datagrams.static finalSocketOption
<Integer> StandardSocketOptions.IP_TOS
The Type of Service (ToS) octet in the Internet Protocol (IP) header.static finalSocketOption
<Integer> StandardSocketOptions.SO_LINGER
Linger on close if data is present.static finalSocketOption
<Integer> StandardSocketOptions.SO_RCVBUF
The size of the socket receive buffer.static finalSocketOption
<Integer> StandardSocketOptions.SO_SNDBUF
The size of the socket send buffer.Uses ofInteger injava.nio.channels
Methods injava.nio.channels that return types with arguments of typeIntegerModifier and TypeMethodDescriptionAsynchronousByteChannel.read
(ByteBuffer dst) Reads a sequence of bytes from this channel into the given buffer.AsynchronousFileChannel.read
(ByteBuffer dst, long position) Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.AsynchronousSocketChannel.read
(ByteBuffer dst) AsynchronousByteChannel.write
(ByteBuffer src) Writes a sequence of bytes to this channel from the given buffer.AsynchronousFileChannel.write
(ByteBuffer src, long position) Writes a sequence of bytes to this channel from the given buffer, starting at the given file position.AsynchronousSocketChannel.write
(ByteBuffer src) Method parameters injava.nio.channels with type arguments of typeIntegerModifier and TypeMethodDescription<A> void
AsynchronousByteChannel.read
(ByteBuffer dst, A attachment,CompletionHandler<Integer, ? super A> handler) Reads a sequence of bytes from this channel into the given buffer.abstract <A> void
AsynchronousFileChannel.read
(ByteBuffer dst, long position, A attachment,CompletionHandler<Integer, ? super A> handler) Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.abstract <A> void
AsynchronousSocketChannel.read
(ByteBuffer dst, long timeout,TimeUnit unit, A attachment,CompletionHandler<Integer, ? super A> handler) Reads a sequence of bytes from this channel into the given buffer.final <A> void
AsynchronousSocketChannel.read
(ByteBuffer dst, A attachment,CompletionHandler<Integer, ? super A> handler) <A> void
AsynchronousByteChannel.write
(ByteBuffer src, A attachment,CompletionHandler<Integer, ? super A> handler) Writes a sequence of bytes to this channel from the given buffer.abstract <A> void
AsynchronousFileChannel.write
(ByteBuffer src, long position, A attachment,CompletionHandler<Integer, ? super A> handler) Writes a sequence of bytes to this channel from the given buffer, starting at the given file position.abstract <A> void
AsynchronousSocketChannel.write
(ByteBuffer src, long timeout,TimeUnit unit, A attachment,CompletionHandler<Integer, ? super A> handler) Writes a sequence of bytes to this channel from the given buffer.final <A> void
AsynchronousSocketChannel.write
(ByteBuffer src, A attachment,CompletionHandler<Integer, ? super A> handler) Uses ofInteger injava.sql
Modifier and TypeMethodDescriptionJDBCType.getVendorTypeNumber()
Returns the vendor specific type number for the data type.SQLType.getVendorTypeNumber()
Returns the vendor specific type number for the data type.Uses ofInteger injava.util
Modifier and TypeInterfaceDescriptionstatic interface
An Iterator specialized forint
values.static interface
A Spliterator specialized forint
values.Modifier and TypeMethodDescriptiondefaultInteger
PrimitiveIterator.OfInt.next()
Returns the next element in the iteration.Modifier and TypeMethodDescriptionCalendar.getDisplayNames
(int field, int style,Locale locale) Returns aMap
containing all names of the calendarfield
in the givenstyle
andlocale
and their corresponding field values.Modifier and TypeMethodDescriptiondefault void
PrimitiveIterator.OfInt.forEachRemaining
(Consumer<? superInteger> action) Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfInt.forEachRemaining
(Consumer<? superInteger> action) Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default boolean
Spliterator.OfInt.tryAdvance
(Consumer<? superInteger> action) If a remaining element exists: performs the given action on it, returningtrue
; else returnsfalse
.Uses ofInteger injava.util.regex
Methods injava.util.regex that return types with arguments of typeIntegerModifier and TypeMethodDescriptionMatcher.namedGroups()
Returns an unmodifiable map from capturing group names to group numbers.MatchResult.namedGroups()
Returns an unmodifiable map from capturing group names to group numbers.Pattern.namedGroups()
Returns an unmodifiable map from capturing group names to group numbers.Uses ofInteger injava.util.spi
Methods injava.util.spi that return types with arguments of typeIntegerModifier and TypeMethodDescriptionCalendarNameProvider.getDisplayNames
(String calendarType, int field, int style,Locale locale) Returns aMap
containing all string representations (display names) of theCalendar
field
in the givenstyle
andlocale
and their corresponding field values.Uses ofInteger injava.util.stream
Subinterfaces with type arguments of typeInteger injava.util.streamModifier and TypeInterfaceDescriptioninterface
A sequence of primitive int-valued elements supporting sequential and parallel aggregate operations.Methods injava.util.stream that return types with arguments of typeIntegerModifier and TypeMethodDescriptionIntStream.boxed()
Returns aStream
consisting of the elements of this stream, each boxed to anInteger
.Collectors.summingInt
(ToIntFunction<? super T> mapper) Returns aCollector
that produces the sum of an integer-valued function applied to the input elements.Uses ofInteger injavax.imageio.plugins.tiff
Methods injavax.imageio.plugins.tiff that return types with arguments of typeIntegerModifier and TypeMethodDescriptionTIFFTagSet.getTagNumbers()
Retrieves an unmodifiable numerically increasing set of tag numbers.Uses ofInteger injavax.management
Methods injavax.management that returnIntegerModifier and TypeMethodDescriptionMBeanServer.getMBeanCount()
Returns the number of MBeans registered in the MBean server.MBeanServerConnection.getMBeanCount()
Returns the number of MBeans registered in the MBean server.Uses ofInteger injavax.management.openmbean
Fields injavax.management.openmbean with type parameters of typeIntegerModifier and TypeFieldDescriptionstatic finalSimpleType
<Integer> SimpleType.INTEGER
TheSimpleType
instance describing values whose Java class name isjava.lang.Integer
.Uses ofInteger injavax.management.relation
Methods injavax.management.relation that returnIntegerModifier and TypeMethodDescriptionRelationService.checkRoleReading
(String roleName,String relationTypeName) Checks if given Role can be read in a relation of the given type.RelationServiceMBean.checkRoleReading
(String roleName,String relationTypeName) Checks if given Role can be read in a relation of the given type.RelationService.checkRoleWriting
(Role role,String relationTypeName,Boolean initFlag) Checks if given Role can be set in a relation of given type.RelationServiceMBean.checkRoleWriting
(Role role,String relationTypeName,Boolean initFlag) Checks if given Role can be set in a relation of given type.Relation.getRoleCardinality
(String roleName) Returns the number of MBeans currently referenced in the given role.RelationService.getRoleCardinality
(String relationId,String roleName) Retrieves the number of MBeans currently referenced in the given role.RelationServiceMBean.getRoleCardinality
(String relationId,String roleName) Retrieves the number of MBeans currently referenced in the given role.RelationSupport.getRoleCardinality
(String roleName) Returns the number of MBeans currently referenced in the given role.Uses ofInteger injavax.management.remote
Methods injavax.management.remote that returnIntegerModifier and TypeMethodDescriptionTargetedNotification.getListenerID()
The ID of the listener to which the notification is targeted.Constructors injavax.management.remote with parameters of typeIntegerModifierConstructorDescriptionTargetedNotification
(Notification notification,Integer listenerID) Constructs aTargetedNotification
object.Uses ofInteger injavax.management.remote.rmi
Methods injavax.management.remote.rmi that returnIntegerModifier and TypeMethodDescriptionInteger[]
RMIConnection.addNotificationListeners
(ObjectName[] names,MarshalledObject[] filters,Subject[] delegationSubjects) Integer[]
RMIConnectionImpl_Stub.addNotificationListeners
(ObjectName[] $param_arrayOf_ObjectName_1,MarshalledObject[] $param_arrayOf_MarshalledObject_2,Subject[] $param_arrayOf_Subject_3) Integer[]
RMIConnectionImpl.addNotificationListeners
(ObjectName[] names,MarshalledObject[] filters,Subject[] delegationSubjects) RMIConnection.getMBeanCount
(Subject delegationSubject) Handles the methodMBeanServerConnection.getMBeanCount()
.RMIConnectionImpl_Stub.getMBeanCount
(Subject $param_Subject_1) RMIConnectionImpl.getMBeanCount
(Subject delegationSubject) Methods injavax.management.remote.rmi with parameters of typeIntegerModifier and TypeMethodDescriptionvoid
RMIConnection.removeNotificationListeners
(ObjectName name,Integer[] listenerIDs,Subject delegationSubject) void
RMIConnectionImpl_Stub.removeNotificationListeners
(ObjectName $param_ObjectName_1,Integer[] $param_arrayOf_Integer_2,Subject $param_Subject_3) void
RMIConnectionImpl.removeNotificationListeners
(ObjectName name,Integer[] listenerIDs,Subject delegationSubject) Uses ofInteger injavax.management.timer
Methods injavax.management.timer that returnIntegerModifier and TypeMethodDescriptionTimer.addNotification
(String type,String message,Object userData,Date date) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and a null period and number of occurrences.Timer.addNotification
(String type,String message,Object userData,Date date, long period) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and period and a null number of occurrences.Timer.addNotification
(String type,String message,Object userData,Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.Timer.addNotification
(String type,String message,Object userData,Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.TimerMBean.addNotification
(String type,String message,Object userData,Date date) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and a null period and number of occurrences.TimerMBean.addNotification
(String type,String message,Object userData,Date date, long period) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and period and a null number of occurrences.TimerMBean.addNotification
(String type,String message,Object userData,Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.TimerMBean.addNotification
(String type,String message,Object userData,Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.TimerNotification.getNotificationID()
Gets the identifier of this timer notification.Methods injavax.management.timer that return types with arguments of typeIntegerModifier and TypeMethodDescriptionTimer.getAllNotificationIDs()
Gets all timer notification identifiers registered into the list of notifications.TimerMBean.getAllNotificationIDs()
Gets all timer notification identifiers registered into the list of notifications.Timer.getNotificationIDs
(String type) Gets all the identifiers of timer notifications corresponding to the specified type.TimerMBean.getNotificationIDs
(String type) Gets all the identifiers of timer notifications corresponding to the specified type.Methods injavax.management.timer with parameters of typeIntegerModifier and TypeMethodDescriptionGets a copy of the date associated to a timer notification.Gets a copy of the date associated to a timer notification.Timer.getFixedRate
(Integer id) Gets a copy of the flag indicating whether a periodic notification is executed atfixed-delay or atfixed-rate.TimerMBean.getFixedRate
(Integer id) Gets a copy of the flag indicating whether a periodic notification is executed atfixed-delay or atfixed-rate.Timer.getNbOccurences
(Integer id) Gets a copy of the remaining number of occurrences associated to a timer notification.TimerMBean.getNbOccurences
(Integer id) Gets a copy of the remaining number of occurrences associated to a timer notification.Timer.getNotificationMessage
(Integer id) Gets the timer notification detailed message corresponding to the specified identifier.TimerMBean.getNotificationMessage
(Integer id) Gets the timer notification detailed message corresponding to the specified identifier.Timer.getNotificationType
(Integer id) Gets the timer notification type corresponding to the specified identifier.TimerMBean.getNotificationType
(Integer id) Gets the timer notification type corresponding to the specified identifier.Timer.getNotificationUserData
(Integer id) Gets the timer notification user data object corresponding to the specified identifier.TimerMBean.getNotificationUserData
(Integer id) Gets the timer notification user data object corresponding to the specified identifier.Gets a copy of the period (in milliseconds) associated to a timer notification.Gets a copy of the period (in milliseconds) associated to a timer notification.void
Timer.removeNotification
(Integer id) Removes the timer notification corresponding to the specified identifier from the list of notifications.void
TimerMBean.removeNotification
(Integer id) Removes the timer notification corresponding to the specified identifier from the list of notifications.Constructors injavax.management.timer with parameters of typeIntegerModifierConstructorDescriptionTimerNotification
(String type,Object source, long sequenceNumber, long timeStamp,String msg,Integer id) Creates a timer notification object.Uses ofInteger injavax.script
Methods injavax.script that return types with arguments of typeIntegerUses ofInteger injavax.swing
Fields injavax.swing declared asIntegerModifier and TypeFieldDescriptionstatic finalInteger
JLayeredPane.DEFAULT_LAYER
Convenience object defining the Default layer.static finalInteger
JLayeredPane.DRAG_LAYER
Convenience object defining the Drag layer.static finalInteger
JLayeredPane.FRAME_CONTENT_LAYER
Convenience object defining the Frame Content layer.static finalInteger
JLayeredPane.MODAL_LAYER
Convenience object defining the Modal layer.static finalInteger
JLayeredPane.PALETTE_LAYER
Convenience object defining the Palette layer.static finalInteger
JLayeredPane.POPUP_LAYER
Convenience object defining the Popup layer.Methods injavax.swing that returnIntegerModifier and TypeMethodDescriptionprotectedInteger
JLayeredPane.getObjectForLayer
(int layer) Returns the Integer object associated with a specified layer.Methods injavax.swing that return types with arguments of typeIntegerModifier and TypeMethodDescriptionJSlider.createStandardLabels
(int increment) Creates aHashtable
of numerical text labels, starting at the slider minimum, and using the increment specified.JSlider.createStandardLabels
(int increment, int start) Creates aHashtable
of numerical text labels, starting at the starting point specified, and using the increment specified.JLayeredPane.getComponentToLayer()
Returns the hashtable that maps components to layers.Methods injavax.swing with parameters of typeIntegerUses ofInteger injavax.swing.plaf.basic
Methods injavax.swing.plaf.basic that returnIntegerModifier and TypeMethodDescriptionprotectedInteger
BasicSliderUI.getHighestValue()
Returns the biggest value that has an entry in the label table.protectedInteger
BasicSliderUI.getLowestValue()
Returns the smallest value that has an entry in the label table.Uses ofInteger injavax.swing.table
Subclasses with type arguments of typeInteger injavax.swing.tableModifier and TypeClassDescriptionclass
TableRowSorter<M extendsTableModel>
An implementation ofRowSorter
that provides sorting and filtering using aTableModel
.Uses ofInteger injdk.incubator.vector
Subclasses with type arguments of typeInteger injdk.incubator.vectorModifier and TypeClassDescriptionclass
A specializedVector
representing an ordered immutable sequence ofint
values.Fields injdk.incubator.vector with type parameters of typeIntegerModifier and TypeFieldDescriptionstatic finalVectorOperators.Conversion
<Byte, Integer> VectorOperators.B2I
ConvertbyteVal
to(int)byteVal
.static finalVectorOperators.Conversion
<Double, Integer> VectorOperators.D2I
ConvertdoubleVal
to(int)doubleVal
.static finalVectorOperators.Conversion
<Float, Integer> VectorOperators.F2I
ConvertfloatVal
to(int)floatVal
.static finalVectorOperators.Conversion
<Integer, Byte> VectorOperators.I2B
ConvertintVal
to(byte)intVal
.static finalVectorOperators.Conversion
<Integer, Double> VectorOperators.I2D
ConvertintVal
to(double)intVal
.static finalVectorOperators.Conversion
<Integer, Float> VectorOperators.I2F
ConvertintVal
to(float)intVal
.static finalVectorOperators.Conversion
<Integer, Long> VectorOperators.I2L
ConvertintVal
to(long)intVal
.static finalVectorOperators.Conversion
<Integer, Short> VectorOperators.I2S
ConvertintVal
to(short)intVal
.static finalVectorOperators.Conversion
<Long, Integer> VectorOperators.L2I
ConvertlongVal
to(int)longVal
.static finalVectorOperators.Conversion
<Float, Integer> VectorOperators.REINTERPRET_F2I
Reinterpret bits offloatVal
asint
.static finalVectorOperators.Conversion
<Integer, Float> VectorOperators.REINTERPRET_I2F
Reinterpret bits ofintVal
asfloat
.static finalVectorOperators.Conversion
<Short, Integer> VectorOperators.S2I
ConvertshortVal
to(int)shortVal
.static finalVectorSpecies
<Integer> IntVector.SPECIES_128
Species representingIntVector
s ofVectorShape.S_128_BIT
.static finalVectorSpecies
<Integer> IntVector.SPECIES_256
Species representingIntVector
s ofVectorShape.S_256_BIT
.static finalVectorSpecies
<Integer> IntVector.SPECIES_512
Species representingIntVector
s ofVectorShape.S_512_BIT
.static finalVectorSpecies
<Integer> IntVector.SPECIES_64
Species representingIntVector
s ofVectorShape.S_64_BIT
.static finalVectorSpecies
<Integer> IntVector.SPECIES_MAX
Species representingIntVector
s ofVectorShape.S_Max_BIT
.static finalVectorSpecies
<Integer> IntVector.SPECIES_PREFERRED
Preferred species forIntVector
s.static finalVectorOperators.Conversion
<Byte, Integer> VectorOperators.ZERO_EXTEND_B2I
Zero-extendbyteVal
toint
.static finalVectorOperators.Conversion
<Integer, Long> VectorOperators.ZERO_EXTEND_I2L
Zero-extendintVal
tolong
.static finalVectorOperators.Conversion
<Short, Integer> VectorOperators.ZERO_EXTEND_S2I
Zero-extendshortVal
toint
.Methods injdk.incubator.vector that return types with arguments of typeIntegerModifier and TypeMethodDescriptionabstractVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, int e) Tests this vector by comparing it with an input scalar, according to the given comparison operation.finalVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, int e,VectorMask<Integer> m) Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstractVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, long e) Tests this vector by comparing it with an input scalar, according to the given comparison operation.finalVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, long e,VectorMask<Integer> m) Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstractVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op,Vector<Integer> v) Tests this vector by comparing it with another input vector, according to the given comparison operation.finalVectorMask
<Integer> IntVector.eq
(int e) Tests if this vector is equal to an input scalar.finalVectorMask
<Integer> Tests if this vector is equal to another input vector.finalVectorMask
<Integer> IntVector.lt
(int e) Tests if this vector is less than an input scalar.finalVectorMask
<Integer> Tests if this vector is less than another input vector.abstractVectorMask
<Integer> IntVector.test
(VectorOperators.Test op) Tests the lanes of this vector according to the given operation.abstractVectorMask
<Integer> IntVector.test
(VectorOperators.Test op,VectorMask<Integer> m) Test selected lanes of this vector, according to the given operation.Method parameters injdk.incubator.vector with type arguments of typeIntegerModifier and TypeMethodDescriptionfinalIntVector
IntVector.add
(int e,VectorMask<Integer> m) Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.finalIntVector
Adds this vector to a second input vector.finalIntVector
IntVector.add
(Vector<Integer> v,VectorMask<Integer> m) Adds this vector to a second input vector, selecting lanes under the control of a mask.finalIntVector
IntVector.add
(Vector<Integer> v,VectorMask<Integer> m) Adds this vector to a second input vector, selecting lanes under the control of a mask.finalIntVector
Computes the bitwise logical conjunction (&
) of this vector and a second input vector.finalIntVector
IntVector.bitwiseBlend
(int bits,Vector<Integer> mask) Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits.finalIntVector
IntVector.bitwiseBlend
(Vector<Integer> bits, int mask) Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.finalIntVector
IntVector.bitwiseBlend
(Vector<Integer> bits,Vector<Integer> mask) Blends together the bits of two vectors under the control of a third, which supplies mask bits.finalIntVector
IntVector.blend
(int e,VectorMask<Integer> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.finalIntVector
IntVector.blend
(long e,VectorMask<Integer> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.abstractIntVector
IntVector.blend
(Vector<Integer> v,VectorMask<Integer> m) Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstractIntVector
IntVector.blend
(Vector<Integer> v,VectorMask<Integer> m) Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.staticIntVector
IntVector.broadcast
(VectorSpecies<Integer> species, int e) Returns a vector of the given species where all lane elements are set to the primitive valuee
.staticIntVector
IntVector.broadcast
(VectorSpecies<Integer> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee
.finalVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, int e,VectorMask<Integer> m) Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.finalVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op, long e,VectorMask<Integer> m) Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstractVectorMask
<Integer> IntVector.compare
(VectorOperators.Comparison op,Vector<Integer> v) Tests this vector by comparing it with another input vector, according to the given comparison operation.abstractIntVector
IntVector.compress
(VectorMask<Integer> m) Compresses the lane elements of this vector selecting lanes under the control of a specific mask.finalIntVector
IntVector.div
(int e,VectorMask<Integer> m) Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.finalIntVector
Divides this vector by a second input vector.finalIntVector
IntVector.div
(Vector<Integer> v,VectorMask<Integer> m) Divides this vector by a second input vector under the control of a mask.finalIntVector
IntVector.div
(Vector<Integer> v,VectorMask<Integer> m) Divides this vector by a second input vector under the control of a mask.finalVectorMask
<Integer> Tests if this vector is equal to another input vector.abstractIntVector
IntVector.expand
(VectorMask<Integer> m) Expands the lane elements of this vector under the control of a specific mask.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset) Loads a vector from an array of typeint[]
starting at an offset.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typeint[]
, using indexes obtained by adding a fixedoffset
to a series of secondary offsets from anindex map.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Integer> m) Gathers a new vector composed of elements from an array of typeint[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from anindex map.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Integer> m) Gathers a new vector composed of elements from an array of typeint[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from anindex map.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset,VectorMask<Integer> m) Loads a vector from an array of typeint[]
starting at an offset and using a mask.staticIntVector
IntVector.fromArray
(VectorSpecies<Integer> species, int[] a, int offset,VectorMask<Integer> m) Loads a vector from an array of typeint[]
starting at an offset and using a mask.staticIntVector
IntVector.fromMemorySegment
(VectorSpecies<Integer> species,MemorySegment ms, long offset,ByteOrder bo) Loads a vector from amemory segment starting at an offset into the memory segment.staticIntVector
IntVector.fromMemorySegment
(VectorSpecies<Integer> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Integer> m) Loads a vector from amemory segment starting at an offset into the memory segment and using a mask.staticIntVector
IntVector.fromMemorySegment
(VectorSpecies<Integer> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Integer> m) Loads a vector from amemory segment starting at an offset into the memory segment and using a mask.final void
IntVector.intoArray
(int[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Integer> m) Scatters this vector into an array of typeint[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from anindex map.final void
IntVector.intoArray
(int[] a, int offset,VectorMask<Integer> m) Stores this vector into an array of typeint[]
starting at offset and using a mask.final void
IntVector.intoMemorySegment
(MemorySegment ms, long offset,ByteOrder bo,VectorMask<Integer> m) Stores this vector into amemory segment starting at an offset using explicit byte order and a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Binary op, int e,VectorMask<Integer> m) Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Binary op, long e,VectorMask<Integer> m) Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.abstractIntVector
IntVector.lanewise
(VectorOperators.Binary op,Vector<Integer> v) Combines the corresponding lane values of this vector with those of a second input vector.abstractIntVector
IntVector.lanewise
(VectorOperators.Binary op,Vector<Integer> v,VectorMask<Integer> m) Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.abstractIntVector
IntVector.lanewise
(VectorOperators.Binary op,Vector<Integer> v,VectorMask<Integer> m) Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op, int e1, int e2,VectorMask<Integer> m) Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op, int e1,Vector<Integer> v2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op, int e1,Vector<Integer> v2,VectorMask<Integer> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op, int e1,Vector<Integer> v2,VectorMask<Integer> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op,Vector<Integer> v1, int e2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op,Vector<Integer> v1, int e2,VectorMask<Integer> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.finalIntVector
IntVector.lanewise
(VectorOperators.Ternary op,Vector<Integer> v1, int e2,VectorMask<Integer> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.abstractIntVector
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.abstractIntVector
IntVector.lanewise
(VectorOperators.Ternary op,Vector<Integer> v1,Vector<Integer> v2,VectorMask<Integer> m) Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.abstractIntVector
IntVector.lanewise
(VectorOperators.Ternary op,Vector<Integer> v1,Vector<Integer> v2,VectorMask<Integer> m) Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.abstractIntVector
IntVector.lanewise
(VectorOperators.Unary op,VectorMask<Integer> m) Operates on the lane values of this vector, with selection of lane elements controlled by a mask.finalVectorMask
<Integer> Tests if this vector is less than another input vector.finalIntVector
Computes the larger of this vector and a second input vector.finalIntVector
Computes the smaller of this vector and a second input vector.finalIntVector
IntVector.mul
(int e,VectorMask<Integer> m) Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.finalIntVector
Multiplies this vector by a second input vector.finalIntVector
IntVector.mul
(Vector<Integer> v,VectorMask<Integer> m) Multiplies this vector by a second input vector under the control of a mask.finalIntVector
IntVector.mul
(Vector<Integer> v,VectorMask<Integer> m) Multiplies this vector by a second input vector under the control of a mask.finalIntVector
Computes the bitwise logical disjunction (|
) of this vector and a second input vector.abstractIntVector
IntVector.rearrange
(VectorShuffle<Integer> shuffle) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstractIntVector
IntVector.rearrange
(VectorShuffle<Integer> s,Vector<Integer> v) Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstractIntVector
IntVector.rearrange
(VectorShuffle<Integer> s,Vector<Integer> v) Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstractIntVector
IntVector.rearrange
(VectorShuffle<Integer> s,VectorMask<Integer> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstractIntVector
IntVector.rearrange
(VectorShuffle<Integer> s,VectorMask<Integer> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstract int
IntVector.reduceLanes
(VectorOperators.Associative op,VectorMask<Integer> m) Returns a value accumulated from selected lanes of this vector, controlled by a mask.abstractIntVector
IntVector.selectFrom
(Vector<Integer> v) Using index values stored in the lanes of this vector, assemble values stored in second vectorv
.abstractIntVector
IntVector.selectFrom
(Vector<Integer> v1,Vector<Integer> v2) Using values stored in the lanes of this vector, assemble values stored in the second vectorv1
and third vectorv2
.abstractIntVector
IntVector.selectFrom
(Vector<Integer> s,VectorMask<Integer> m) Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstractIntVector
IntVector.selectFrom
(Vector<Integer> s,VectorMask<Integer> m) Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstractIntVector
Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.finalIntVector
IntVector.slice
(int origin,Vector<Integer> w,VectorMask<Integer> m) Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.finalIntVector
IntVector.slice
(int origin,Vector<Integer> w,VectorMask<Integer> m) Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.finalIntVector
IntVector.sub
(int e,VectorMask<Integer> m) Subtracts an input scalar from this vector under the control of a mask.finalIntVector
Subtracts a second input vector from this vector.finalIntVector
IntVector.sub
(Vector<Integer> v,VectorMask<Integer> m) Subtracts a second input vector from this vector under the control of a mask.finalIntVector
IntVector.sub
(Vector<Integer> v,VectorMask<Integer> m) Subtracts a second input vector from this vector under the control of a mask.abstractVectorMask
<Integer> IntVector.test
(VectorOperators.Test op,VectorMask<Integer> m) Test selected lanes of this vector, according to the given operation.abstractIntVector
Reverses aslice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.abstractIntVector
IntVector.unslice
(int origin,Vector<Integer> w, int part,VectorMask<Integer> m) Reverses aslice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.abstractIntVector
IntVector.unslice
(int origin,Vector<Integer> w, int part,VectorMask<Integer> m) Reverses aslice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.staticIntVector
IntVector.zero
(VectorSpecies<Integer> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.Uses ofInteger injdk.jshell
Method parameters injdk.jshell with type arguments of typeIntegerModifier and TypeMethodDescriptionJShell.Builder.idGenerator
(BiFunction<Snippet, Integer, String> generator) Sets the generator of identifying names for Snippets.Uses ofInteger injdk.net
Modifier and TypeFieldDescriptionstatic finalSocketOption
<Integer> ExtendedSocketOptions.SO_INCOMING_NAPI_ID
Identifies the receive queue that the last incoming packet for the socket was received on.static finalSocketOption
<Integer> ExtendedSocketOptions.TCP_KEEPCOUNT
Keep-Alive retransmission maximum limit.static finalSocketOption
<Integer> ExtendedSocketOptions.TCP_KEEPIDLE
Keep-Alive idle time.static finalSocketOption
<Integer> ExtendedSocketOptions.TCP_KEEPINTERVAL
Keep-Alive retransmission interval time.