コード例 #1
0
ファイル: Frame.java プロジェクト: vmlaker/h2o
 /** Returns the first readable vector. */
 public Vec anyVec() {
   if (_col0 != null) return _col0;
   for (Vec v : vecs()) if (v.readable()) return (_col0 = v);
   return null;
 }
コード例 #2
0
ファイル: Frame.java プロジェクト: NidhiMehta/h2o
 /** Returns the first readable vector. */
 public Vec firstReadable() {
   if (_col0 != null) return _col0;
   for (Vec v : _vecs) if (v != null && v.readable()) return (_col0 = v);
   return null;
 }