public static class BitFieldSubCommands.BitFieldSet extends BitFieldSubCommands.AbstractBitFieldSubCommand
SET
sub command used with BitFieldSubCommands
.Constructor and Description |
---|
BitFieldSet() |
Modifier and Type | Method and Description |
---|---|
static BitFieldSubCommands.BitFieldSet |
create(BitFieldSubCommands.BitFieldType type,
BitFieldSubCommands.Offset offset,
long value)
Creates a new
BitFieldSubCommands.BitFieldSet . |
boolean |
equals(Object o) |
String |
getCommand()
The actual sub command
|
long |
getValue()
Get the value to set.
|
int |
hashCode() |
String |
toString() |
getOffset, getType
public static BitFieldSubCommands.BitFieldSet create(BitFieldSubCommands.BitFieldType type, BitFieldSubCommands.Offset offset, long value)
BitFieldSubCommands.BitFieldSet
.type
- must not be null.offset
- must not be null.value
- must not be null.public String getCommand()
BitFieldSubCommands.BitFieldSubCommand
public long getValue()
public boolean equals(@Nullable Object o)
equals
in class BitFieldSubCommands.AbstractBitFieldSubCommand
public int hashCode()
hashCode
in class BitFieldSubCommands.AbstractBitFieldSubCommand
public String toString()
toString
in class BitFieldSubCommands.AbstractBitFieldSubCommand
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.