StackOverflow Questions for Tag: boxing

Dmitri
Dmitri

Reputation: 2972

Boxing a reference type (class)?

Score: 1

Views: 162

Answers: 0

Read More
rmin
rmin

Reputation: 1128

Tips for forcing the scala compiler to use specialized methods

Score: 5

Views: 42

Answers: 1

Read More
Doctor Coder
Doctor Coder

Reputation: 1061

C# 8 - using both nullable and non-nullable version of the type in the generic

Score: 1

Views: 64

Answers: 1

Read More
Dmitry
Dmitry

Reputation: 2158

java hashmap : enexpected behaviour for containsKey

Score: 2

Views: 45

Answers: 1

Read More
hamed n
hamed n

Reputation: 29

Upcasting and down-casting is also boxing and unboxing?

Score: 3

Views: 406

Answers: 1

Read More
palapapa
palapapa

Reputation: 949

Why does calling an unoverridden struct method require boxing?

Score: 4

Views: 91

Answers: 1

Read More
Jeff Sharp
Jeff Sharp

Reputation: 999

C# non-boxing conversion of generic enum to int?

Score: 78

Views: 28336

Answers: 11

Read More
Ravisha
Ravisha

Reputation: 3343

Does .Net typecast when an object is used in collection using generics?

Score: 0

Views: 303

Answers: 8

Read More
ZinSunrise
ZinSunrise

Reputation: 13

Why is there no extra memory allocation

Score: 1

Views: 119

Answers: 1

Read More
Aman Anas
Aman Anas

Reputation: 21

Does a default interface implementation on a struct introduce boxing?

Score: 2

Views: 32

Answers: 0

Read More
Pablo Fernandez
Pablo Fernandez

Reputation: 287390

How to convert int[] into List<Integer> in Java?

Score: 592

Views: 815508

Answers: 22

Read More
abdullah mohsin
abdullah mohsin

Reputation: 9

how do compilers refer unboxed types?

Score: 0

Views: 65

Answers: 1

Read More
EARTH H
EARTH H

Reputation: 67

In Kotlin kotest, boxing of number giving false for number less than 128

Score: 3

Views: 59

Answers: 1

Read More
Raheel Khan
Raheel Khan

Reputation: 14777

Comparing structs for equality without boxing

Score: 12

Views: 6903

Answers: 2

Read More
Santosh Bobade
Santosh Bobade

Reputation: 39

Why does Java to invoke Integer.intValue() whenever the ternary operator ends up in the else case?

Score: 2

Views: 65

Answers: 0

Read More
patvax
patvax

Reputation: 624

Using an interface implemented by a struct to not depend on concretions but to depend on abstractions (SOLID)

Score: 1

Views: 66

Answers: 0

Read More
Meister der Magie
Meister der Magie

Reputation: 163

Boxing allocation in Composite Formatting

Score: 0

Views: 83

Answers: 1

Read More
activity
activity

Reputation: 2733

Unboxing of 'map.get(key)' may produce 'NullPointerException'

Score: 7

Views: 5562

Answers: 2

Read More
patvax
patvax

Reputation: 624

Getting a pointer to a value type on the heap that updates when gc moves the value

Score: 0

Views: 45

Answers: 0

Read More
pencilCake
pencilCake

Reputation: 53223

Do boxing and unboxing have the same performance hit?

Score: 10

Views: 3572

Answers: 3

Read More
PreviousPage 1Next