package com.airbnb.lottie.model.animatable; import com.airbnb.lottie.value.Keyframe; import java.util.Arrays; import java.util.Collections; import java.util.List; /* loaded from: classes.dex */ abstract class BaseAnimatableValue implements AnimatableValue { final List> keyframes; /* JADX INFO: Access modifiers changed from: package-private */ public BaseAnimatableValue(V v) { this(Collections.singletonList(new Keyframe(v))); } /* JADX INFO: Access modifiers changed from: package-private */ public BaseAnimatableValue(List> list) { this.keyframes = list; } @Override // com.airbnb.lottie.model.animatable.AnimatableValue public boolean isStatic() { if (this.keyframes.isEmpty()) { return true; } return this.keyframes.size() == 1 && this.keyframes.get(0).isStatic(); } public String toString() { StringBuilder sb = new StringBuilder(); if (!this.keyframes.isEmpty()) { sb.append("values="); sb.append(Arrays.toString(this.keyframes.toArray())); } return sb.toString(); } @Override // com.airbnb.lottie.model.animatable.AnimatableValue public List> getKeyframes() { return this.keyframes; } }