Class KeyValue (2.33.0)

publicfinalclass KeyValueextendsValue<Key>

Inheritance

java.lang.Object > Value > KeyValue

Static Methods

newBuilder(Key key)

publicstaticKeyValue.BuildernewBuilder(Keykey)
Parameter
Name Description
key Key
Returns
Type Description
KeyValue.Builder

of(Key key)

publicstaticKeyValueof(Keykey)
Parameter
Name Description
key Key
Returns
Type Description
KeyValue

Constructors

KeyValue(Key key)

publicKeyValue(Keykey)
Parameter
Name Description
key Key

Methods

toBuilder()

publicKeyValue.BuildertoBuilder()
Returns
Type Description
KeyValue.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.