All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squarespace.cldrengine.internal.Vector3Arrow Maven / Gradle / Ivy

The newest version!
package com.squarespace.cldrengine.internal;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

public class Vector3Arrow extends VectorArrowImpl {

  @SuppressWarnings("unchecked")
  public Vector3Arrow(int offset, KeyIndex index1, KeyIndex index2, KeyIndex index3) {
    super(offset, Arrays.asList(
        (KeyIndex)index1,
        (KeyIndex)index2,
        (KeyIndex)index3));
  }

  public String get(PrimitiveBundle bundle, T key1, S key2, U key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T[] key1, S key2, U key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T[] key1, S[] key2, U key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T[] key1, S[] key2, U[] key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T[] key1, S key2, U[] key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T key1, S[] key2, U[] key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  public String get(PrimitiveBundle bundle, T key1, S key2, U[] key3) {
    return this.get(bundle, new Object[] { key1, key2, key3 });
  }

  @SuppressWarnings("unchecked")
  public Map>> mapping(PrimitiveBundle bundle) {
    return this.exists(bundle) ? (Map>>)this._mapping(bundle, 0, 0) : new HashMap<>();
  }
}