Uses of Class
java.lang.Integer
Packages that use Integer
Package
Description
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 define
Java Scripting Engines and provides
a 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.-
Uses of Integer in java.awt.font
Fields in java.awt.font declared as IntegerModifier and TypeFieldDescriptionstatic final IntegerTextAttribute.KERNING_ONRequest standard kerning.static final IntegerTextAttribute.LIGATURES_ONRequest standard optional ligatures.static final IntegerTextAttribute.SUPERSCRIPT_SUBStandard subscript.static final IntegerTextAttribute.SUPERSCRIPT_SUPERStandard superscript.static final IntegerTextAttribute.UNDERLINE_LOW_DASHEDSingle pixel dashed low underline.static final IntegerTextAttribute.UNDERLINE_LOW_DOTTEDSingle pixel dotted low underline.static final IntegerTextAttribute.UNDERLINE_LOW_GRAYDouble pixel gray low underline.static final IntegerTextAttribute.UNDERLINE_LOW_ONE_PIXELSingle pixel solid low underline.static final IntegerTextAttribute.UNDERLINE_LOW_TWO_PIXELDouble pixel solid low underline.static final IntegerTextAttribute.UNDERLINE_ONStandard underline. -
Uses of Integer in java.lang
Modifier and TypeClassDescriptionfinal classModifier and TypeFieldDescriptionInteger.TYPETheClassinstance representing the primitive typeint.Modifier and TypeMethodDescriptionstatic IntegerDecodes aStringinto anInteger.static IntegerInteger.getInteger(String nm) Determines the integer value of the system property with the specified name.static IntegerInteger.getInteger(String nm, int val) Determines the integer value of the system property with the specified name.static IntegerInteger.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.static IntegerInteger.valueOf(int i) Returns anIntegerinstance representing the specifiedintvalue.static IntegerReturns anIntegerobject holding the value of the specifiedString.static IntegerReturns anIntegerobject holding the value extracted from the specifiedStringwhen parsed with the radix given by the second argument.Modifier and TypeMethodDescriptionRuntime.Version.build()Returns the build number.Integer.describeConstable()Returns anOptionalcontaining the nominal descriptor for this instance, which is the instance itself.Runtime.Version.version()Returns an unmodifiableListof the integers represented in the version number. -
Uses of Integer in java.lang.classfile
Methods in java.lang.classfile that return IntegerModifier and TypeMethodDescriptiondefault IntegerAnnotationValue.OfInt.resolvedValue()Returns the resolved int value. -
Uses of Integer in java.lang.classfile.instruction
Methods in java.lang.classfile.instruction that return IntegerModifier and TypeMethodDescriptionConstantInstruction.ArgumentConstantInstruction.constantValue() -
Uses of Integer in java.net
Modifier and TypeFieldDescriptionstatic final SocketOption<Integer> StandardSocketOptions.IP_MULTICAST_TTLThe time-to-live for Internet Protocol (IP) multicast datagrams.static final SocketOption<Integer> StandardSocketOptions.IP_TOSThe Type of Service (ToS) octet in the Internet Protocol (IP) header.static final SocketOption<Integer> StandardSocketOptions.SO_LINGERLinger on close if data is present.static final SocketOption<Integer> StandardSocketOptions.SO_RCVBUFThe size of the socket receive buffer.static final SocketOption<Integer> StandardSocketOptions.SO_SNDBUFThe size of the socket send buffer. -
Uses of Integer in java.nio.channels
Methods in java.nio.channels that return types with arguments of type IntegerModifier 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 in java.nio.channels with type arguments of type IntegerModifier and TypeMethodDescription<A> voidAsynchronousByteChannel.read(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) Reads a sequence of bytes from this channel into the given buffer.abstract <A> voidAsynchronousFileChannel.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> voidAsynchronousSocketChannel.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> voidAsynchronousSocketChannel.read(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) <A> voidAsynchronousByteChannel.write(ByteBuffer src, A attachment, CompletionHandler<Integer, ? super A> handler) Writes a sequence of bytes to this channel from the given buffer.abstract <A> voidAsynchronousFileChannel.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> voidAsynchronousSocketChannel.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> voidAsynchronousSocketChannel.write(ByteBuffer src, A attachment, CompletionHandler<Integer, ? super A> handler) -
Uses of Integer in java.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 of Integer in java.util
Modifier and TypeInterfaceDescriptionstatic interfaceAn Iterator specialized forintvalues.static interfaceA Spliterator specialized forintvalues.Modifier and TypeMethodDescriptiondefault IntegerPrimitiveIterator.OfInt.next()Returns the next element in the iteration.Modifier and TypeMethodDescriptionCalendar.getDisplayNames(int field, int style, Locale locale) Returns aMapcontaining all names of the calendarfieldin the givenstyleandlocaleand their corresponding field values.Modifier and TypeMethodDescriptiondefault voidPrimitiveIterator.OfInt.forEachRemaining(Consumer<? super Integer> action) Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default voidSpliterator.OfInt.forEachRemaining(Consumer<? super Integer> 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 booleanSpliterator.OfInt.tryAdvance(Consumer<? super Integer> action) If a remaining element exists: performs the given action on it, returningtrue; else returnsfalse. -
Uses of Integer in java.util.regex
Methods in java.util.regex that return types with arguments of type IntegerModifier 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 of Integer in java.util.spi
Methods in java.util.spi that return types with arguments of type IntegerModifier and TypeMethodDescriptionCalendarNameProvider.getDisplayNames(String calendarType, int field, int style, Locale locale) Returns aMapcontaining all string representations (display names) of theCalendarfieldin the givenstyleandlocaleand their corresponding field values. -
Uses of Integer in java.util.stream
Subinterfaces with type arguments of type Integer in java.util.streamModifier and TypeInterfaceDescriptioninterfaceA sequence of primitive int-valued elements supporting sequential and parallel aggregate operations.Methods in java.util.stream that return types with arguments of type IntegerModifier and TypeMethodDescriptionIntStream.boxed()Returns aStreamconsisting of the elements of this stream, each boxed to anInteger.Collectors.summingInt(ToIntFunction<? super T> mapper) Returns aCollectorthat produces the sum of an integer-valued function applied to the input elements. -
Uses of Integer in javax.imageio.plugins.tiff
Methods in javax.imageio.plugins.tiff that return types with arguments of type IntegerModifier and TypeMethodDescriptionTIFFTagSet.getTagNumbers()Retrieves an unmodifiable numerically increasing set of tag numbers. -
Uses of Integer in javax.management
Methods in javax.management that return IntegerModifier 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 of Integer in javax.management.openmbean
Fields in javax.management.openmbean with type parameters of type IntegerModifier and TypeFieldDescriptionstatic final SimpleType<Integer> SimpleType.INTEGERTheSimpleTypeinstance describing values whose Java class name isjava.lang.Integer. -
Uses of Integer in javax.management.relation
Methods in javax.management.relation that return IntegerModifier 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 of Integer in javax.management.remote
Methods in javax.management.remote that return IntegerModifier and TypeMethodDescriptionTargetedNotification.getListenerID()The ID of the listener to which the notification is targeted.Constructors in javax.management.remote with parameters of type IntegerModifierConstructorDescriptionTargetedNotification(Notification notification, Integer listenerID) Constructs aTargetedNotificationobject. -
Uses of Integer in javax.management.remote.rmi
Methods in javax.management.remote.rmi that return IntegerModifier 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 in javax.management.remote.rmi with parameters of type IntegerModifier and TypeMethodDescriptionvoidRMIConnection.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject) voidRMIConnectionImpl_Stub.removeNotificationListeners(ObjectName $param_ObjectName_1, Integer[] $param_arrayOf_Integer_2, Subject $param_Subject_3) voidRMIConnectionImpl.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject) -
Uses of Integer in javax.management.timer
Methods in javax.management.timer that return IntegerModifier and TypeMethodDescriptionTimer.addNotification(String type, String message, Object userData, Date date) Creates a new timer notification with the specifiedtype,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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,messageanduserDataand 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 in javax.management.timer that return types with arguments of type IntegerModifier 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 in javax.management.timer with parameters of type IntegerModifier 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 at fixed-delay or at fixed-rate.TimerMBean.getFixedRate(Integer id) Gets a copy of the flag indicating whether a periodic notification is executed at fixed-delay or at fixed-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.voidTimer.removeNotification(Integer id) Removes the timer notification corresponding to the specified identifier from the list of notifications.voidTimerMBean.removeNotification(Integer id) Removes the timer notification corresponding to the specified identifier from the list of notifications.Constructors in javax.management.timer with parameters of type IntegerModifierConstructorDescriptionTimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id) Creates a timer notification object. -
Uses of Integer in javax.script
Methods in javax.script that return types with arguments of type Integer -
Uses of Integer in javax.swing
Fields in javax.swing declared as IntegerModifier and TypeFieldDescriptionstatic final IntegerJLayeredPane.DEFAULT_LAYERConvenience object defining the Default layer.static final IntegerJLayeredPane.DRAG_LAYERConvenience object defining the Drag layer.static final IntegerJLayeredPane.FRAME_CONTENT_LAYERConvenience object defining the Frame Content layer.static final IntegerJLayeredPane.MODAL_LAYERConvenience object defining the Modal layer.static final IntegerJLayeredPane.PALETTE_LAYERConvenience object defining the Palette layer.static final IntegerJLayeredPane.POPUP_LAYERConvenience object defining the Popup layer.Methods in javax.swing that return IntegerModifier and TypeMethodDescriptionprotected IntegerJLayeredPane.getObjectForLayer(int layer) Returns the Integer object associated with a specified layer.Methods in javax.swing that return types with arguments of type IntegerModifier and TypeMethodDescriptionJSlider.createStandardLabels(int increment) Creates aHashtableof numerical text labels, starting at the slider minimum, and using the increment specified.JSlider.createStandardLabels(int increment, int start) Creates aHashtableof 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 in javax.swing with parameters of type Integer -
Uses of Integer in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic that return IntegerModifier and TypeMethodDescriptionprotected IntegerBasicSliderUI.getHighestValue()Returns the biggest value that has an entry in the label table.protected IntegerBasicSliderUI.getLowestValue()Returns the smallest value that has an entry in the label table. -
Uses of Integer in javax.swing.table
Subclasses with type arguments of type Integer in javax.swing.tableModifier and TypeClassDescriptionclassTableRowSorter<M extends TableModel>An implementation ofRowSorterthat provides sorting and filtering using aTableModel.