Package com.google.ortools.sat
Interface CpSolverSolutionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CpSolverSolution,CpSolverSolution.Builder
public interface CpSolverSolutionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetValues(int index)repeated int64 values = 1;intgetValuesCount()repeated int64 values = 1;java.util.List<java.lang.Long>getValuesList()repeated int64 values = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValuesList
java.util.List<java.lang.Long> getValuesList()
repeated int64 values = 1;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
repeated int64 values = 1;- Returns:
- The count of values.
-
getValues
long getValues(int index)
repeated int64 values = 1;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
-