MCPcopy Create free account
hub / github.com/ReadyTalk/avian / tryToCast

Method tryToCast

classpath/java/util/EnumSet.java:110–114  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

108 }
109
110 @SuppressWarnings("unchecked")
111 private T tryToCast(Object object) throws ClassCastException {
112 //We want the class cast exception if we can't convert.
113 return (T) object;
114 }
115
116 private class EnumSetIterator implements Iterator<T> {
117 private int currentIndex = 0;

Callers 2

removeMethod · 0.95
containsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected