IKVM11
11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
SetExtensions.cs
Go to the documentation of this file.
1
using
System.Collections.Generic;
2
3
namespace
java.util
4
{
5
6
public
static
class
SetExtensions
7
{
8
15
public
static
ISet<T>
AsSet<T>
(
this
Set
set
) =>
set
switch
16
{
17
ISet<T> i => i,
18
TreeSet i =>
new
TreeSetWrapper<T>
(i),
19
Set i =>
new
SetWrapper<T>
(i),
20
};
21
22
}
23
24
}
java.util.SetExtensions
Definition
SetExtensions.cs:7
java.util.SetExtensions.AsSet< T >
static ISet< T > AsSet< T >(this Set set)
Returns a ISet<T> that wraps the specified Set.
java.util.SetWrapper
Definition
SetWrapper.cs:9
java.util.TreeSetWrapper
Definition
TreeSetWrapper.cs:8
java.util
Definition
CollectionExtensions.cs:4
src
IKVM.Java.Extensions
java
util
SetExtensions.cs
Generated by
1.12.0