Java Code Examples for kodkod.util.ints.Ints#unmodifiableSequence()
The following examples show how to use
kodkod.util.ints.Ints#unmodifiableSequence() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Instance.java From org.alloytools.alloy with Apache License 2.0 | 2 votes |
/** * Returns a sparse sequence view of int<:this.tuples. The returned sequence is * unmodifiable. * * @return a sparse sequence view of int<:this.tuples. */ public SparseSequence<TupleSet> intTuples() { return Ints.unmodifiableSequence(ints); }
Example 2
Source File: Instance.java From org.alloytools.alloy with Apache License 2.0 | 2 votes |
/** * Returns an unmodifiable view of this instance. * * @return an unmodifiable view of this instance. */ public Instance unmodifiableView() { return new Instance(universe, Collections.unmodifiableMap(tuples), Ints.unmodifiableSequence(ints)); }
Example 3
Source File: Instance.java From kodkod with MIT License | 2 votes |
/** * Returns a sparse sequence view of int<:this.tuples. The returned sequence is unmodifiable. * @return a sparse sequence view of int<:this.tuples. */ public SparseSequence<TupleSet> intTuples() { return Ints.unmodifiableSequence(ints); }
Example 4
Source File: Instance.java From kodkod with MIT License | 2 votes |
/** * Returns an unmodifiable view of this instance. * @return an unmodifiable view of this instance. */ public Instance unmodifiableView() { return new Instance(universe, Collections.unmodifiableMap(tuples), Ints.unmodifiableSequence(ints)); }