java_util

package
v1.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 2

README

UUID-info

  1. explain dubbo-go-hessian2 strut UUID
  • JavaServer -> create UUID -> GO Client -> UUID struct (PASS)
  • dubbo-go-hessian2 cannot create UUID strut
  • see jdk source code of class:[java.util.UUID] learning how to create UUID struct
  • see https://github.com/satori/go.uuid

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID struct {
	MostSigBits  int64 `hessian:"mostSigBits"`
	LeastSigBits int64 `hessian:"leastSigBits"`
}

java.util.UUID

func (UUID) JavaClassName

func (UUID) JavaClassName() string

func (UUID) String

func (uuid UUID) String() string

String returns a string object representing this UUID. The UUID string representation is as described by this BNF:

UUID = <time_low> "-" <time_mid> "-"

<time_high_and_version> "-"
<variant_and_sequence> "-"
<node>

time_low = 4*<hexOctet> time_mid = 2*<hexOctet> time_high_and_version = 2*<hexOctet> variant_and_sequence = 2*<hexOctet> node = 6*<hexOctet> hexOctet = <hexDigit><hexDigit> hexDigit =

"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
| "a" | "b" | "c" | "d" | "e" | "f"
| "A" | "B" | "C" | "D" | "E" | "F"

Returns: A string representation of this UUID

Jump to

Keyboard shortcuts

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