com.undefinedlabs.scope.deps.okio.Options Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scope-deps Show documentation
Show all versions of scope-deps Show documentation
Scope is a APM for tests to give engineering teams unprecedented visibility into their CI process to quickly
identify, troubleshoot and fix failed builds.
This artifact contains dependencies for Scope.
package com.undefinedlabs.scope.deps.okio;
import java.util.AbstractList;
import java.util.RandomAccess;
public final class Options extends AbstractList implements RandomAccess {
final ByteString[] byteStrings;
private Options(ByteString[] byteStrings) {
this.byteStrings = byteStrings;
}
public static Options of(ByteString... byteStrings) {
return new Options(byteStrings.clone()); // Defensive copy.
}
@Override public ByteString get(int i) {
return byteStrings[i];
}
@Override public int size() {
return byteStrings.length;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy