Sc2ApiSerializable<SC2APIProtocol.Sc2Api.LocalMap>
, java.io.Serializable
public final class LocalMap extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Sc2Api.LocalMap>
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.util.Optional<byte[]> |
getDataInBytes() |
|
java.util.Optional<java.nio.file.Path> |
getPath() |
|
int |
hashCode() |
|
static LocalMap |
of(byte[] localMapDataInBytes) |
|
static LocalMap |
of(java.nio.file.Path localMapPath) |
|
static LocalMap |
of(java.nio.file.Path localMapPath,
byte[] localMapDataInBytes) |
|
SC2APIProtocol.Sc2Api.LocalMap |
toSc2Api() |
|
java.lang.String |
toString() |
public static LocalMap of(java.nio.file.Path localMapPath, byte[] localMapDataInBytes)
public static LocalMap of(java.nio.file.Path localMapPath)
public static LocalMap of(byte[] localMapDataInBytes)
public SC2APIProtocol.Sc2Api.LocalMap toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Sc2Api.LocalMap>
public java.util.Optional<java.nio.file.Path> getPath()
public java.util.Optional<byte[]> getDataInBytes()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.