alexandroid/decompiled/jadx/sources/com/fasterxml/jackson/databind/util/LinkedNode.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

41 lines
1 KiB
Java

package com.fasterxml.jackson.databind.util;
import com.here.time.Duration$$ExternalSyntheticBUOutline0;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes7.dex */
public final class LinkedNode<T> {
private LinkedNode<T> next;
private final T value;
public LinkedNode(T t, LinkedNode<T> linkedNode) {
this.value = t;
this.next = linkedNode;
}
public static <ST> boolean contains(LinkedNode<ST> linkedNode, ST st) {
while (linkedNode != null) {
if (linkedNode.value() == st) {
return true;
}
linkedNode = linkedNode.next();
}
return false;
}
public void linkNext(LinkedNode<T> linkedNode) {
if (this.next == null) {
this.next = linkedNode;
} else {
Duration$$ExternalSyntheticBUOutline0.m$1();
}
}
public LinkedNode<T> next() {
return this.next;
}
public T value() {
return this.value;
}
}