时间:2019-02-24 01:44:49

标签: html html5 pre

1 个答案:

答案 0 :(得分:1)

您可以将&lt;用于'<',并将&gt;用于'>'。

<h3 id="concat">Concat</h3>
    <p><a name="abcde"></a></p>
    <pre lang="java" class="prettyprint">
  
     class NeoEach {
    
       static {&lt;T, V, E&gt; void Each(int limit, Iterable<T> i, Asyncc.IEacher<T, E> m, Asyncc.IEachCallback<E> f)} {
    
         final CounterLimit c = new CounterLimit(limit);
         final ShortCircuit s = new ShortCircuit();
         final var iterator = i.iterator();
         RunEach(iterator, c, s, m, f);
         handleSameTickCall(s);
       }
    
     }
    </pre>
    
    <h3 id="series">Series</h3>
    <p><a name="abcde"></a></p>
    <pre lang="java" class="prettyprint">
    
     class NeoEach {
    
       static {&lt;T, V, E&gt;} void Each(int limit, Iterable<T> i, Asyncc.IEacher<T, E> m, Asyncc.IEachCallback<E> f) {
    
         final CounterLimit c = new CounterLimit(limit);
         final ShortCircuit s = new ShortCircuit();
         final var iterator = i.iterator();
         RunEach(iterator, c, s, m, f);
         handleSameTickCall(s);
       }
    
     }
    </pre>
    
    <h3 id="parallel">Parallel</h3>
    <p><a name="abcde"></a></p>
    <pre lang="java" class="prettyprint">
    
     class NeoEach {
    
       static &lt;T, V, E&gt; void Each(int limit, Iterable<T> i, Asyncc.IEacher<T, E> m, Asyncc.IEachCallback<E> f) {
    
         final CounterLimit c = new CounterLimit(limit);
         final ShortCircuit s = new ShortCircuit();
         final var iterator = i.iterator();
         RunEach(iterator, c, s, m, f);
         handleSameTickCall(s);
       }
    
     }
    </pre>