text
stringlengths
3.08k
15.2k
package android.lorenwang.customview.viewpager; import android.content.Context; import android.lorenwang.tools.base.AtlwLogUtil; import android.util.AttributeSet; import android.view.MotionEvent; import java.util.HashMap; import java.util.Map; import androidx.annotation.NonNull; import androidx.annotation.Nullable; ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/******************************************************************************* * Copyright (c) 2013-2017 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanying m...
//I worked on this with <NAME> import java.util.Scanner; import java.util.Random; import java.io.File; import java.io.PrintWriter; /** * An adventure in the world of Pokemon * @author <NAME> * @version 1.0.0.0 */ public class Adventure { /** A String array of all the Pokemon the user can encounter */ private ...
/* * The MIT License * * Copyright 2018 Onshape Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
package com.newsblur.widget; import android.app.AlertDialog; import android.app.PendingIntent; import android.appwidget.AppWidgetManager; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.annot...
package com.jdc.ishop.model.service.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.LinkedHashMap;...
package sarong.discouraged; import sarong.RandomnessSource; import sarong.util.StringKit; import java.io.Serializable; /** * Variant on OrbitRNG; a little slower than the default RNGs but with a long period of 2 to the 128 and very high * quality. * <br> * Created by <NAME> on 4/12/2019. */ public final class D...
package atlas.baccalculator; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.EditText; import android.widget.NumberPi...
package com.smartlogic.classificationserver.client; import static java.util.Collections.sort; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotEquals; import static org.testng.Assert.assertTrue; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator...
package com.example.android.popularmovies.data; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.example.android.popularmovies.data.MovieContract.*; /* * Database helper for the local movies database */ class Movie...
package cn.pf.aaronp.ui; import android.content.Context; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.util.TypedValue; import android.view.MotionEvent; import android.view.View; import android.widget.LinearLayout; import android.widget.Scroller; /** * 向左滑动...
package com.example.android.booklistingapp; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.supp...
/* Copyright 2017 Zutubi Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
package com.demo; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.*; import org.apache.hadoop.hdfs.DistributedFileSystem; import org.apache.hadoop.hdfs.protocol.DatanodeInfo; import org.apache.hadoop.io.IOUtils; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; ...
package com.Voxce.model; import java.sql.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="study_payment") public class StudyPayment { private int study_payment_id; pr...
package de.ellpeck.prettypipes.pipe.containers; import com.mojang.blaze3d.matrix.MatrixStack; import de.ellpeck.prettypipes.PrettyPipes; import de.ellpeck.prettypipes.Registry; import de.ellpeck.prettypipes.items.IModule; import de.ellpeck.prettypipes.packets.PacketButton; import de.ellpeck.prettypipes.packets.PacketH...
package com.tinkergration; public class Test { public Test() { // TODO Auto-generated constructor stub } // // private enum Position { // BlockX, BlockY, BlockZ, // ChunkX, ChunkY, ChunkZ, // RegionX, RegionY, RegionZ // } // // private int[] positions = new int[Position.values().length]; int blockX, bloc...
package com.ttlove.widget; import com.android.ttlove.ttlovelibs.R; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Rect; import android.graphics...
/******************************************************************************* * BSD License * * Copyright (c) 2017, AT&T Intellectual Property. All other rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that th...
package com.cnews.guji.smart.common.net; import android.content.Context; import android.support.annotation.NonNull; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.io.IOException; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.sec...
/* * Copyright (c) 2019-2020. Nitrite author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package cn.bluedot.framemarker.parse; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.io.SAXReader; import cn.bluedot....
package at.ccri.varan; import java.io.File; import java.io.IOException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.broad.igv.ui.IGV; import at.ccri.varan.ui.UndoHandler; ...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2015-2019 52°North Initiative for Geospatial Open Source * Software GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
/* KVM-based Discoverable Cloudlet (KD-Cloudlet) Copyright (c) 2015 Carnegie Mellon University. All Rights Reserved. THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, IN...
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.ptc.octo.twx.xsltransform; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSo...
package ca.ualberta.cmput301w18.jdorn_subbook; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.TextView; import java.io.IOException; import java.util.Locale; /** * Main 'view' screen of the a...
package psquiza.controladores; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.HashMap; import java.util.LinkedHashMap; import psquiza.entidades.Atividade; import psquiza.entidades.Objeti...
/* * * Copyright 2013 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
package com.navngo.igo.javaclient.voice_recognition; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app....
package emissary.util; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import emissary.core.IBaseDataObject; import emissary.util.xml.JDOMUtil; import org.jdom2.Document; import org.jdom2.Element; import org.sl...
/******************************************************************************* * Copyright (c) 2013 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
// Copyright 2020 Intel Corporation // SPDX-License-Identifier: Apache 2.0 package org.fidoalliance.fdo.protocol.ondie; import java.io.File; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URL; import java.net...
package com.icebuf.jetpackex.sample.util; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.text.TextUtils; import android.util.Log; import androidx.annotation.NonNull; import java.lan...
package de.swingtest.gui; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java....
package burlap.behavior.stochasticgames.madynamicprogramming.policies; import burlap.behavior.policy.EnumerablePolicy; import burlap.behavior.policy.PolicyUtils; import burlap.behavior.policy.support.ActionProb; import burlap.behavior.stochasticgames.JointPolicy; import burlap.behavior.stochasticgames.agents.maql.Mult...
/* * Copyright 2021 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.apache.archiva.web.startup; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
/** * Copyright (c) 2016, <NAME> and other Contributors. * All rights reserved. * * This program and the accompanying materials are made available * under the terms of the BSD 3-Clause licence which accompanies * this distribution, and is available at * http://opensource.org/licenses/BSD-3-Clause */ packa...
/* * Copyright (c) 1998-2018 <NAME> and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.grib; import ucar.nc2.time.CalendarDate; import ucar.nc2.time.CalendarPeriod; import ucar.unidata.util.StringUtil2; /** * General Utilities used b...
package com.mongodb.solomo.model; import android.location.Location; import android.os.Parcel; import android.os.Parcelable; import org.bson.Document; import org.bson.types.ObjectId; import java.util.ArrayList; /** * A restaurant object */ public class Restaurant implements Parcelable { private ObjectId mId; ...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package examples; import com.testfabrik.webmate.javasdk.*; import com.testfabrik.webmate.javasdk.browsersession.*; import com.testfabrik.webmate.javasdk.selenium.WebmateSeleniumSession; import com.testfabrik.webmate.javasdk.testmgmt.*; import com.testfabrik.webmate.javasdk.testmgmt.spec.StoryCheckSpec; import org.juni...
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
package com.dc.echo.core; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.dc.echo.config.LoggerName; import com.dc.echo.config.NettyConfig; import com.dc.echo.utils.EchoCoreUtils; import io.netty.boot...
package plugin.google.maps; import android.location.Address; import android.location.Geocoder; import android.os.Bundle; import com.google.android.gms.maps.model.LatLngBounds; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.ap...
/* * Copyright 2014 - 2017 Cognizant Technology Solutions * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package unidue.ub.counterretrieval.sushi; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.batch.core.JobExecution; import org.springframework.batch.core.StepExecution; import org.springframework.batch.core.annotation.BeforeStep; import org.springframework.batch.core.configuration.an...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package org.broadinstitute.hellbender.engine; import com.google.common.annotations.VisibleForTesting; import htsjdk.samtools.util.Locatable; import htsjdk.samtools.util.OverlapDetector; import htsjdk.variant.variantcontext.VariantContext; import org.broadinstitute.barclay.argparser.Advanced; import org.broadinstitute....
package io.freefair.gradle.plugins.maven.javadoc; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import org.gradle.api.JavaVersion; import org.gradle.api.NonNullApi; import org.gradle.api.artifacts.Configuration; import org.gradle.api.artifacts.component.ModuleComponentIdentifier; import...
/* * Copyright 2009-2016 European Molecular Biology Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.editor.Document; import com.intellij.openapi.project.Project; import com.int...
import commands.invocation.CommandInvoker; import panic.ExitCodes; import panic.Panicker; import parsing.Constants; import cosmetics.Clantag; import cosmetics.Static; import discord4j.common.util.Snowflake; import discord4j.core.DiscordClient; import discord4j.core.GatewayDiscordClient; import discord4j.core.event.do...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/** * * Process Editor * * (C) 2009, 2010 inubit AG * (C) 2014 the authors * */ package com.inubit.research.server.meta; import com.inubit.research.server.ProcessEditorServerUtils; import com.inubit.research.server.request.XMLHelper; import com.inubit.research.server.user.LoginableUser; import java.text.SimpleD...
/* GROOVE: GRaphs for Object Oriented VErification * Copyright 2003--2011 University of Twente * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENS...
import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.io.PrintWriter; import java.nio.IntBuffer; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import jav...
/* * Copyright 2021 <NAME> (<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.thinkgem.jeesite.modules.charge.utils; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Map; import com.thinkgem.jeesite.modules.sys.utils.UserUtils; /** * 数字转换为汉语中人民币的大写 */ public class ChargePrint { /** * 汉语中数字大写 */ priv...
// Openbravo POS is a point of sales application designed for touch screens. // Copyright (C) 2007-2009 Openbravo, S.L. // http://www.openbravo.com/product/pos // // This file is part of Openbravo POS. // // Openbravo POS is free software: you can redistribute it and/or modify // it under the terms...
package com.duck8823.service; import com.duck8823.context.twitter.QueryFactory; import com.duck8823.model.twitter.FilterRepository; import com.duck8823.model.twitter.Filters; import com.duck8823.model.twitter.Tweet; import com.duck8823.util.ImageUtil; import lombok.extern.log4j.Log4j; import org.springframework.beans....
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain ...
package cz.ilasek.namedentities.builder; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.u...
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package com.hazelcast.topic; import com.hazelcast.config.Config; import com.hazelcast.config.TopicConfig; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.ITopic; import com.hazelcast.core.Message; import com.hazelcast.core.MessageListener; import com.hazelcast.test.AssertTask; import com.hazelca...
/** * LineBox.java * Copyright (c) 2005-2007 <NAME> * * CSSBox is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * CS...
/* * Copyright (c) 2012-2018 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
package seng202.team4.model.database; import seng202.team4.model.data.Activity; import seng202.team4.model.data.DataRow; import seng202.team4.model.data.Goal; import seng202.team4.model.data.Profile; import seng202.team4.model.data.enums.ActivityType; import seng202.team4.model.data.enums.GoalType; import seng202.team...
/** * Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ pac...
/* * * TOM - To One Matching Compiler * * Copyright (c) 2000-2017, Universite de Lorraine, Inria * Nancy, France. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 o...
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright 2014 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.refactoring.introduce.inplace; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup.LookupElementBuilder; import com....
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
package sy.service.base.impl; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import sy.dao.base....
package com.borderlessdesignsga.matrix; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.util.Log; import java.util.Arrays; /** * Created by Wes on 9/11/2014. */ public class CarrierWave { //Use AudioTrack to create left and right channel squ...
package vg.civcraft.mc.namelayer.gui; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.logging.Level; import java.util.stream.Collectors; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inve...
package net.gudenau.minecraft.redstoneplus.mixin; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.gudenau.minecraft.redstoneplus.api.IColoredRedstone; import net.minecraft.block.*; import net.minecraft.block.enums.WireConnection; import net.minecraft.particle.DustParticleEffect; import...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Copyright (C) 2017-2018 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * Copyright (C) 2012 <NAME>, greenrobot (http://greenrobot.de) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/** * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use t...
/* Copyright (c) 2008-2013, <NAME> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. There is NO WARRANTY for this software. See license.txt f...
package net.minecraft.tags; import net.minecraft.core.Registry; import net.minecraft.world.item.Item; public final class ItemTags { protected static final StaticTagHelper<Item> HELPER = StaticTags.create(Registry.ITEM_REGISTRY, "tags/items"); public static final Tag.Named<Item> WOOL = bind("wool"); public st...
/* Copyright 2011-2015 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
/* * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * ...