lang

package
v0.0.0-...-50a86a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Export reflect.Type
View Source
var (
	SBoolean staticBoolean
)
View Source
var (
	SByte staticByte
)
View Source
var (
	SCharacter staticCharacter
)
View Source
var (
	SClass staticClass
)
View Source
var (
	SDouble staticDouble
)
View Source
var (
	SFloat staticFloat
)
View Source
var (
	SInteger staticInteger
)
View Source
var (
	SLong staticLong
)
View Source
var (
	SObject staticObject
)
View Source
var (
	SShort staticShort
)
View Source
var (
	SString staticString
)
View Source
var (
	SVoid staticVoid
)

Functions

func ArrayOf

func ArrayOf(val any) java.IObject

func ClassFor

func ClassFor[T any]() java.IClass

func ClassResolve

func ClassResolve[T any](static StaticClass) java.IClass

func InstanceOf

func InstanceOf[T any](obj java.IObject) java.JBoolean

func SArray

func SArray[V comparable]() staticArray[V]

Types

type Boolean

type Boolean java.JBoolean

func (Boolean) BooleanValue

func (b Boolean) BooleanValue() java.JBoolean

func (Boolean) Equals

func (b Boolean) Equals(obj java.IObject) java.JBoolean

func (Boolean) GetClass

func (b Boolean) GetClass() java.IClass

func (Boolean) HashCode

func (b Boolean) HashCode() java.JInt

func (Boolean) ToString

func (b Boolean) ToString() java.IString

type Byte

type Byte java.JByte

func (Byte) ByteValue

func (b Byte) ByteValue() java.JByte

func (Byte) CompareTo

func (b Byte) CompareTo(another Byte) java.JInt

func (Byte) DoubleValue

func (b Byte) DoubleValue() java.JDouble

func (Byte) Equals

func (b Byte) Equals(obj java.IObject) java.JBoolean

func (Byte) FloatValue

func (b Byte) FloatValue() java.JFloat

func (Byte) GetClass

func (b Byte) GetClass() java.IClass

func (Byte) HashCode

func (b Byte) HashCode() java.JInt

func (Byte) IntValue

func (b Byte) IntValue() java.JInt

func (Byte) LongValue

func (b Byte) LongValue() java.JLong

func (Byte) ShortValue

func (b Byte) ShortValue() java.JShort

func (Byte) ToString

func (b Byte) ToString() java.IString

type CharSequence

type CharSequence interface {
	Length() java.JInt
	CharAt(java.JInt) java.JChar
	SubSequence(start, end java.JInt) CharSequence
}

type Character

type Character java.JChar

func (Character) CompareTo

func (c Character) CompareTo(another Character) java.JInt

func (Character) Equals

func (c Character) Equals(obj java.IObject) java.JBoolean

func (Character) GetClass

func (c Character) GetClass() java.IClass

func (Character) HashCode

func (c Character) HashCode() java.JInt

func (Character) ToString

func (c Character) ToString() java.IString

type Class

type Class struct {
	lang_reflect.Type
	lang_reflect.AnnotatedElement
	// contains filtered or unexported fields
}

func (*Class) Cast

func (cls *Class) Cast(obj java.IObject) java.IObject

func (*Class) ComponentType

func (cls *Class) ComponentType() java.IClass

func (*Class) DescriptorString

func (cls *Class) DescriptorString() java.IString

func (*Class) Equals

func (cls *Class) Equals(obj java.IObject) java.JBoolean

func (*Class) GetClass

func (cls *Class) GetClass() java.IClass

func (*Class) GetConstructor

func (cls *Class) GetConstructor(parameterTypes ...java.IClass) *lang_reflect.Constructor

func (*Class) GetDeclaredConstructor

func (cls *Class) GetDeclaredConstructor(parameterTypes ...java.IClass) *lang_reflect.Constructor

func (*Class) GetDeclaredField

func (cls *Class) GetDeclaredField(name java.IString) *lang_reflect.Field

func (*Class) GetDeclaredMethod

func (cls *Class) GetDeclaredMethod(name java.IString, parameterTypes ...java.IClass) *lang_reflect.Method

func (*Class) GetField

func (cls *Class) GetField(name java.IString) *lang_reflect.Field

func (*Class) GetInterfaces

func (cls *Class) GetInterfaces() []java.IClass

func (*Class) GetMethod

func (cls *Class) GetMethod(name java.IString, parameterTypes ...java.IClass) *lang_reflect.Method

func (*Class) GetName

func (cls *Class) GetName() java.IString

func (*Class) GetSimpleName

func (cls *Class) GetSimpleName() java.IString

func (*Class) GetSuperclass

func (cls *Class) GetSuperclass() java.IClass

func (*Class) GetTypeName

func (cls *Class) GetTypeName() java.IString

func (*Class) HashCode

func (cls *Class) HashCode() java.JInt

func (*Class) IsArray

func (cls *Class) IsArray() java.JBoolean

func (*Class) IsAssignableFrom

func (cls *Class) IsAssignableFrom(clazz java.IClass) java.JBoolean

func (*Class) IsInstance

func (cls *Class) IsInstance(obj java.IObject) java.JBoolean

func (*Class) IsInterface

func (cls *Class) IsInterface() java.JBoolean

func (*Class) IsPrimitive

func (cls *Class) IsPrimitive() java.JBoolean

func (*Class) NewInstance

func (cls *Class) NewInstance() java.IObject

func (*Class) ToString

func (cls *Class) ToString() java.IString

type Cloneable

type Cloneable interface {
}

type Comparable

type Comparable[T java.IObject] interface {
	CompareTo(T) java.JInt
}

type Double

type Double java.JDouble

func (Double) ByteValue

func (d Double) ByteValue() java.JByte

func (Double) CompareTo

func (d Double) CompareTo(another Double) java.JInt

func (Double) DoubleValue

func (d Double) DoubleValue() java.JDouble

func (Double) Equals

func (d Double) Equals(obj java.IObject) java.JBoolean

func (Double) FloatValue

func (d Double) FloatValue() java.JFloat

func (Double) GetClass

func (d Double) GetClass() java.IClass

func (Double) HashCode

func (d Double) HashCode() java.JInt

func (Double) IntValue

func (d Double) IntValue() java.JInt

func (Double) LongValue

func (d Double) LongValue() java.JLong

func (Double) ShortValue

func (d Double) ShortValue() java.JShort

func (Double) ToString

func (d Double) ToString() java.IString

type Float

type Float java.JFloat

func (Float) ByteValue

func (f Float) ByteValue() java.JByte

func (Float) CompareTo

func (f Float) CompareTo(another Float) java.JInt

func (Float) DoubleValue

func (f Float) DoubleValue() java.JDouble

func (Float) Equals

func (f Float) Equals(obj java.IObject) java.JBoolean

func (Float) FloatValue

func (f Float) FloatValue() java.JFloat

func (Float) GetClass

func (f Float) GetClass() java.IClass

func (Float) HashCode

func (f Float) HashCode() java.JInt

func (Float) IntValue

func (f Float) IntValue() java.JInt

func (Float) LongValue

func (f Float) LongValue() java.JLong

func (Float) ShortValue

func (f Float) ShortValue() java.JShort

func (Float) ToString

func (f Float) ToString() java.IString

type INumber

type INumber interface {
	ByteValue() java.JByte
	ShortValue() java.JShort
	IntValue() java.JInt
	LongValue() java.JLong
	FloatValue() java.JFloat
	DoubleValue() java.JDouble
}

type Integer

type Integer java.JInt

func (Integer) ByteValue

func (i Integer) ByteValue() java.JByte

func (Integer) CompareTo

func (i Integer) CompareTo(another Integer) java.JInt

func (Integer) DoubleValue

func (i Integer) DoubleValue() java.JDouble

func (Integer) Equals

func (i Integer) Equals(obj java.IObject) java.JBoolean

func (Integer) FloatValue

func (i Integer) FloatValue() java.JFloat

func (Integer) GetClass

func (i Integer) GetClass() java.IClass

func (Integer) HashCode

func (i Integer) HashCode() java.JInt

func (Integer) IntValue

func (i Integer) IntValue() java.JInt

func (Integer) LongValue

func (i Integer) LongValue() java.JLong

func (Integer) ShortValue

func (i Integer) ShortValue() java.JShort

func (Integer) ToString

func (i Integer) ToString() java.IString

type Long

type Long java.JLong

func (Long) ByteValue

func (l Long) ByteValue() java.JByte

func (Long) CompareTo

func (l Long) CompareTo(another Long) java.JInt

func (Long) DoubleValue

func (l Long) DoubleValue() java.JDouble

func (Long) Equals

func (l Long) Equals(obj java.IObject) java.JBoolean

func (Long) FloatValue

func (l Long) FloatValue() java.JFloat

func (Long) GetClass

func (l Long) GetClass() java.IClass

func (Long) HashCode

func (l Long) HashCode() java.JInt

func (Long) IntValue

func (l Long) IntValue() java.JInt

func (Long) LongValue

func (l Long) LongValue() java.JLong

func (Long) ShortValue

func (l Long) ShortValue() java.JShort

func (Long) ToString

func (l Long) ToString() java.IString

type Number

type Number struct {
	Object
	io.Serializable
}

func (*Number) ByteValue

func (num *Number) ByteValue() java.JByte

func (*Number) DoubleValue

func (num *Number) DoubleValue() java.JDouble

func (*Number) FloatValue

func (num *Number) FloatValue() java.JFloat

func (*Number) IntValue

func (num *Number) IntValue() java.JInt

func (*Number) LongValue

func (num *Number) LongValue() java.JLong

func (*Number) ShortValue

func (num *Number) ShortValue() java.JShort

type Object

type Object struct {
	// contains filtered or unexported fields
}

func (*Object) Clone

func (obj *Object) Clone() java.JObject

func (*Object) Equals

func (obj *Object) Equals(o java.IObject) java.JBoolean

func (*Object) GetClass

func (obj *Object) GetClass() java.IClass

func (*Object) HashCode

func (obj *Object) HashCode() java.JInt

func (*Object) ToString

func (obj *Object) ToString() java.IString

type Short

type Short java.JShort

func (Short) ByteValue

func (s Short) ByteValue() java.JByte

func (Short) CompareTo

func (s Short) CompareTo(another Short) java.JInt

func (Short) DoubleValue

func (s Short) DoubleValue() java.JDouble

func (Short) Equals

func (s Short) Equals(obj java.IObject) java.JBoolean

func (Short) FloatValue

func (s Short) FloatValue() java.JFloat

func (Short) GetClass

func (s Short) GetClass() java.IClass

func (Short) HashCode

func (s Short) HashCode() java.JInt

func (Short) IntValue

func (s Short) IntValue() java.JInt

func (Short) LongValue

func (s Short) LongValue() java.JLong

func (Short) ShortValue

func (s Short) ShortValue() java.JShort

func (Short) ToString

func (s Short) ToString() java.IString

type StaticClass

type StaticClass interface {
	Class() java.IClass
}

type String

type String string

func (String) CharAt

func (str String) CharAt(index java.JInt) java.JChar

func (String) CompareTo

func (str String) CompareTo(another java.IString) java.JInt

func (String) Equals

func (str String) Equals(obj java.IObject) java.JBoolean

func (String) GetBytes

func (str String) GetBytes() []java.JByte

func (String) GetClass

func (str String) GetClass() java.IClass

func (String) HashCode

func (str String) HashCode() java.JInt

func (String) Length

func (str String) Length() java.JInt

func (String) String

func (str String) String() string

func (String) SubSequence

func (str String) SubSequence(start, end java.JInt) CharSequence

func (String) Substring

func (str String) Substring(beginIndex, endIndex java.JInt) java.IString

func (String) ToCharArray

func (str String) ToCharArray() []java.JChar

func (String) ToString

func (str String) ToString() java.IString

type UncommonType

type UncommonType struct {
	PkgPath uint32
	Mcount  uint16
	Xcount  uint16
	Moff    uint32
	// contains filtered or unexported fields
}

type Void

type Void struct {
	Object
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL