public Set<K> keySet() { Set<K> ks = keySet; return (ks != null ? ks : (keySet = new KeySet())); }
/** * Creates a key set containing a single range. See {@link KeyRange} for details of how to specify * ranges. */ public static KeySet range(KeyRange range) { return new KeySet(false, ImmutableList.<Key>of(), ImmutableList.of(range)); }
/** * Creates a key set containing a single key. {@code key} should contain exactly as many elements * as there are columns in the primary or index key with this this key set is used. */ public static KeySet singleKey(Key key) { return new KeySet(false, ImmutableList.of(key), ImmutableList.<KeyRange>of()); }
/** Creates a key set that will retrieve all rows of a table or index. */ public static KeySet all() { return new KeySet(true, ImmutableList.<Key>of(), ImmutableList.<KeyRange>of()); }
public KeySet build() { return new KeySet( all, keys != null ? keys.build() : ImmutableList.<Key>of(), ranges != null ? ranges.build() : ImmutableList.<KeyRange>of()); } }
// In HashMap.java, line 867, JDK 1.6.0.24, how much more // constant time do we want? public Set<K> keySet() { Set<K> ks = keySet; return (ks != null ? ks : (keySet = new KeySet())); }
public Set<K> keySet() { Set<K> ks; return (ks = keySet) == null ? (keySet = new KeySet()) : ks; }
public Set<K> [More ...] keySet() { Set<K> ks = keySet; return (ks != null ? ks : (keySet = new KeySet())); }
public Set<K> keySet() { Set<K> ks = keySet; return (ks != null ? ks : (keySet = new KeySet())); }
public Set<K> keySet() { return (keySet == null ? (keySet = new KeySet()) : keySet; }
public Set<K> keySet() { if (keySet == null) keySet = Collections.synchronizedSet(new KeySet(), this); return keySet; }
/** * Creates a key set containing a single key. {@code key} should contain exactly as many elements * as there are columns in the primary or index key with this this key set is used. */ public static KeySet singleKey(Key key) { return new KeySet(false, ImmutableList.of(key), ImmutableList.<KeyRange>of()); }
/** * Creates a key set containing a single range. See {@link KeyRange} for details of how to specify * ranges. */ public static KeySet range(KeyRange range) { return new KeySet(false, ImmutableList.<Key>of(), ImmutableList.of(range)); }
/** Creates a key set that will retrieve all rows of a table or index. */ public static KeySet all() { return new KeySet(true, ImmutableList.<Key>of(), ImmutableList.<KeyRange>of()); }
public KeySet build() { return new KeySet( all, keys != null ? keys.build() : ImmutableList.<Key>of(), ranges != null ? ranges.build() : ImmutableList.<KeyRange>of()); } }
public Set<K> keySet() { return navigableKeySet(); } public NavigableSet<K> navigableKeySet() { KeySet<K> nks = navigableKeySet; return (nks != null) ? nks : (navigableKeySet = new KeySet(this)); }
880 public Set<K> keySet() { 881 Set<K> ks = keySet; 882 return (ks != null ? ks : (keySet = new KeySet())); 883 } 916 public Collection<V> values() { 917 Collection<V> vs = values; 918 return (vs != null ? vs : (values = new Values())); 919 }
KeySet scKeys = new KeySet(); scKeys.MacKey = new Key("404142434445464748494a4b4c4d4e4f"); scKeys.EncKey = new Key("404142434445464748494a4b4c4d4e4f");