About: Primitive wrapper class in Java     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : owl:Thing, within Data Space : dbpedia.demo.openlinksw.com associated with source document(s)
QRcode icon
http://dbpedia.demo.openlinksw.com/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FPrimitive_wrapper_class_in_Java&invfp=IFP_OFF&sas=SAME_AS_OFF

In object-oriented programming, a wrapper class is a class that encapsulates types, so that those types can be used to create object instances and methods in another class that need those types. So a primitive wrapper class is a wrapper class that encapsulates, hides or wraps data types from the eight primitive data types, so that these can be used to create instantiated objects with methods in another class or in other classes. The primitive wrapper classes are found in the Java API. The primitive wrapper classes and their corresponding primitive types are:

AttributesValues
rdfs:label
  • Wrapper-Klasse (de)
  • プリミティブラッパークラス (ja)
  • Primitive wrapper class in Java (en)
  • Classe empacotadora (pt)
rdfs:comment
  • Eine Wrapper-Klasse ist eine gemäß dem Entwurfsmuster eines Adapters erzeugte Klasse, die meist die in gewissen objektorientierten Sprachen verwendeten primitiven Typen umhüllt. Auf diese Weise werden auch für diese Typen grundsätzlich alle objektorientierten Eigenschaften wie Überladung, Ableitung etc. ermöglicht. Beispiele für Wrapper-Klassen sind die sogenannten primitiven Wrapper-Klassen, wo dann die gemäß diesem Typ angelegte Variable alle Eigenschaften von den Elternklassen erbt. Als Beispiel hier die Grundwrapperklassen für Java: (de)
  • In object-oriented programming, a wrapper class is a class that encapsulates types, so that those types can be used to create object instances and methods in another class that need those types. So a primitive wrapper class is a wrapper class that encapsulates, hides or wraps data types from the eight primitive data types, so that these can be used to create instantiated objects with methods in another class or in other classes. The primitive wrapper classes are found in the Java API. The primitive wrapper classes and their corresponding primitive types are: (en)
  • プリミティブラッパークラス (英: primitive wrapper class) とは、Javaにおける、プリミティブ型をラップする<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/package-summary.html">java.lang</a> パッケージが提供する8つのクラスのこと。プリミティブラッパークラスは不変であり、オブジェクト指向のメソッドを提供する。 プリミティブ型の値からラッパーオブジェクトに変換することを「ボックス化」(ボクシング)、ラッパーオブジェクトからプリミティブ型の値に変換することを「ボックス化解除」(アンボクシング)と呼ぶ。 Java SE 5.0からは、ラッパーオブジェクトとプリミティブ型の値との間の暗黙の変換機能として、プリミティブ型の値からラッパーオブジェクトに暗黙変換できる「自動ボックス化」(オートボクシング)と、ラッパーオブジェクトからプリミティブ型の値に暗黙変換できる「自動ボックス化解除」(オートアンボクシング)が導入された。 プリミティブラッパークラスとそれらに相当するプリミティブ型: (ja)
  • Uma classe empacotadora, em inglês wrapper class, na linguagem de programação Java é uma das oito classes fornecidas no java.lang para fornecer métodos de objeto para os oito tipos primitivos. Todas as classes wrapper em Java são imutáveis. J2SE 5.0 introduziu o conceito de de tipos primitivos em seus objetos wrapper, e desempacotamento automático dos objetos wrapper em seus valores primitivos - a conversão implícita entre os objetos wrapper e valores primitivos. As classes empacotadoras: * Boolean * Byte * Character * Double * Float * Integer * Long * Short (pt)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • Eine Wrapper-Klasse ist eine gemäß dem Entwurfsmuster eines Adapters erzeugte Klasse, die meist die in gewissen objektorientierten Sprachen verwendeten primitiven Typen umhüllt. Auf diese Weise werden auch für diese Typen grundsätzlich alle objektorientierten Eigenschaften wie Überladung, Ableitung etc. ermöglicht. Beispiele für Wrapper-Klassen sind die sogenannten primitiven Wrapper-Klassen, wo dann die gemäß diesem Typ angelegte Variable alle Eigenschaften von den Elternklassen erbt. Als Beispiel hier die Grundwrapperklassen für Java: Die Byte, Short, Integer, Long, Float, und Double-Wrapperklassen sind alle von der Number-Klasse abgeleitet. Für den Nichtstyp void existiert die Wrapper-Klasse Void. (de)
  • In object-oriented programming, a wrapper class is a class that encapsulates types, so that those types can be used to create object instances and methods in another class that need those types. So a primitive wrapper class is a wrapper class that encapsulates, hides or wraps data types from the eight primitive data types, so that these can be used to create instantiated objects with methods in another class or in other classes. The primitive wrapper classes are found in the Java API. Primitive wrapper classes are used to create an <a rel="nofollow" class="external text" href="https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/Object.html">Object</a> that needs to represent primitive types in <a rel="nofollow" class="external text" href="https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/Collection.html">Collection</a> classes (i.e., in the Java API), in the <a rel="nofollow" class="external text" href="https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/package-summary.html">java.util</a> package and in the <a rel="nofollow" class="external text" href="https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/reflect/package-summary.html">java.lang.reflect</a> reflection package. Collection classes are Java API-defined classes that can store objects in a manner similar to how data structures like arrays store primitive data types like int, double, long or char, etc., but arrays store primitive data types while collections actually store objects. The primitive wrapper classes and their corresponding primitive types are: (en)
  • プリミティブラッパークラス (英: primitive wrapper class) とは、Javaにおける、プリミティブ型をラップする<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/package-summary.html">java.lang</a> パッケージが提供する8つのクラスのこと。プリミティブラッパークラスは不変であり、オブジェクト指向のメソッドを提供する。 Javaにおけるプリミティブ型はオブジェクト型ではなく、そのままではオブジェクトとして扱うことができない。プリミティブラッパークラスはプリミティブ型の値に対応した<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Object.html">Object</a>が必要なときにそれを表すものとして使われている。ラッパークラスは<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/util/package-summary.html">java.util</a>パッケージにある<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/util/Collection.html">Collection</a>クラス群、<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/reflect/package-summary.html">java.lang.reflect</a>パッケージにあるリフレクション用クラス群とともに広く使われている。 プリミティブ型の値からラッパーオブジェクトに変換することを「ボックス化」(ボクシング)、ラッパーオブジェクトからプリミティブ型の値に変換することを「ボックス化解除」(アンボクシング)と呼ぶ。 Java SE 5.0からは、ラッパーオブジェクトとプリミティブ型の値との間の暗黙の変換機能として、プリミティブ型の値からラッパーオブジェクトに暗黙変換できる「自動ボックス化」(オートボクシング)と、ラッパーオブジェクトからプリミティブ型の値に暗黙変換できる「自動ボックス化解除」(オートアンボクシング)が導入された。 プリミティブラッパークラスとそれらに相当するプリミティブ型: ラッパークラスByte, Short, Integer, Long, Float, Double はすべて<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Number.html">Number</a>のサブクラスである。 Javaには組み込みの符号無し整数型は存在しないが、プリミティブラッパークラスには、ビット列を符号無し整数とみなして扱うためのメソッドがいくつか用意されている(<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Integer.html#compareUnsigned-int-int-">Integer.compareUnsigned(int, int)</a>と<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Long.html#compareUnsigned-long-long-">Long.compareUnsigned(long, long)</a>はJava 8以降、<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Byte.html#compareUnsigned-byte-byte-">Byte.compareUnsigned(byte, byte)</a>と<a rel="nofollow" class="external text" href="https://docs.oracle.com/javase/jp/9/docs/api/java/lang/Short.html#compareUnsigned-short-short-">Short.compareUnsigned(short, short)</a>はJava 9以降)。 (ja)
  • Uma classe empacotadora, em inglês wrapper class, na linguagem de programação Java é uma das oito classes fornecidas no java.lang para fornecer métodos de objeto para os oito tipos primitivos. Todas as classes wrapper em Java são imutáveis. J2SE 5.0 introduziu o conceito de de tipos primitivos em seus objetos wrapper, e desempacotamento automático dos objetos wrapper em seus valores primitivos - a conversão implícita entre os objetos wrapper e valores primitivos. As classes empacotadoras: * Boolean * Byte * Character * Double * Float * Integer * Long * Short As classes empacotadoras (wrapper) e seus tipos primitivos correspondentes são: (pt)
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage redirect of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (378 GB total memory, 60 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software