congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
UUID
Code IndexAdd Tabnine to your IDE (free)

How to use
UUID
in
com.netflix.imfutility.cpl.uuid

Best Java code snippets using com.netflix.imfutility.cpl.uuid.UUID (Showing top 7 results out of 315)

origin: DSRCorporation/imf-conversion

public static UUID create(String uuid) {
  return new UUID(uuid);
}
origin: DSRCorporation/imf-conversion

@Override
public boolean equals(Object o) {
  if (this == o) {
    return true;
  }
  if (o == null || getClass() != o.getClass()) {
    return false;
  }
  if (!super.equals(o)) {
    return false;
  }
  ResourceUUID that = (ResourceUUID) o;
  return repeat == that.repeat;
}
origin: DSRCorporation/imf-conversion

  @Override
  public int hashCode() {
    int result = super.hashCode();
    result = 31 * result + (int) (repeat ^ (repeat >>> 32));
    return result;
  }
}
origin: DSRCorporation/imf-conversion

UUID trackId = UUID.create(trackFileResource.getTrackFileId());
String assetPath = assetMap.getAsset(trackId);
if (assetPath == null) {
    ResourceContextParameters.TRACK_FILE_ID, trackId.getUuid());
origin: DSRCorporation/imf-conversion

UUID uuid = UUID.create(asset.getId());
      uuid.toString(), assetMapFile.getAbsolutePath()));
} else {
  throw new ConversionException(String.format(
      "'%s' must point to an existing file: '%s'", uuid.toString(), assetPath));
origin: DSRCorporation/imf-conversion

@Test
public void testParseCorrectConfig() throws Exception {
  AssetMap assetMap = new AssetMapParser().parse(ImpUtils.getImpFolder(), ImpUtils.getCorrectAssetmap());
  // the values as in ASSETMAP.xml
  // assetMap must contain full paths!
  assertEquals(ImpUtils.getAbsolutePath("Chimera50_FTR_C_EN_XG-NR_20_4K_20150622_OV_Audio.mxf"),
      assetMap.getAsset(UUID.create("urn:uuid:559452f0-9b31-4df7-a9c0-6b16d43bd8b0")));
  assertEquals(ImpUtils.getAbsolutePath("Chimera50_FTR_C_EN_XG-NR_20_4K_20150622_OV_Audio_2.mxf"),
      assetMap.getAsset(UUID.create("urn:uuid:559452f0-9b31-4df7-a9c0-6b16d43bd8b1")));
  assertEquals(ImpUtils.getAbsolutePath("Chimera50_FTR_C_EN_XG-NR_20_4K_20150622_OV.mxf"),
      assetMap.getAsset(UUID.create("urn:uuid:6a64f1c5-629d-43be-befc-bebafed2e946")));
  assertEquals(ImpUtils.getAbsolutePath("Chimera50_FTR_C_EN_XG-NR_20_4K_20150622_OV_2.mxf"),
      assetMap.getAsset(UUID.create("urn:uuid:6a64f1c5-629d-43be-befc-bebafed2e947")));
  assertEquals(ImpUtils.getAbsolutePath("CPL.xml"),
      assetMap.getAsset(UUID.create("urn:uuid:6f548f17-48c5-452a-94ea-9bb58c6c5b5b")));
  assertEquals(ImpUtils.getAbsolutePath("PKL.xml"),
      assetMap.getAsset(UUID.create("urn:uuid:805f2969-0356-4e70-88a0-8d9f724681d7")));
}
origin: DSRCorporation/imf-conversion

UUID trackId = UUID.create(trackFileResource.getTrackFileId());
String assetPath = assetMap.getAsset(trackId);
if (assetPath == null) {
    ResourceContextParameters.TRACK_FILE_ID, trackId.getUuid());
com.netflix.imfutility.cpl.uuidUUID

Javadoc

Base UUI representation.

Most used methods

  • create
  • <init>
  • equals
  • getUuid
  • hashCode
  • toString

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now