public static enum Sampler.CompressionMethod extends Enum<Sampler.CompressionMethod>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Enum Constant and Description |
---|
NONE
No compression.
|
OMIT_DUPLICATE_INFO
Duplicate info per trajectory is only stored at the first sample, and empty for other samples.
|
ZIP
Zip compression.
|
Modifier and Type | Method and Description |
---|---|
static Sampler.CompressionMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sampler.CompressionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sampler.CompressionMethod NONE
public static final Sampler.CompressionMethod OMIT_DUPLICATE_INFO
public static final Sampler.CompressionMethod ZIP
public static Sampler.CompressionMethod[] values()
for (Sampler.CompressionMethod c : Sampler.CompressionMethod.values()) System.out.println(c);
public static Sampler.CompressionMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2019 Delft University of Technology. All rights reserved.